InvoiceLine Table
Column | Data type | Data type name | Length | Can be queried? | Can be updated? | Can be inserted? | Mandatory when inserting? | Format | Refers To | Version introduced in | Edition available in |
---|---|---|---|---|---|---|---|---|---|---|---|
ID | 12 | VARCHAR | 115 | 1.0 | US, CA, UK | ||||||
TxnID | 12 | VARCHAR | 36 | True | False | False | False | %s | TxnID | 1.0 | US, CA, UK |
TimeCreated | 93 | TIMESTAMP | 23 | True | False | False | False | CCCC-MM-DDThh:mm:ssZ | 1.0 | US, CA, UK | |
TimeModified | 93 | TIMESTAMP | 23 | True | False | False | False | CCCC-MM-DDThh:mm:ssZ | 1.0 | US, CA, UK | |
EditSequence | 12 | VARCHAR | 16 | True | False | False | False | %s | 1.0 | US, CA, UK | |
TxnNumber | 4 | INTEGER | 9 | True | False | False | False | %11.0f | 1.0 | US, CA, UK | |
CustomerRef_ListID | 12 | VARCHAR | 36 | True | True | True | True | %s | ListID | 1.0 | US, CA, UK |
CustomerRef_FullName | 12 | VARCHAR | 159 | True | True | True | True | %s | FullName | 1.0 | US, CA, UK |
ClassRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
ClassRef_FullName | 12 | VARCHAR | 159 | True | True | True | False | %s | FullName | 1.0 | US, CA, UK |
ARAccountRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
ARAccountRef_FullName | 12 | VARCHAR | 159 | True | True | True | False | %s | FullName | 1.0 | US, CA, UK |
TemplateRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 3.0 | US, CA, UK |
TemplateRef_FullName | 12 | VARCHAR | 159 | True | True | True | False | %s | Name | 3.0 | US, CA, UK |
TxnDate | 91 | DATE | 10 | True | True | True | False | CCCC-MM-DD | 1.0 | US, CA, UK | |
TxnDateMacro | 12 | VARCHAR | 25 | 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 | 1.0 | US, CA, UK | |
RefNumber | 12 | VARCHAR | 11 | True | True | True | False | %s | 1.0 | US, CA, UK | |
BillAddress_Addr1 | 12 | VARCHAR | 41 | True | True | True | False | %s | 1.0 | US, CA, UK | |
BillAddress_Addr2 | 12 | VARCHAR | 41 | True | True | True | False | %s | 1.0 | US, CA, UK | |
BillAddress_Addr3 | 12 | VARCHAR | 41 | True | True | True | False | %s | 1.0 | US, CA, UK | |
BillAddress_Addr4 | 12 | VARCHAR | 41 | True | True | True | False | %s | 2.0 | US, CA, UK | |
BillAddress_Addr5 | 12 | VARCHAR | 41 | True | True | True | False | %s | 6.0 | US, CA, UK | |
BillAddress_City | 12 | VARCHAR | 31 | True | True | True | False | %s | 1.0 | US, CA, UK | |
BillAddress_State | 12 | VARCHAR | 21 | True | True | True | False | %s | 1.0 | US, CA, UK | |
BillAddress_PostalCode | 12 | VARCHAR | 13 | True | True | True | False | %s | 1.0 | US, CA, UK | |
BillAddress_Country | 12 | VARCHAR | 31 | True | True | True | False | %s | 1.0 | US, CA, UK | |
BillAddress_Note | 12 | VARCHAR | 41 | True | True | True | False | %s | 6.0 | US, CA, UK | |
BillAddressBlock_Addr1 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
BillAddressBlock_Addr2 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
BillAddressBlock_Addr3 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
BillAddressBlock_Addr4 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
BillAddressBlock_Addr5 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
ShipAddress_Addr1 | 12 | VARCHAR | 41 | True | True | True | False | %s | 1.0 | US, CA, UK | |
ShipAddress_Addr2 | 12 | VARCHAR | 41 | True | True | True | False | %s | 1.0 | US, CA, UK | |
ShipAddress_Addr3 | 12 | VARCHAR | 41 | True | True | True | False | %s | 1.0 | US, CA, UK | |
ShipAddress_Addr4 | 12 | VARCHAR | 41 | True | True | True | False | %s | 2.0 | US, CA, UK | |
ShipAddress_Addr5 | 12 | VARCHAR | 41 | True | True | True | False | %s | 6.0 | US, CA, UK | |
ShipAddress_City | 12 | VARCHAR | 31 | True | True | True | False | %s | 1.0 | US, CA, UK | |
ShipAddress_State | 12 | VARCHAR | 21 | True | True | True | False | %s | 1.0 | US, CA, UK | |
ShipAddress_PostalCode | 12 | VARCHAR | 13 | True | True | True | False | %s | 1.0 | US, CA, UK | |
ShipAddress_Country | 12 | VARCHAR | 31 | True | True | True | False | %s | 1.0 | US, CA, UK | |
ShipAddress_Note | 12 | VARCHAR | 41 | True | True | True | False | %s | 6.0 | US, CA, UK | |
ShipAddressBlock_Addr1 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
ShipAddressBlock_Addr2 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
ShipAddressBlock_Addr3 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
ShipAddressBlock_Addr4 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
ShipAddressBlock_Addr5 | 12 | VARCHAR | 41 | True | False | False | False | %s | 6.0 | US, CA, UK | |
IsPending | -7 | BIT | 2 | True | True | True | False | 1 0 true false | 1.0 | US, CA, UK | |
IsFinanceCharge | -7 | BIT | 2 | True | False | True | False | 1 0 true false | 1.0 | US, CA, UK | |
PONumber | 12 | VARCHAR | 25 | True | True | True | False | %s | 1.0 | US, CA, UK | |
TermsRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
TermsRef_FullName | 12 | VARCHAR | 31 | True | True | True | False | %s | Name | 1.0 | US, CA, UK |
DueDate | 91 | DATE | 10 | True | True | True | False | CCCC-MM-DD | 1.0 | US, CA, UK | |
SalesRepRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
SalesRepRef_FullName | 12 | VARCHAR | 15 | True | True | True | False | %s | Initial | 1.0 | US, CA, UK |
FOB | 12 | VARCHAR | 13 | True | True | True | False | %s | 1.0 | US, CA, UK | |
ShipDate | 91 | DATE | 10 | True | True | True | False | CCCC-MM-DD | 1.0 | US, CA, UK | |
ShipMethodRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
ShipMethodRef_FullName | 12 | VARCHAR | 15 | True | True | True | False | %s | Name | 1.0 | US, CA, UK |
Subtotal | 2 | NUMERIC | 15 | True | False | False | False | %10.2f | 1.0 | US, CA, UK | |
ItemSalesTaxRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
ItemSalesTaxRef_FullName | 12 | VARCHAR | 31 | True | True | True | False | %s | Name | 1.0 | US, CA, UK |
SalesTaxPercentage | 2 | NUMERIC | 18 | True | False | False | False | %10.5f | 1.0 | US, CA, UK | |
SalesTaxTotal | 2 | NUMERIC | 15 | True | False | False | False | %10.2f | 1.0 | US, CA, UK | |
AppliedAmount | 2 | NUMERIC | 15 | True | False | False | False | %10.2f | 1.0 | US, CA, UK | |
BalanceRemaining | 2 | NUMERIC | 15 | True | False | False | False | %10.2f | 1.0 | US, CA, UK | |
CurrencyRef_ListID | 12 | VARCHAR | 36 | True | False | False | False | %s | ListID | 8.0 | US, CA, UK |
CurrencyRef_FullName | 12 | VARCHAR | 64 | True | False | False | False | %s | Name | 8.0 | US, CA, UK |
ExchangeRate | 2 | NUMERIC | 18 | True | True | True | False | %6.6f | 8.0 | US, CA, UK | |
BalanceRemainingInHomeCurrency | 2 | NUMERIC | 15 | True | False | False | False | %10.2f | 8.0 | US, CA, UK | |
Memo | 12 | VARCHAR | 4095 | True | True | True | False | %s | 1.0 | US, CA, UK | |
IsPaid | -7 | BIT | 2 | True | False | False | False | 1 0 true false | 2.0 | US, CA, UK | |
CustomerMsgRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
CustomerMsgRef_FullName | 12 | VARCHAR | 101 | True | True | True | False | %s | Name | 1.0 | US, CA, UK |
IsToBePrinted | -7 | BIT | 2 | True | True | True | False | 1 0 true false | 1.0 | US, CA, UK | |
IsToBeEmailed | -7 | BIT | 2 | True | True | True | False | 1 0 true false | 6.0 | US, CA, UK | |
CustomerSalesTaxCodeRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
CustomerSalesTaxCodeRef_FullName | 12 | VARCHAR | 36 | True | True | True | False | %s | Name | 1.0 | US, CA, UK |
SuggestedDiscountAmount | 2 | NUMERIC | 15 | True | False | False | False | %10.2f | 1.0 | US, CA, UK | |
SuggestedDiscountDate | 91 | DATE | 10 | True | False | False | False | CCCC-MM-DD | 1.0 | US, CA, UK | |
Other | 12 | VARCHAR | 255 | True | True | True | False | %s | 6.0 | US, CA, UK | |
ExternalGUID | 12 | VARCHAR | 40 | 9.0 | US, CA, UK | ||||||
LinkToTxnID | 12 | VARCHAR | 36 | True | True | True | False | %s | 1.0 | US, CA, UK | |
SetCredit_CreditTxnID | 12 | VARCHAR | 36 | 1.0 | US, CA, UK | ||||||
SetCredit_AppliedAmount | 2 | NUMERIC | 15 | 1.0 | US, CA, UK | ||||||
SetCredit_Override | -7 | BIT | 2 | 1.0 | US, CA, UK | ||||||
InvoiceLineType | 12 | VARCHAR | 10 | True | False | True | False | ItemType | 1.0 | US, CA, UK | |
InvoiceLineGroup_TxnLineID | 12 | VARCHAR | 36 | True | True | False | False | %s | 1.0 | US, CA, UK | |
InvoiceLineGroup_ItemGroupRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
InvoiceLineGroup_ItemGroupRef_FullName | 12 | VARCHAR | 31 | True | True | True | False | %s | FullName | 1.0 | US, CA, UK |
InvoiceLineGroup_Desc | 12 | VARCHAR | 4095 | True | False | True | False | %s | 1.0 | US, CA, UK | |
InvoiceLineGroup_Quantity | 4 | INTEGER | 18 | True | True | True | False | %10.5f | 1.0 | US, CA, UK | |
InvoiceLineGroup_UnitOfMeasure | 12 | VARCHAR | 31 | True | True | True | False | %s | Name | 7.0 | US, CA, UK |
InvoiceLineGroup_OverrideUOMSetRef_ListID | 12 | VARCHAR | 36 | True | True | False | False | %s | ListID | 7.0 | US, CA, UK |
InvoiceLineGroup_OverrideUOMSetRef_FullName | 12 | VARCHAR | 31 | True | True | False | False | %s | Name | 7.0 | US, CA, UK |
InvoiceLineGroup_IsPrintItemsInGroup | -7 | BIT | 2 | True | False | True | False | 1 0 true false | 1.0 | US, CA, UK | |
InvoiceLineGroup_TotalAmount | 2 | NUMERIC | 15 | True | False | False | False | %10.2f | 1.0 | US, CA, UK | |
InvoiceLineGroup_InventorySiteRef_ListID | 12 | VARCHAR | 36 | 1.0 | US, CA, UK | ||||||
InvoiceLineGroup_InventorySiteRef_FullName | 12 | VARCHAR | 31 | 1.0 | US, CA, UK | ||||||
InvoiceLineGroup_InventorySiteLocationRef_ListID | 12 | VARCHAR | 36 | 1.0 | US, CA, UK | ||||||
InvoiceLineGroup_InventorySiteLocationRef_FullName | 12 | VARCHAR | 31 | 1.0 | US, CA, UK | ||||||
InvoiceLine_TxnLineID | 12 | VARCHAR | 36 | True | True | False | False | %s | 1.0 | US, CA, UK | |
InvoiceLine_ItemRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | 1.0 | US, CA, UK | |
InvoiceLine_ItemRef_FullName | 12 | VARCHAR | 159 | True | True | True | False | %s | 1.0 | US, CA, UK | |
InvoiceLine_Desc | 12 | VARCHAR | 4095 | True | True | True | False | %s | 1.0 | US, CA, UK | |
InvoiceLine_Quantity | 4 | INTEGER | 9 | True | True | True | False | %10.5f | 1.0 | US, CA, UK | |
InvoiceLine_UnitOfMeasure | 12 | VARCHAR | 31 | True | True | True | False | %s | 7.0 | US, CA, UK | |
InvoiceLine_OverrideUOMSetRef_ListID | 12 | VARCHAR | 36 | True | True | False | False | %s | 7.0 | US, CA, UK | |
InvoiceLine_OverrideUOMSetRef_FullName | 12 | VARCHAR | 31 | True | True | False | False | %s | 7.0 | US, CA, UK | |
InvoiceLine_Rate | 2 | NUMERIC | 15 | True | True | True | False | %10.5f | 1.0 | US, CA, UK | |
InvoiceLine_RatePercent | 2 | NUMERIC | 18 | True | True | True | False | %10.5f | 1.0 | US, CA, UK | |
InvoiceLine_PriceLevelRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
InvoiceLine_PriceLevelRef_FullName | 12 | VARCHAR | 159 | True | True | True | False | %s | Name | 1.0 | US, CA, UK |
InvoiceLine_ClassRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
InvoiceLine_ClassRef_FullName | 12 | VARCHAR | 159 | True | True | True | False | %s | FullName | 1.0 | US, CA, UK |
InvoiceLine_Amount | 2 | NUMERIC | 15 | True | True | True | False | %10.2f | 1.0 | US, CA, UK | |
InvoiceLine_OptionForPriceRuleConflict | 12 | VARCHAR | 9 | 1.0 | US, CA, UK | ||||||
InvoiceLine_InventorySiteRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 10.0 | US, CA, UK |
InvoiceLine_InventorySiteRef_FullName | 12 | VARCHAR | 31 | True | True | True | False | %s | Name | 10.0 | US, CA, UK |
InvoiceLine_InventorySiteLocationRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 12.0 | US, CA, UK |
InvoiceLine_InventorySiteLocationRef_FullName | 12 | VARCHAR | 31 | True | True | True | False | %s | Name | 12.0 | US, CA, UK |
InvoiceLine_SerialNumber | 12 | VARCHAR | 1095 | True | True | True | True | %s | 1.0 | US, CA, UK | |
InvoiceLine_LotNumber | 12 | VARCHAR | 40 | True | True | True | True | %s | 1.0 | US, CA, UK | |
InvoiceLine_ServiceDate | 91 | DATE | 10 | True | True | True | False | CCCC-MM-DD | 1.0 | US, CA, UK | |
InvoiceLine_SalesTaxCodeRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
InvoiceLine_SalesTaxCodeRef_FullName | 12 | VARCHAR | 36 | True | True | True | False | %s | Name | 1.0 | US, CA, UK |
InvoiceLine_OverrideItemAccountRef_ListID | 12 | VARCHAR | 36 | True | True | True | False | %s | ListID | 1.0 | US, CA, UK |
InvoiceLine_OverrideItemAccountRef_FullName | 12 | VARCHAR | 159 | True | True | True | False | %s | FullName | 1.0 | US, CA, UK |
InvoiceLine_Other1 | 12 | VARCHAR | 29 | True | True | True | False | %s | 6.0 | US, CA, UK | |
InvoiceLine_Other2 | 12 | VARCHAR | 29 | True | True | True | False | %s | 6.0 | US, CA, UK | |
InvoiceLine_LinkToTxn_TxnID | 12 | VARCHAR | 36 | True | False | True | False | %s | 1.0 | US, CA, UK | |
InvoiceLine_LinkToTxn_TxnLineID | 12 | VARCHAR | 36 | True | False | True | False | %s | 1.0 | US, CA, UK | |
RQUseCachedID | -7 | BIT | 2 |