| iiCompanyId | integer | Company id |
| icFromDebtorCode | character | FromDebtorCode |
| icToDebtorCode | character | ToDebtorCode |
| icCandoDebtorCode | character | CandoDebtorCode |
| icFromBRCode | character | FromBRCode |
| icToBRCode | character | ToBRCode |
| icCandoBRCode | character | CandoBRCode |
| itStatementDate | date | |
| icStatementCycle | character |
each Debtor where
first BusinessRelation (inner-join) where
first Currency1 (inner-join) where
each DInvoice (inner-join) where
first Company (inner-join) where
first Currency2 (inner-join) where
each DInvoiceMovement (conditional-join) where
first PostingLine (conditional-join) where
first Posting (conditional-join) where
first Journal (inner-join) where
first PaymentCondition (inner-join) where
first Period (inner-join) where
| field name | data type | db field | description |
|---|---|---|---|
| tiBusinessRelation_ID | integer | Debtor.BusinessRelation_ID | Business Relation |
| tcBusinessRelationCode | character | BusinessRelation.BusinessRelationCode | Business Relation. A code to identify the business relation. If this field does not have a input from the user, the system automatically generates a number for the record based on the sequence defined in Business Relation Autonumber Create. |
| tcBusinessRelationName1 | character | BusinessRelation.BusinessRelationName1 | Name: The full name of the business relation. This field sets the default name for linked addresses such as customers and suppliers. |
| api annotation: | PartialUpdate = yes - defaults to the BusinessRelationCode. | ||
| tcBusinessRelationName2 | character | BusinessRelation.BusinessRelationName2 | Second Name. An extended name when the Name field is not large enough to contain all information. This fielsd can be blank. |
| tcCompanyCode | character | Company.CompanyCode | Entity Code |
| tcCurrencyCodeLC | character | Currency1.CurrencyCode | Currency Code |
| tcCurrencyCodeTC | character | Currency2.CurrencyCode | Currency Code |
| tiCurrencyNumberOfDecimals | integer | Currency1.CurrencyNumberOfDecimals | Number of Decimals |
| tiDebtor_ID | integer | Debtor.Debtor_ID | Record ID |
| tiDInvoice_ID | integer | DInvoice.DInvoice_ID | Record ID |
| tdDInvoiceBalanceCreditLC | decimal | DInvoice.DInvoiceBalanceCreditLC | BC Balance Amount CR. This field displays the sum of the credit amounts of all posting lines in transaction currency. This field is calculated by the system using the TC Base Amount CR and the Exchange rate. |
| tdDInvoiceBalanceCreditTC | decimal | DInvoice.DInvoiceBalanceCreditTC | TC Balance Amount CR. This field displays the sum of the credit amounts of all posting lines in transaction currency. |
| tdDInvoiceBalanceDebitLC | decimal | DInvoice.DInvoiceBalanceDebitLC | BC Balance Amount DR. This field displays the sum of the debit amounts of all posting lines in transaction currency. This field is calculated by the system using the TC Base Amount DR and the Exchange rate. |
| tdDInvoiceBalanceDebitTC | decimal | DInvoice.DInvoiceBalanceDebitTC | TC Balance Amount DR. This field displays the sum of the debit amounts of all posting lines in transaction currency. |
| ttDInvoiceDate | date | DInvoice.DInvoiceDate | Invoice Date. This field indicates the invoice creation date.This field is normallly prior to the posting date and within the same accounting period as the posting date. The date must be within the upper and lower date limits of an open GL period. The system uses the invoice date with the credit terms to calculate due date and discount date. |
| api annotation: | This field defaults to the DInvoicePostingDate. | ||
| tcDInvoiceDescription | character | DInvoice.DInvoiceDescription | Description. A brief description of the invoice. This field is mandatory. |
| tcDInvoiceDIText | character | DInvoice.DInvoiceDIText | CIDescription. A brief description for the SI posting. |
| api annotation: | This field defaults from the DInvoiceDescription. | ||
| ttDInvoiceDueDate | date | DInvoice.DInvoiceDueDate | Due Date. This field displays the date when payment is due, calculated by the system based on the credit terms and the invoice date. User can modify the due date without affecting the credit terms. If the credit terms have a base date specified, this is used in the due date calculations rather than the invoice creation date. |
| tdDInvoiceOriginalCreditLC | decimal | DInvoice.DInvoiceOriginalCreditLC | BC Invoice Amount(CR). This field displays the credit total invoice amount in the base currency. This field is calculated by the system using the TC Invoice Amount(CR) and the Exchange rate. |
| tdDInvoiceOriginalCreditTC | decimal | DInvoice.DInvoiceOriginalCreditTC | TC Invoice Amount CR. This field displays the credit total invoice amount in the transaction currency. If you modify this field, the system automatically recalculates the exchange rate to ensure that the BC Invoice Amount remains the same. |
| tdDInvoiceOriginalDebitLC | decimal | DInvoice.DInvoiceOriginalDebitLC | BC Invoice Amount(DR). This field displays the debit total invoice amount in the base currency. This field is calculated by the system using the TC Invoice Amount(DR) and the Exchange rate. |
| tdDInvoiceOriginalDebitTC | decimal | DInvoice.DInvoiceOriginalDebitTC | TC AP Amount. This field displays the debit total invoice amount in the transaction currency. If you modify this field, the system automatically recalculates the exchange rate to ensure that the TC Invoice Amount remains the same. |
| tcDInvoicePurchaseOrder | character | DInvoice.DInvoicePurchaseOrder | Purchase Order.If a purchase order number was recorded on the original sales order, it displays in this field. This number indicates the original number of the document that initiated the sale, and can be useful when communicating with the customer. |
| tiDInvoiceReminderCount | integer | DInvoice.DInvoiceReminderCount | Reminder Counter. This field displays the reminder level that applies to this invoice. |
| tcDInvoiceTSMNumber | character | DInvoice.DInvoiceTSMNumber | Payment Reference. This field contains a reference number to identify a customer payment for this invoice. Normally this could be a unique transaction structured message (TSM) number. The TSM is a standard reference numbering system for electronic transfers,used by many banks. |
| tcDInvoiceType | character | DInvoice.DInvoiceType | Invoice Type. This field displays the invoice type. Invoice Correction and Credit Note Correction display as choices only when the appropriate daybook types have already been defined. |
| api annotation: | PartialUpdate = yes - defaults to Invoice | ||
| tiDInvoiceVoucher | integer | DInvoice.DInvoiceVoucher | Voucher.This field displays the numeric identifier assigned to the posting. When the daybook of the journal entry is charged(after transfer), the voucher is cleared. Voucher must be unique in one GL period. When the user input is zero, the system automatically assign a value not used yet for this field. |
| tcJournalCode | character | Journal.JournalCode | A daybook code (maximum eight characters). |
| tcPaymentConditionPaymentTyp | character | PaymentCondition.PaymentConditionPaymentTyp | Payment Type |
| tiPeriodYear | integer | Period.PeriodYear | GL Calendar Year |
| tdPostingLineCreditCC | decimal | PostingLine.PostingLineCreditCC | SC Credit |
| api annotation: | Partial Update = yes - it will get a default value depending on the value of PostingLinCreditTC, PostingLineCCRate & PostingLineCCScale. SC Amount = TC Amount * Exchange rate (TC/SC) * Scale Factor (TC/SC). If Partial Update is false, you should enter the correct value for this field | ||
| tdPostingLineCreditLC | decimal | PostingLine.PostingLineCreditLC | BC Credit |
| api annotation: | Partial Update = yes - it will get a default value depends on the value of PostingLineCreditTC, PostingLineExchangeRate & PostingLineRateScale. BC Amount = TC Amount * Exchange rate (TC/BC) * Scale Factor (TC/BC). If Partial Update is false, enter a value for this field. | ||
| tdPostingLineCreditTC | decimal | PostingLine.PostingLineCreditTC | TC Credit |
| tdPostingLineDebitCC | decimal | PostingLine.PostingLineDebitCC | SC Debit |
| api annotation: | Partial Update = yes - it will get a default value depending on the value of PostingLineDebitTC, PostingLineCCRate & PostingLineCCScale. SC Amount = TC Amount * Exchange rate (TC/SC) * Scale Factor (TC/SC). If Partial Update is false, enter the correct value for this field. | ||
| tdPostingLineDebitLC | decimal | PostingLine.PostingLineDebitLC | BC Debit |
| api annotation: | Partial Update = yes - it will get a default value depending on the value of PostingLineDebitTC, PostingLineExchangeRate and PostingLineRateScale. BC Amount = TC Amount * Exchange rate (TC/BC) * Scale Factor (TC/BC). If Partial Update = false, enter the correct value into this field. | ||
| tdPostingLineDebitTC | decimal | PostingLine.PostingLineDebitTC | TC Debit |
| tcDebtorCode | character | Debtor.DebtorCode | A code (maximum eight characters) that identifies a customer. If the code you specify matches an existing supplier code, a warning message displays. You can choose to ignore the warning, and create the record. However, when a supplier and customer share the same code, they must reference the same business relation. |
| api annotation: | If you leave the Customer Code field blank, the system automatically generates a number for the record based on the sequence defined in Customer Autonumber Create. | ||
| ti_sequence | integer | calculated | primary index |
| tc_rowid | character | calculated | = rowid(Debtor),rowid(BusinessRelation),rowid(Currency1),rowid(DInvoice),rowid(Company),rowid(Currency2),rowid(DInvoiceMovement),rowid(PostingLine),rowid(Posting),rowid(Journal),rowid(PaymentCondition),rowid(Period) |
QadFinancials