NameDescriptionTypeAdditional information
SalesOrderReference

The unique reference for this sales order. This should match the SalesOrderReference in the corresponding SalesOrderHeader.

string

Required

Max length: 8

StockCode

The stock code. This code must already exist in the SIMS database.

string

Required

Max length: 15

StockDescription

The stock item's description. The default stock item description is used if this is not specified.

string

Max length: 40

Quantity

The item quantity ordered in this sales order line.

decimal number

Required

FreeQuantity

The free quantity given. This value should be part of the total quantity ordered. (e.g. [Quantity = 2] and [FreeQuantity = 1] means that 2 items were ordered and 1 was given for free)

decimal number

N/A

UnitCode

The unit code used for the stock item sold/returned in this transaction line (e.g. BOX, PACK, EACH, etc). This code must already exist in the SIMS database.

string

Max length: 4

ItemOrder

A number determining the order of this line within the sales order.

integer

N/A

PackSize

The pack size for the specified item's unit. The default unit's pack size is 1.

decimal number

Required

PacksOrd

The number of packs ordered. Default unit's pack ord is 1.

decimal number

N/A

UnitPrice

The price per individual item. This is exclusive of VAT and is not discounted.

decimal number

N/A

DeliveryDate

The date when the items in this line are expected to be delivered to the client.

date

Required

VatCode

The VAT code used for this transaction line. The VAT code must already exist in the SIMS database.

string

Required

VatRate

The VAT rate % for the items in this line, if applicable. Ex. A vat rate of 18% is specified as 18

decimal number

N/A

VatAmount

The total VAT amount for this sales order line, if applicable.

decimal number

N/A

Discount

The discount rate applied, if applicable.

decimal number

N/A

DiscountAmount

The discount amount applied, if applicable.

decimal number

N/A

PettyDiscount

The petty discount amount applied, if applicable.

decimal number

N/A

NonInventoryCost

The cost of the stock card if it is non inventory.

decimal number

N/A

LocationCode

The location code from where the item(s) in this sales order line were ordered. This location code must already exist in the SIMS database.

string

Required

Max length: 8

Remarks

Any remarks applicable to this sales order line can be specified here.

string

Max length: 254