TABLE DETAIL REFERENCE: Invoice
(Canada VERSION)
FIELD NAME | TYPE | TYPENAME | LENGTH | QUERYABLE | UPDATEABLE | INSERTABLE | REQUIRED ON INSERT |
VALIDATE | RELATES TO |
---|---|---|---|---|---|---|---|---|---|
TxnID | 12 | VARCHAR | 36 | True | False | False | False | %s | |
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 | True | True | True | %s | Yes |
CustomerRefFullName | 12 | VARCHAR | 209 | True | True | True | True | %s | Yes |
ClassRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
ClassRefFullName | 12 | VARCHAR | 159 | True | True | True | False | %s | Yes |
ARAccountRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
ARAccountRefFullName | 12 | VARCHAR | 159 | True | True | True | False | %s | Yes |
TemplateRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
TemplateRefFullName | 12 | VARCHAR | 159 | True | True | True | False | %s | Yes |
TxnDate | 9 | DATE | 6 | True | True | True | 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 | True | True | False | %s | |
BillAddressAddr1 | 12 | VARCHAR | 41 | True | True | True | False | %s | |
BillAddressAddr2 | 12 | VARCHAR | 41 | True | True | True | False | %s | |
BillAddressAddr3 | 12 | VARCHAR | 41 | True | True | True | False | %s | |
BillAddressAddr4 | 12 | VARCHAR | 41 | True | True | True | False | %s | |
BillAddressAddr5 | 12 | VARCHAR | 41 | True | True | True | False | %s | |
BillAddressCity | 12 | VARCHAR | 31 | True | True | True | False | %s | |
BillAddressState | 12 | VARCHAR | 21 | True | True | True | False | %s | |
BillAddressProvince | 12 | VARCHAR | 21 | True | True | True | False | %s | |
BillAddressCounty | 12 | VARCHAR | 21 | True | True | True | False | %s | |
BillAddressPostalCode | 12 | VARCHAR | 13 | True | True | True | False | %s | |
BillAddressCountry | 12 | VARCHAR | 31 | True | True | True | False | %s | |
BillAddressNote | 12 | VARCHAR | 41 | True | True | True | 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 | True | True | False | %s | |
ShipAddressAddr2 | 12 | VARCHAR | 41 | True | True | True | False | %s | |
ShipAddressAddr3 | 12 | VARCHAR | 41 | True | True | True | False | %s | |
ShipAddressAddr4 | 12 | VARCHAR | 41 | True | True | True | False | %s | |
ShipAddressAddr5 | 12 | VARCHAR | 41 | True | True | True | False | %s | |
ShipAddressCity | 12 | VARCHAR | 31 | True | True | True | False | %s | |
ShipAddressState | 12 | VARCHAR | 21 | True | True | True | False | %s | |
ShipAddressProvince | 12 | VARCHAR | 21 | True | True | True | False | %s | |
ShipAddressCounty | 12 | VARCHAR | 21 | True | True | True | False | %s | |
ShipAddressPostalCode | 12 | VARCHAR | 13 | True | True | True | False | %s | |
ShipAddressCountry | 12 | VARCHAR | 31 | True | True | True | False | %s | |
ShipAddressNote | 12 | VARCHAR | 41 | True | True | True | 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 | True | True | False | 1 0 true false | |
IsFinanceCharge | -7 | BIT | 1 | True | False | True | False | 1 0 true false | |
PONumber | 12 | VARCHAR | 25 | True | True | True | False | %s | |
TermsRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
TermsRefFullName | 12 | VARCHAR | 31 | True | True | True | False | %s | Yes |
DueDate | 9 | DATE | 6 | True | True | True | False | CCCC-MM-DD | |
SalesRepRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
SalesRepRefFullName | 12 | VARCHAR | 5 | True | True | True | False | %s | Yes |
FOB | 12 | VARCHAR | 13 | True | True | True | False | %s | |
ShipDate | 9 | DATE | 6 | True | True | True | False | CCCC-MM-DD | |
ShipMethodRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
ShipMethodRefFullName | 12 | VARCHAR | 15 | True | True | True | False | %s | Yes |
Subtotal | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
ItemSalesTaxRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
ItemSalesTaxRefFullName | 12 | VARCHAR | 31 | True | True | True | 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 | 64 | True | False | False | False | %s | Yes |
ExchangeRate | 3 | DECIMAL | 17 | True | True | True | False | %6.8f | |
BalanceRemainingInHomeCurrency | 3 | DECIMAL | 18 | True | False | False | False | %10.2f | |
Memo | 12 | VARCHAR | 4095 | True | True | True | False | %s | |
IsPaid | -7 | BIT | 1 | True | False | False | False | 1 0 true false | |
CustomerMsgRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
CustomerMsgRefFullName | 12 | VARCHAR | 101 | True | True | True | False | %s | Yes |
IsToBePrinted | -7 | BIT | 1 | True | True | True | False | 1 0 true false | |
IsToBeEmailed | -7 | BIT | 1 | True | True | True | False | 1 0 true false | |
IsTaxIncluded | -7 | BIT | 1 | True | True | True | False | 1 0 true false | |
CustomerSalesTaxCodeRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
CustomerSalesTaxCodeRefFullName | 12 | VARCHAR | 3 | True | True | True | False | %s | Yes |
CustomerTaxCodeRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
CustomerTaxCodeRefFullName | 12 | VARCHAR | 3 | True | True | True | False | %s | Yes |
SuggestedDiscountAmount | 3 | DECIMAL | 17 | True | False | False | False | %10.2f | |
SuggestedDiscountDate | 9 | DATE | 6 | True | False | False | False | CCCC-MM-DD | |
CustomFieldOther | 12 | VARCHAR | 29 | True | True | True | False | %s | |
LinkToTxnID1 | 12 | VARCHAR | 36 | True | True | True | False | %s | |
Tax1Total | 3 | DECIMAL | 17 | True | False | False | False | %10.2f | |
Tax2Total | 3 | DECIMAL | 17 | True | False | False | False | %10.2f | |
CustomFieldContactsBirthday | 12 | VARCHAR | 30 | True | True | True | False | %s | |
CustomFieldCustomerSince | 12 | VARCHAR | 30 | True | True | True | False | %s | |
CustomFieldSpousesName | 12 | VARCHAR | 30 | True | True | True | False | %s | |
CustomFieldWebsite | 12 | VARCHAR | 30 | True | True | True | False | %s |