Name | Description | Type | Additional Information |
---|---|---|---|
SalesOrderLineItemGUID |
The globally unique identifier that represents this Sales Order LineItem record. Leave this property set to null to add a new line item |
globally unique identifier |
(Hexadecimal 8-4-4-4-12) |
LineItem |
Populate this value and leave SalesOrderLineItemGUID = null to use this value to find the Sales Order LineItem record in Agvance to update. Leave the SalesOrderLineItemGUID = null and set the value of this property to 0 to add a new line item |
integer |
Range: inclusive between 0 and 2147483647 |
DeleteLine |
Set to true to remove this line item from the sales order. The SalesOrderLineItemGUID or LineItem would then be required |
boolean |
Must be 0, 1, True, or False |
DeptId |
The Agvance ID for the Department in which the Product resides. Used in conjunction with the ProdId property to identify the Product for this line item. If populated, must exist the same for every split. Either DeptId and ProdId properties or ProductGuid property is required. If set, will be the value used on the Sales Order |
string |
Max length: 6 |
ProdId |
The Agvance ID for the Product. Used in conjunction with the DeptId property to identify the Product for this line item. If populated, must exist the same for every split. Either DeptId and ProdId properties or ProductGuid property is required. If set, will be the value used on the Sales Order |
string |
Max length: 10 |
ProductGuid |
The Agvance globally unique identifier for the Product. If populated, must exist the same for every split. Either DeptId and ProdId properties or ProductGuid property is required |
globally unique identifier |
(Hexadecimal 8-4-4-4-12) |
ProductDescription |
The override product description for this record. If set must exist the same for every split. If left blank or null, it will be set from Agvance |
string |
Max length: 50 |
Quantity |
The quanity of the Product. This is the total amount for the Sales Order, not for each customer. Must be set the same for every split. Must be expressed in the Product's inventory unit of measure |
decimal number |
Required |
Price |
The selling price per unit of the product for the customer on this split |
decimal number |
Required |
PriceLevel |
The product price level indication of what level the price was selected from. A price can be different from this setting without setting this to Quote. This does not change the price that is supplied, only an indication to the user of Agvance what level the price came from |
EnumPriceLevel |
Required |
SplitNum |
An indication of what split override was used for the SplitPercent. Must be set the same for every split. If omitted or set to zero, this property will be assigned based on the field selected, or set to 1 if no field is populated |
integer |
Required |
SplitPercent |
If more than one split record is provided, the split percentage that the current split is responsible for totaling to 100% across all splits. If only one split, this will default to 100% |
decimal number |
Required |
LotNumber |
The lot number for the current product. Must be set the same for every split |
string |
Max length: 30 |
CropCode |
The Agvance ID for the Crop on this product. Must be set the same for every split. If set, will be the value used on the Sales Order |
string |
Max length: 50 |
CropCodeGuid |
The Agvance globally unique identifier for the Crop on this product. Must be set the same for every split |
globally unique identifier |
(Hexadecimal 8-4-4-4-12) |
AllocationNumber |
The Agvance ID for the Sales Allocation Number for this line item. Must be set the same for every split |
integer |