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

SalesComponentKey

N/A

N/A

The sales component key object that uniquely identifies a sales component.

Quantity

Quantity

N/A

0

The quantity of the sales component.

UnitCost

MoneyAmount

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

MoneyAmount

N/A

Set to the value Quantity x UnitCost

The extended cost of the sales component. This property is read only.

CostOfSalesGLAccount
Key

GLAccountNumberKey

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

GLAccountNumberKey

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

GLAccountNumberKey

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

GLAccountNumberKey

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

GLAccountNumberKey

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

GLAccountNumberKey

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

GLAccountNumberKey

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

GLAccountNumberKey

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

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

ItemKey

N/A

N/A

The item key object that uniquely identifies the item on a sales component.


Inherits from

BusinessObject


Documentation Feedback