Hi, I имеет следующий Кодего которое приносит список деталей от нашего class= " lineNumbers " >1 > | SELECT " class= " " codeSnippet851640 id= >= dbo.SorDetail.MLineShipDate (DATETIME, «00:00 2010-01-01: 00», 102)) И (НОВООБРАЩЕННЫЙ <= dbo.SorDetail.MLineShipDate (DATETIME,
«00:00 2010-02-01: 00», 102))
ГРУППА dbo.SorDetail.MPrice * dbo.SorDetail.MBackOrderQty/dbo.TblCurrency.SellExchangeRate, dbo.SorMaster.OrderStatus,
dbo.SorMaster.Customer + '' + dbo.ArCustomer.Name, dbo.SorDetail.MLineShipDate, dbo.SorDetail.SalesOrderLine, dbo.SorDetail.SalesOrder,
dbo.SorDetail.MBackOrderQty, dbo.SorDetail.SalesOrder, dbo.ArCustomer.Customer, dbo.SorCancelled.SalesOrder, dbo.SorCancelled.SalesOrderLine,
dbo.TblCurrency.SellExchangeRate
ИМЕЮЩ (<> «9» dbo.SorMaster.OrderStatus) И (ISNULL (dbo.SorCancelled.SalesOrder, «ОДОБРЕННОЕ ") = «ОДОБРЕНН ") И
(dbo.SorDetail.MPrice * dbo.SorDetail.MBackOrderQty/dbo.TblCurrency.SellExchangeRate > 0)
ЗАКАЗ Sor.Master.Customer
class= " ясное " >
There
The SorCancelled имеет следующий
схимы [TrnDate] [datetime] НЕ NULL, [TrnTime] [десятична дроби] (8, 0) НЕ NULL, NULL [SalesOrder] [чарса] (6) НЕ, [SalesOrderLine] [десятичная дробь] (4, 0) НЕ NULL, NULL [LineType] [чарс] (1), [CancelledValue] [десятичная дробь] (14, 2) NULL, NULL [причины] [чарса] (6), [клиент] [чарс] (7) NULL, NULL [продавца] [чарса] (3), NULL [ветви] [чарса] (2), NULL [оператора] [чарса] (6), NULL [DocumentType] [чарса] (1), NULL [зоны] [чарса] (2), NULL [UserField1] [чарса] (1), NULL [StockCode] [чарса] (30), NULL [описания] [чарса] (30), NULL [пакгауза] [чарса] (2), [OrderQty] [десятичная дробь] (10, 3) NULL,NULL [OrderUom] [чарса] (3), NULL [ProductClass] [чарса] (4), NULL [TaxCode] [чарса] (1), NULL table
The SorAdditions [фиксации времени] [фиксации времени] НУЛЕВЫЕ [TrnDate] [datetime] НЕ, [TrnTime] [десятичная дробь] (8, 0) НЕ NULL, NULL [SalesOrder] [чарса] (6) НЕ, [SalesOrderLine] [десятичная дробь] (4, 0) НЕ NULL, NULL [LineType] [чарс] (1), [LineValue] [десятичная дробь](14, 2) NULL, [CostValue] [десятичная дробь] (14, 2) NULL, NULL [ProductClass] [чарса] (4), NULL [клиента] [чарса] (7), NULL [ветви] [чарса] (2), NULL [DocumentType] [чарса] (1), NULL [продавца] [чарса] (3), NULL [зоны] [чарса] (2), NULL [TaxCode] [чарса] (1), NULL [GstCode] [чарса] (1), NULL [UserField1] [чарса] (1), [StockCode] [чарса] (30), NULL [описания] [чарса] (30), NULL [пакгауза] [чарса] (2), [OrderQty] [десятичная дробь] (10, 3) NULL, NULL [OrderUom] [чарса] (3), [цена] [десятичная дробь] (15, 5) NULL, NULL [PriceUom] [чарса] (3), [рабат] [десятичная дробь] (14, 2) NULL, [ShipQty] [десятичная дробь] (10, 3) NULL, NULL [CreditReason] [чарса] (6) , NULL [оператора] [чарса] (6),
Thanks [фиксации времени] [фиксации времени] НУЛЕВОЕ заранее
class=
|