project QadFinancials > class BDebtor > dataset dDInvoiceSalesDataSet

table tDInvoicePayment


field namedata typedescription
tcDocumentNumbercharacter
tcDDocumentReferencecharacterReference. Reference text for the payment.
tcDDocumentStatuscharacterStatus. The payment status. The default value for a new record is Initial.
ttDDocumentCreationDatedateCreation Date.This field indicate the payment creation date.
This field is read-only.
ttDDocumentDueDatedateDue Date. The date on which the payment is receivable.
tdPaymentOriginalAmountTCdecimal
tcCurrencyCodecharacter
tdOriginalAmountLCdecimal
tdOriginalAmountTCdecimal
tdOriginalAmountCCdecimal
tdOpenAmountLCdecimal
tdOpenAmountTCdecimal
tdOpenAmountCCdecimal
tiOverdueDaysinteger
tiWeekNumbersinteger
tdPaymentAmountTCdecimal(4)TC Allocated Amount. This field indicates the invocie amount already Allocated in transaction currency.
tdDiscountAmountTCdecimal(4)TC Discount Amount. This field indicates the discount amount of the invoice already allocated by transaction currency.
tcDInvoiceNumbercharacter
ttDInvoicePaymentDatedateExpected Payment Date.This field displays the date when payment is expected to be received. The expected payment date is used in cash flow reporting. If you manually change the due date to a date later than the expected payment date, this date is automatically updated.
api annotation:This field defaults to the due date when the invoice is created.
tcDPaySelCodecharacter
tdDDocumentExchangeRatedecimal(10)Exchange Rate. This field holds the exchange rate applying to the transaction currency.
tcDDocumentSubTypecharacterSubtype. This read-only field indicates that the payment is manual or automatic. You create manual customer payments through the Customer Payment activities, and automatic payments through the Customer Payment Selections.
tcJournalTypeCodecharacterA daybook type code.
api annotation:Value for this field defaults to "Journal Entries".
tiDPaySel_IDinteger
tiDDocument_IDinteger
tiPosting_IDinteger
tcDInvoiceDITextcharacterCIDescription. A brief description for the SI posting.
api annotation:This field defaults from the DInvoiceDescription.
tcBaseCurrencyCodecharacter
tcDDocumentBankImpRefcharacter
tcOIAdjustDescriptioncharacter
tiDInvoice_IDinteger
tdInterestAmountdecimal
tcJournalTypeCodeTrcharacter
tiDInvoiceVoucherintegerVoucher.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.
tiDInvoicePostingYearintegerYear.This field indicates the accounting year for the invoice.
If you modify these fields, the posting and tax dates are changed correspondingly.
api annotation:This field defaults to the accounting year associated with the posting date.
tcJournalCodecharacterA daybook code (maximum eight characters).
tcCurrCompanyCodecharacter

table tDInvoiceSales


field namedata typedescription
tcDInvoiceNumbercharacter
ttDInvoiceDatedateInvoice 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.
ttDInvoiceDueDatedateDue 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.
ttDInvoiceDiscountDueDatedateDiscount 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.
tlDInvoiceIsOpenlogicalOpen.This field indicates if the invoice has been completely paid.
This field is updated automatically when complete payment is confirmed.
This field is read-only.
api annotation:PartialUpdate = yes - defaults to true
tcCurrencyCodecharacter
tdOriginalAmountLCForSalesdecimal
tdOriginalAmountTCForSalesdecimal
tdOriginalAmountCCForSalesdecimal
tdOpenAmountLCForSalesdecimal
tdOpenAmountTCForSalesdecimal
tdOpenAmountCCForSalesdecimal
tcDInvoiceTypecharacterInvoice 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
tiOverdueDaysForSalesinteger
tiOverdueWeeksForSalesinteger
tcReasonCodecharacter
tiWeekNumbersForSalesinteger
ttDInvoicePaymentDatedateExpected Payment Date.This field displays the date when payment is expected to be received. The expected payment date is used in cash flow reporting. If you manually change the due date to a date later than the expected payment date, this date is automatically updated.
api annotation:This field defaults to the due date when the invoice is created.
tdDInvoiceExchangeRatedecimal(10)Exchange Rate. The accounting exchange rate used by the invoice.
The BC Invoice Amount is calculated based on the exchange rate.
If user modify the TC Invoice Amount, the BC invoice amount is automatically adjusted.
tiDInvoice_IDinteger
tcDInvoiceDITextcharacterCIDescription. A brief description for the SI posting.
api annotation:This field defaults from the DInvoiceDescription.
tcDInvoiceDescriptioncharacterDescription. A brief description of the invoice. This field is mandatory.
tcBaseCurrencyCodecharacter
tcOIAdjustDescriptioncharacter
tcDInvoiceDedStatuscharacter
tcJournalCodecharacterA daybook code (maximum eight characters).
tiDInvoiceVoucherintegerVoucher.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.
tiDInvoicePostingYearintegerYear.This field indicates the accounting year for the invoice.
If you modify these fields, the posting and tax dates are changed correspondingly.
api annotation:This field defaults to the accounting year associated with the posting date.
tcDInvoiceOpInfoCodecharacterIdentifier. This field identifies an opinfo record.
tcCurrCompanyCodecharacter


Internal usage


unused