-
Notifications
You must be signed in to change notification settings - Fork 2
OrderLine
Leandro Rowies edited this page Aug 18, 2022
·
8 revisions
Presentation of the OrderLine
data structure. OrderLine
belongs to an Order
.
OrderLine members
Name | Type | Description | Constraints |
---|---|---|---|
StockItemID | String | Get/Set the stock item used on the order line. |
|
StockItemDescription | String | Get/Set the description of the stock item used on the line. |
|
StockItemPrice | Decimal | Get/Set the price at which the stock item is being bought or sold on the current line.When the stock item price is recalculated, the actual price, net amount, tax amount and gross amount are recalculated |
|
ActualPrice | Decimal | Get the actual price of the item, i.e. the price once discounted. |
|
CreationDate | DateTime | Get the creation date of the line. |
|
DeliveredQuantity | Decimal | Get the quantity that was already delivered from the order line. |
|
DepartmentID | String | Get/Set the line department identifier. |
|
LocationID | String | Get/Set the location ID of by the stock item to be delivered in or out of. Can be obtain by calling GetStockItem |
|
SublocationID | String | Get/Set the sub-location ID of the stock item to be delivered in or out of. Can be obtain by calling GetStockItem |
|
DiscountRate | Decimal | Get/Set the line discount rate. This is used to calculate the actual price of an item on a line. |
|
InvoicedQuantity | Decimal | Get the quantity that was delivered and invoiced from the current order line. |
|
GLAccountCode | String | Get/Set the nominal account code used during the line posting to the transaction table. |
|
OpeningStockGLAccountCode | String | Get/Set the opening stock GL account code that will be used during the posting of the invoice to the transaction table. |
|
GrossAmount | Decimal | Get/Set the gross amount of the order line. |
|
NetAmount | Decimal | Get the net amount of the line. |
|
Notes | String | Get/Set the notes attached to the order. |
|
Notes2 | String | Get/Set the notes attached to the order. |
|
OrderID | Int32 | Get the reference of the order the line belongs to. | |
OrderItemID | Int32 | Get the unique identifier of the order line. | |
OrderedQuantity | Decimal | Get/Set the ordered quantity. |
|
QuoteItemID | Nullable Int32 |
Get the quote line unique identifier from which the current order line was created from, if the order was created by promoting a quote. | |
StockItemCost | Decimal | Get/Set the stock item cost: used for average costing calculation, cost of sales postings and margin analysis. |
|
TaxAmount | Decimal | Get/Set the tax amount used on the line. |
|
TaxCode | String | Get/Set the tax code used on the order line. |
|
TaxRate | Decimal | Get/Set the tax rate applied on the line. |
|