TABLE DETAIL REFERENCE: SalesLine
(USA VERSION)
FIELD NAME | TYPE | TYPENAME | LENGTH | QUERYABLE | UPDATEABLE | INSERTABLE | REQUIRED ON INSERT |
VALIDATE | RELATES TO |
---|---|---|---|---|---|---|---|---|---|
TxnID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
TimeCreated | 11 | TIMESTAMP | 16 | True | False | False | False | CCCC-MM-DDThh:mm:ssZ | |
TimeModified | 11 | TIMESTAMP | 16 | True | False | False | False | CCCC-MM-DDThh:mm:ssZ | |
EditSequence | 12 | VARCHAR | 16 | True | False | False | False | %s | |
TxnNumber | 4 | INTEGER | 4 | True | False | False | False | %11.0f | |
CustomerRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
CustomerRefFullName | 12 | VARCHAR | 209 | True | False | False | False | %s | Yes |
ClassRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
ClassRefFullName | 12 | VARCHAR | 159 | True | False | False | False | %s | Yes |
ARAccountRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
ARAccountRefFullName | 12 | VARCHAR | 159 | True | False | False | False | %s | Yes |
TemplateRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
TemplateRefFullName | 12 | VARCHAR | 159 | True | False | False | False | %s | Yes |
TxnDate | 9 | DATE | 6 | True | False | False | False | CCCC-MM-DD | |
TxnDateMacro | 12 | VARCHAR | 23 | True | False | False | False | All Today ThisWeek ThisWeekToDate ThisMonth ThisMonthToDate ThisCalendarQuarter ThisCalendarQuarterToDate ThisFiscalQuarter ThisFiscalQuarterToDate ThisCalendarYear ThisCalendarYearToDate ThisFiscalYear ThisFiscalYearToDate Yesterday LastWeek LastWeekToDate LastMonth LastMonthToDate LastCalendarQuarter LastCalendarQuarterToDate LastFiscalQuarter LastFiscalQuarterToDate LastCalendarYear LastCalendarYearToDate LastFiscalYear LastFiscalYearToDate NextWeek NextFourWeeks NextMonth NextCalendarQuarter NextCalendarYear NextFiscalQuarter NextFiscalYear | |
RefNumber | 12 | VARCHAR | 11 | True | False | False | False | %s | |
BillAddressAddr1 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressAddr2 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressAddr3 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressAddr4 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressAddr5 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressCity | 12 | VARCHAR | 31 | True | False | False | False | %s | |
BillAddressState | 12 | VARCHAR | 21 | True | False | False | False | %s | |
BillAddressProvince | 12 | VARCHAR | 21 | True | False | False | False | %s | |
BillAddressCounty | 12 | VARCHAR | 21 | True | False | False | False | %s | |
BillAddressPostalCode | 12 | VARCHAR | 13 | True | False | False | False | %s | |
BillAddressCountry | 12 | VARCHAR | 31 | True | False | False | False | %s | |
BillAddressNote | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressBlockAddr1 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressBlockAddr2 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressBlockAddr3 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressBlockAddr4 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
BillAddressBlockAddr5 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressAddr1 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressAddr2 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressAddr3 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressAddr4 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressAddr5 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressCity | 12 | VARCHAR | 31 | True | False | False | False | %s | |
ShipAddressState | 12 | VARCHAR | 21 | True | False | False | False | %s | |
ShipAddressProvince | 12 | VARCHAR | 21 | True | False | False | False | %s | |
ShipAddressCounty | 12 | VARCHAR | 21 | True | False | False | False | %s | |
ShipAddressPostalCode | 12 | VARCHAR | 13 | True | False | False | False | %s | |
ShipAddressCountry | 12 | VARCHAR | 31 | True | False | False | False | %s | |
ShipAddressNote | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressBlockAddr1 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressBlockAddr2 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressBlockAddr3 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressBlockAddr4 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
ShipAddressBlockAddr5 | 12 | VARCHAR | 41 | True | False | False | False | %s | |
IsPending | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
CheckNumber | 12 | VARCHAR | 25 | True | False | False | False | %s | |
PaymentMethodRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
PaymentMethodRefFullName | 12 | VARCHAR | 31 | True | False | False | False | %s | Yes |
IsFinanceCharge | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
PONumber | 12 | VARCHAR | 25 | True | False | False | False | %s | |
TermsRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
TermsRefFullName | 12 | VARCHAR | 31 | True | False | False | False | %s | Yes |
DueDate | 9 | DATE | 6 | True | False | False | False | CCCC-MM-DD | |
SalesRepRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
SalesRepRefFullName | 12 | VARCHAR | 5 | True | False | False | False | %s | Yes |
FOB | 12 | VARCHAR | 13 | True | False | False | False | %s | |
ShipDate | 9 | DATE | 6 | True | False | False | False | CCCC-MM-DD | |
ShipMethodRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
ShipMethodRefFullName | 12 | VARCHAR | 15 | True | False | False | False | %s | Yes |
Subtotal | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
ItemSalesTaxRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
ItemSalesTaxRefFullName | 12 | VARCHAR | 31 | True | False | False | False | %s | Yes |
SalesTaxPercentage | 3 | DECIMAL | 18 | True | False | False | False | %10.5f | |
SalesTaxTotal | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
AppliedAmount | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
BalanceRemaining | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
CurrencyRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
CurrencyRefFullName | 12 | VARCHAR | 159 | True | False | False | False | %s | Yes |
ExchangeRate | 3 | DECIMAL | 17 | True | False | False | False | %6.8f | |
CreditRemainingInHomeCurrency | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
BalanceRemainingInHomeCurrency | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
TotalAmountInHomeCurrency | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
Memo | 12 | VARCHAR | 4095 | True | False | False | False | %s | |
IsPaid | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
CustomerMsgRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
CustomerMsgRefFullName | 12 | VARCHAR | 101 | True | False | False | False | %s | Yes |
IsToBePrinted | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
IsToBeEmailed | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
IsTaxIncluded | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
CustomerSalesTaxCodeRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
CustomerSalesTaxCodeRefFullName | 12 | VARCHAR | 3 | True | False | False | False | %s | Yes |
CustomerTaxCodeRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
SuggestedDiscountAmount | 3 | DECIMAL | 17 | True | False | False | False | %10.2f | |
SuggestedDiscountDate | 9 | DATE | 6 | True | False | False | False | CCCC-MM-DD | |
DepositToAccountRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
DepositToAccountRefFullName | 12 | VARCHAR | 159 | True | False | False | False | %s | Yes |
CreditMemoLineGroupIsPrintItemsInGroup | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
Type | 12 | VARCHAR | 20 | True | False | False | False | %s | |
SalesLineType | 12 | VARCHAR | 11 | True | False | False | False | ItemType | |
SalesLineSeqNo | 4 | INTEGER | 4 | True | False | False | False | SeqNo | |
SalesLineGroupTxnLineID | 12 | VARCHAR | 36 | True | False | False | False | %s | |
SalesLineGroupItemGroupRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
SalesLineGroupItemGroupRefFullName | 12 | VARCHAR | 31 | True | False | False | False | %s | Yes |
SalesLineGroupDesc | 12 | VARCHAR | 4095 | True | False | False | False | %s | |
SalesLineGroupQuantity | 3 | DECIMAL | 18 | True | False | False | False | %10.5f | |
SalesLineGroupUnitOfMeasure | 12 | VARCHAR | 31 | True | False | False | False | %s | Yes |
SalesLineGroupIsPrintItemsInGroup | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
SalesLineGroupTotalAmount | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
SalesLineGroupSeqNo | 4 | INTEGER | 4 | True | False | False | False | SubSeqNo | |
SalesLineTxnLineID | 12 | VARCHAR | 36 | True | False | False | False | %s | |
SalesLineItemRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
SalesLineItemRefFullName | 12 | VARCHAR | 159 | True | False | False | False | %s | Yes |
SalesLineDesc | 12 | VARCHAR | 4095 | True | False | False | False | %s | |
SalesLineQuantity | 3 | DECIMAL | 18 | True | False | False | False | %10.5f | |
SalesLineUnitOfMeasure | 12 | VARCHAR | 31 | True | False | False | False | %s | Yes |
SalesLineOverrideUOMSetRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
SalesLineOverrideUOMSetRefFullName | 12 | VARCHAR | 3 | True | False | False | False | %s | Yes |
SalesLineRate | 3 | DECIMAL | 18 | True | False | False | False | %10.5f | |
SalesLineRatePercent | 3 | DECIMAL | 18 | True | False | False | False | %10.5f | |
SalesLineClassRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
SalesLineClassRefFullName | 12 | VARCHAR | 159 | True | False | False | False | %s | Yes |
SalesLineAmount | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
SalesLineServiceDate | 9 | DATE | 6 | True | False | False | False | CCCC-MM-DD | |
SalesLineSalesTaxCodeRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
SalesLineSalesTaxCodeRefFullName | 12 | VARCHAR | 3 | True | False | False | False | %s | Yes |
SalesLineTaxCodeRefListID | 12 | VARCHAR | 36 | True | False | False | False | %s | Yes |
SalesLineTaxCodeRefFullName | 12 | VARCHAR | 3 | True | False | False | False | %s | Yes |
CustomFieldSalesLineOther1 | 12 | VARCHAR | 29 | True | False | False | False | %s | |
CustomFieldSalesLineOther2 | 12 | VARCHAR | 29 | True | False | False | False | %s | |
Tax1Total | 3 | DECIMAL | 17 | True | False | False | False | %10.2f | |
Tax2Total | 3 | DECIMAL | 17 | True | False | False | False | %10.2f | |
AmountIncludesVAT | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
FQPrimaryKey | 12 | VARCHAR | 110 | True | False | False | False | FQPrimaryKey | |
FQTxnLinkKey | 12 | VARCHAR | 110 | True | False | False | False | FQPrimaryKey | |
CustomFieldShipAccount | 12 | VARCHAR | 30 | True | True | True | False | %s | |
CustomFieldShipMethod | 12 | VARCHAR | 30 | True | True | True | False | %s | |
CustomFieldShipVendor | 12 | VARCHAR | 30 | True | True | True | False | %s |