Table
SalesInvoicePaymentStubTmp
Show invoice
Temporary working table that holds customer invoice details together with data for a payment slip (payment stub). It has company and invoice address fields, amounts, bank and reference numbers, and OCR lines. Many fields are used for Switzerland, Finland or Denmark. It links to the customer invoice journal, the customer and ISO currency codes.
- Table name
SalesInvoicePaymentStubTmp- Module
Accounts receivable- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (56)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNo1_CHFirst bank account number, used for Switzerland. | String (48)BankAccount | No | None | |
AccountNo2_CHSecond bank account number, used for Switzerland. | String (48)BankAccount | No | None | |
AccountNum1_FIFirst account number text, used for Finland. | String (60)Str60 | No | None | |
AccountNum2_FISecond account number text, used for Finland. | String (60)Str60 | No | None | |
AccountNum3_FIThird account number text, used for Finland. | String (60)Str60 | No | None | |
AccountNum4_FIFourth account number text, used for Finland. | String (60)Str60 | No | None | |
AccountNum5_FIFifth account number text, used for Finland. | String (60)Str60 | No | None | |
AccountNum6_FISixth account number text, used for Finland. | String (60)Str60 | No | None | |
AmountCheckIdText value that appears to be a check identifier for the amount; the exact use is not stated in the metadata.low confidence | String (60)Str60 | No | None | |
BankAccountTable_AccountNum_CHBank account number taken from the bank account record, used for Switzerland. | String (48)BankAccount | No | None | |
BankAccountTable_Clearing_CHBank clearing text for the bank account, used for Switzerland. | String (60)Str60 | No | None | |
BankGroupIdName_CHDescription of the bank group, used for Switzerland. | String (60)Description | No | None | |
BankZipCode_CHPostal code of the bank, used for Switzerland. | String (60)Str60 | No | None | |
BillInformation_CHFree text with billing information, used for Switzerland. | String (255)FreeText | No | None | |
CompanyAddressAddress of the company that issues the invoice. | String (250)Addressing | No | None | |
CompanyGiroBank giro number of the company. | String (48)GiroNum | No | None | |
CompanyNameName of the company that issues the invoice. | String (60)Name | No | None | |
CompanyPhoneTelephone number of the company. | String (20)Phone | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
currencyCodeISO_CHThree-letter ISO currency code, used for Switzerland. It points to an ISO currency code record. | String (3)CurrencyCodeISO | No | ISOCurrencyCode.ISCCurrencyCodeAlpha | None |
CustAddress_CHFree text for the customer address, used for Switzerland. | String (255)FreeText | No | None | |
CustInvoiceJourDueDateDate by which the invoice is due. | DateDueDate | No | None | |
CustName_CHCustomer name, used for Switzerland. | String (60)Name | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
Description_CHDescription text, used for Switzerland.low confidence | String (60)Str60 | No | None | |
FICreditorID_DKCreditor ID for the FI payment method, used for Denmark. | String (8)FICreditorID_DK | No | None | |
GiroTypeType of payment slip attached to the customer invoice, such as FIK, BBS, blue slip, red slip, orange slip, S101, S102 or Finnish. | EnumPaymentStubInvoiceIdPaymentStub (enum) | No | None | |
IBAN_CHInternational bank account number (IBAN), used for Switzerland. | String (48)BankIBAN | No | None | |
InvoiceAccountCustomer account that the invoice is for. It points to a customer record. | String (20)CustInvoiceAccount | No | CustTable.AccountNum | None |
InvoiceAddressAddress of the invoice customer. | String (250)LogisticsAddressing | No | None | |
InvoiceAddressCity_CHCity of the invoice address, used for Switzerland. | String (250)LogisticsAddressing | No | None | |
InvoiceAddressLine1_CHFirst address line of the invoice customer, used for Switzerland. | String (250)LogisticsAddressing | No | None | |
InvoiceAddressLine2_CHSecond address line of the invoice customer, used for Switzerland. | String (250)LogisticsAddressing | No | None | |
InvoiceAddressZipCode_CHPostal code of the invoice address, used for Switzerland. | String (250)LogisticsAddressing | No | None | |
InvoiceAmountTotal invoice amount. | RealAmountCur | No | None | |
InvoiceAmountDecimalsDecimal part of the invoice amount as text, for printing on the payment slip. | String (60)Str60 | No | None | |
InvoiceAmountNoDecimalsWhole-number part of the invoice amount as text, for printing on the payment slip. | String (60)Str60 | No | None | |
InvoiceCountryRegionId_CHCountry or region of the invoice address, used for Switzerland. | StringLogisticsAddressCountryRegionId | No | None | |
InvoiceIdInvoice number. | String (20)CustInvoiceId | No | None | |
InvoiceNameName of the invoice customer. | String (160)CustName | No | None | |
InvoiceReferenceNumberFIPayment reference number for the invoice, used for Finland. | String (20)ReferenceNumber_FI | No | None | |
JournalRecIdSystem record ID of the customer invoice journal this row refers to. | Int64RefRecId | No | CustInvoiceJour.RecId | None |
LanguageId_CHLanguage code, used for Switzerland. | String (7)LanguageId | No | None | |
LayoutCode_CHLayout code text for the payment slip, used for Switzerland.low confidence | String (60)Str60 | No | None | |
OcrFieldText of the OCR field for the payment slip. | String (60)Str60 | No | None | |
OcrLine_CHText of the OCR line for the payment slip, used for Switzerland. | String (60)Str60 | No | None | |
OcrLine_FIText of the OCR line for the payment slip, used for Finland. | String (60)Str60 | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentId2_PaymentId3_CHCombined second and third payment ID text, used for Switzerland.low confidence | String (60)Str60 | No | None | |
PaymentRef1_CHFirst payment reference text, used for Switzerland. | String (60)Str60 | No | None | |
PaymentRef2_CHSecond payment reference text, used for Switzerland. | String (60)Str60 | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RemainAmountToBePaidAmount still to be paid, in the transaction currency. | RealAmountCur | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
JournalRecIdNot unique.
Relations (3)
Each relation joins SalesInvoicePaymentStubTmp to another table on the fields shown.
CustInvoiceJour→CustInvoiceJourJoin on
JournalRecId = CustInvoiceJour.RecIdMany SalesInvoicePaymentStubTmp records → zero or one CustInvoiceJour record
CustTable→CustTableJoin on
InvoiceAccount = CustTable.AccountNumMany SalesInvoicePaymentStubTmp records → zero or one CustTable record
ISOCurrencyCode→ISOCurrencyCodeJoin on
currencyCodeISO_CH = ISOCurrencyCode.ISCCurrencyCodeAlphaMany SalesInvoicePaymentStubTmp records → zero or one ISOCurrencyCode record
Get this data out
No public entity reads from SalesInvoicePaymentStubTmp. Its data is only reachable through the application, a custom entity or a database export.
Need help with SalesInvoicePaymentStubTmp in a report, an integration or a migration? Talk to Dr Dynamics.