SalesComponent
Description
A set of the common properties for a sales component. Each line of a sales document can have a set of sales components when the item on the sales line is a kit item.
Properties
Property | Type | Length | Default | Description |
|---|---|---|---|---|
Key | N/A | N/A | The sales component key object that uniquely identifies a sales component. | |
Quantity | N/A | 0 | The quantity of the sales component. | |
UnitCost | N/A | The default unit cost will be set based on the valuation method for the inventory item. If this cannot be calculated, the default will be 0. | The unit cost of the sales component. For sales order and sales invoice documents, the property can be set only for non-inventory items. For sales return documents, the property can always be set. | |
ItemDescription | string | 100 | Empty | The description of the sales component. |
IsNonInventory | boolean | N/A | False | Specifies whether the item on the sales component is an inventory item. True indicates it is not an inventory item. False indicates it is an inventory item. |
UofM | string | 8 | Empty | The unit of measure for the sales component. |
DeleteOnUpdate | boolean | N/A | False | Set this flag to True when calling the Update operation to remove the component line. |
ExtendedCost | N/A | Set to the value Quantity x UnitCost | The extended cost of the sales component. This property is read only. | |
CostOfSalesGLAccount | N/A | N/A | The GL account number key object that specifies the account to which cost of sales amounts for this sales component will be posted. This property is read-only. | |
DamagedGLAccountKey | N/A | N/A | The GL account number key object that specifies the account to which damaged goods costs for this sales component will be posted. This property is read-only. | |
InServiceGLAccountKey | N/A | N/A | The GL account number key object that specifies the account that will be updated when you enter a return document line and return some part of the total item quantity to the In Service quantity type. This property is read-only. | |
InUseGLAccountKey | N/A | N/A | The GL account number key object that specifies the account that will be updated when you enter a return document line and return some part of the total item quantity to the In Use quantity type. This property is read-only. | |
InventoryGLAccountKey | N/A | N/A | The GL account number key object that specifies the account to which inventory amounts for this sales component will be posted. This property is read-only. | |
DiscountGLAccountKey | N/A | N/A | The GL account number key object that specifies the account to which discount (markdown) amounts for this sales component will be posted. This property is read-only. | |
ReturnsGLAccountKey | N/A | N/A | The GL account number key object that specifies the account to which return amounts for this sales component will be posted. This property is read-only. | |
SalesGLAccountKey | N/A | N/A | The GL account number key object that specifies the account to which sales amounts for this sales component will be posted. This property is read-only. | |
WarehouseKey | N/A | If not provided, set based on the Default Warehouse Behavior option specified. | The warehouse key object that specifies identifies the warehouse (site) for a sales component. | |
ItemKey | N/A | N/A | The item key object that uniquely identifies the item on a sales component. |