| iiCompanyId | integer | Company id |
| iiDDocumentID | integer |
each DDocumentInvoiceXref where
first DInvoice (conditional-join) where
first Currency (conditional-join) where
first Journal (conditional-join) where
first Period (conditional-join) where
| field name | data type | db field | description |
|---|---|---|---|
| tiCurrency_ID | integer | Currency.Currency_ID | Record ID |
| tcCurrencyCode | character | Currency.CurrencyCode | Currency Code |
| tiCurrencyNumberOfDecimals | integer | Currency.CurrencyNumberOfDecimals | Number of Decimals |
| tiDDocument_ID | integer | DDocumentInvoiceXref.DDocument_ID | Link to DDocument |
| tdDDocumentInvoiceXrefAlloTC | decimal | DDocumentInvoiceXref.DDocumentInvoiceXrefAlloTC | TC Allocated Amount. This field indicates the invocie amount already Allocated in transaction currency. |
| tdDDocumentInvoiceXrefDiscTC | decimal | DDocumentInvoiceXref.DDocumentInvoiceXrefDiscTC | TC Discount Amount. This field indicates the discount amount of the invoice already allocated by transaction currency. |
| tiDebtor_ID | integer | DInvoice.Debtor_ID | Link to Debtor |
| tiDInvoice_ID | integer | DDocumentInvoiceXref.DInvoice_ID | Link to DInvoice |
| tdDInvoiceBalanceCreditTC | decimal | DInvoice.DInvoiceBalanceCreditTC | TC Balance Amount CR. This field displays the sum of the credit amounts of all posting lines in transaction currency. |
| tdDInvoiceBalanceDebitTC | decimal | DInvoice.DInvoiceBalanceDebitTC | TC Balance Amount DR. This field displays the sum of the debit amounts of all posting lines in transaction currency. |
| tdDInvoiceBalanceTC | decimal | DInvoice.DInvoiceBalanceTC | Balance. This field displays the sum of the debit and credit amounts of all posting lines in transaction currency. |
| tiDInvoiceCurrency_ID | integer | DInvoice.DInvoiceCurrency_ID | Currency Code |
| 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. |
| ttDInvoiceDiscountDueDate | date | DInvoice.DInvoiceDiscountDueDate | Discount Due Date. This field displays the last date a discount applies, calculated by the system based on the credit terms and the invoice date. You 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| tiJournal_ID | integer | DInvoice.Journal_ID | Daybook Code |
| tiJournal_ID2 | integer | Journal.Journal_ID | Record ID |
| tcJournalCode | character | Journal.JournalCode | A daybook code (maximum eight characters). |
| tiPeriod_ID | integer | DInvoice.Period_ID | Link to Period |
| tiPeriodPeriod | integer | Period.PeriodPeriod | GL Period |
| tiPeriodYear | integer | Period.PeriodYear | GL Calendar Year |
| ti_sequence | integer | calculated | primary index |
| tc_rowid | character | calculated | = rowid(DDocumentInvoiceXref),rowid(DInvoice),rowid(Currency),rowid(Journal),rowid(Period) |
QadFinancials