| iiCompanyId | integer | Company id |
| iiCDocumentID | integer |
each CDocumentInvoiceXref where
first CInvoice (outer-join) where
first Creditor (outer-join) where
first Currency (outer-join) where
first Journal (outer-join) where
first Period (outer-join) where
| field name | data type | db field | description |
|---|---|---|---|
| tiCDocument_ID | integer | CDocumentInvoiceXref.CDocument_ID | Link to CDocument |
| tdCDocumentInvoiceXrefAlloTC | decimal | CDocumentInvoiceXref.CDocumentInvoiceXrefAlloTC | TC Allocated Amount. This field indicates the invocie amount already Allocated in transaction currency. |
| tdCDocumentInvoiceXrefDiscTC | decimal | CDocumentInvoiceXref.CDocumentInvoiceXrefDiscTC | TC Discount Amount. This field indicates the discount amount of the invoice already allocated by transaction currency. |
| tdCDocumentInvoiceXRefPaidAmtTC | decimal | CDocumentInvoiceXref.CDocumentInvoiceXRefPaidAmtTC | TC Paid Amount |
| tiCInvoice_ID | integer | CInvoice.CInvoice_ID | Record ID |
| tdCInvoiceBalanceCreditTC | decimal | CInvoice.CInvoiceBalanceCreditTC | TC Balance Amount CR. This field displays the sum of the credit amounts of all posting lines in transaction currency. |
| tdCInvoiceBalanceDebitTC | decimal | CInvoice.CInvoiceBalanceDebitTC | TC Balance Amount DR. This field displays the sum of the debit amounts of all posting lines in transaction currency. |
| tdCInvoiceBalanceTC | decimal | CInvoice.CInvoiceBalanceTC | Balance. This field displays the sum of the debit and credit amounts of all posting lines in transaction currency. |
| ttCInvoiceDate | date | CInvoice.CInvoiceDate | Invoice Date. This field indicates the invoice creation date. The system uses this field with the credit terms to calculate due date and discount date. |
| api annotation: | This field defaults from the system date. | ||
| tcCInvoiceDescription | character | CInvoice.CInvoiceDescription | Description. A brief description of the invoice. The system generates a default description based on the Reference and Supplier Code. |
| ttCInvoiceDiscountDueDate | date | CInvoice.CInvoiceDiscountDueDate | Discount Due Date.This field indicates the last date a discount applies, calculated by the system based on the credit terms and the invoice date. User can modify this field without affecting the credit terms. |
| ttCInvoiceDueDate | date | CInvoice.CInvoiceDueDate | Due Date.This field indicates the date when payment become due. This field can be modified without affecting the credit terms. This field is calculated by the system based on the credit terms and the invoice date. |
| tdCInvoiceOriginalCreditTC | decimal | CInvoice.CInvoiceOriginalCreditTC | 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. |
| tdCInvoiceOriginalDebitTC | decimal | CInvoice.CInvoiceOriginalDebitTC | 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. |
| tcCInvoiceReference | character | CInvoice.CInvoiceReference | Reference. An alphanumeric reference to help identify the invoice in the system. This reference is typically the ID number of the invoice received from the supplier. |
| tcCInvoiceType | character | CInvoice.CInvoiceType | Invoice Type. This field identifies the invoice type. The value can be Invoice Correction and Credit Note Correction type only when the appropriate daybook types have already been defined. |
| tiCInvoiceVoucher | integer | CInvoice.CInvoiceVoucher | Voucher. This field displays the numeric identifier assigned to the posting. When the daybook of the journal entry is changed (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. |
| tiCreditor_ID | integer | Creditor.Creditor_ID | Record ID |
| tcCreditorCode | character | Creditor.CreditorCode | Supplier Code |
| tcCreditorDebtorNumber | character | Creditor.CreditorDebtorNumber | External Customer Number |
| tcCurrencyCode | character | Currency.CurrencyCode | Currency Code |
| tiCurrencyNumberOfDecimals | integer | Currency.CurrencyNumberOfDecimals | Number of Decimals |
| tcJournalCode | character | Journal.JournalCode | A daybook code (maximum eight characters). |
| tiPaySelLine_ID | integer | CDocumentInvoiceXref.PaySelLine_ID | Link to PaySelLine |
| tiPeriodPeriod | integer | Period.PeriodPeriod | GL Period |
| tiPeriodYear | integer | Period.PeriodYear | GL Calendar Year |
QadFinancials