TABLE DETAIL REFERENCE: SalesReceipt
(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 | False | %s | Yes |
CustomerRefFullName | 12 | VARCHAR | 209 | True | True | True | False | %s | Yes |
ClassRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
ClassRefFullName | 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 | |
CheckNumber | 12 | VARCHAR | 25 | True | True | True | False | %s | |
PaymentMethodRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
PaymentMethodRefFullName | 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 |
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 |
FOB | 12 | VARCHAR | 13 | True | True | True | False | %s | |
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 | |
ExchangeRate | 3 | DECIMAL | 17 | True | True | True | False | %11.7f | |
TotalAmount | 3 | DECIMAL | 17 | True | False | False | False | %10.2f | |
Memo | 12 | VARCHAR | 4095 | True | True | True | False | %s | |
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 |
DepositToAccountRefListID | 12 | VARCHAR | 36 | True | True | True | False | %s | Yes |
DepositToAccountRefFullName | 12 | VARCHAR | 159 | True | True | True | False | %s | Yes |
CreditCardTxnInfoInputCreditCardNumber | 12 | VARCHAR | 25 | True | False | True | False | %s | |
CreditCardTxnInfoInputExpirationMonth | 4 | INTEGER | 4 | True | False | True | False | %11.0f | |
CreditCardTxnInfoInputExpirationYear | 4 | INTEGER | 4 | True | False | True | False | %11.0f | |
CreditCardTxnInfoInputNameOnCard | 12 | VARCHAR | 41 | True | False | True | False | %s | |
CreditCardTxnInfoInputCreditCardAddress | 12 | VARCHAR | 41 | True | False | True | False | %s | |
CreditCardTxnInfoInputCreditCardPostalCode | 12 | VARCHAR | 41 | True | False | True | False | %s | |
CreditCardTxnInfoInputCommercialCardCode | 12 | VARCHAR | 50 | True | False | True | False | %s | |
CreditCardTxnInfoInputTransactionMode | 12 | VARCHAR | 14 | True | False | True | False | CardNotPresent CardPresent | |
CreditCardTxnInfoInputCreditCardTxnType | 12 | VARCHAR | 18 | True | False | True | False | Authorization Capture Charge Refund VoiceAuthorization | |
CreditCardTxnInfoResultResultCode | 4 | INTEGER | 4 | True | False | True | False | %11.0f | |
CreditCardTxnInfoResultResultMessage | 12 | VARCHAR | 500 | True | False | True | False | %s | |
CreditCardTxnInfoResultCreditCardTransID | 12 | VARCHAR | 24 | True | False | True | False | %s | |
CreditCardTxnInfoResultMerchantAccountNumber | 12 | VARCHAR | 32 | True | False | True | False | %s | |
CreditCardTxnInfoResultAuthorizationCode | 12 | VARCHAR | 12 | True | False | True | False | %s | |
CreditCardTxnInfoResultAVSStreet | 12 | VARCHAR | 12 | True | False | True | False | Pass Fail NotAvailable | |
CreditCardTxnInfoResultAVSZip | 12 | VARCHAR | 12 | True | False | True | False | Pass Fail NotAvailable | |
CreditCardTxnInfoResultCardSecurityCodeMatch | 12 | VARCHAR | 12 | True | False | True | False | Pass Fail NotAvailable | |
CreditCardTxnInfoResultReconBatchID | 12 | VARCHAR | 84 | True | False | True | False | %s | |
CreditCardTxnInfoResultPaymentGroupingCode | 4 | INTEGER | 4 | True | False | True | False | %11.0f | |
CreditCardTxnInfoResultPaymentStatus | 12 | VARCHAR | 9 | True | False | True | False | Unknown Completed | |
CreditCardTxnInfoResultTxnAuthorizationTime | 11 | TIMESTAMP | 16 | True | False | True | False | CCCC-MM-DDThh:mm:ssZ | |
CreditCardTxnInfoResultTxnAuthorizationStamp | 4 | INTEGER | 4 | True | False | True | False | %11.0f | |
CreditCardTxnInfoResultClientTransID | 12 | VARCHAR | 16 | True | False | True | False | %s | |
CustomFieldOther | 12 | VARCHAR | 29 | 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 |