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. |
tiCompany_ID | integer | DDocument.Company_ID | Link to Company |
tiCurrency_ID | integer | DDocument.Currency_ID | Currency Code |
tcCurrencyCode | character | Currency.CurrencyCode | Currency Code |
tiCurrencyNumberOfDecimals | integer | Currency.CurrencyNumberOfDecimals | Number of Decimals |
tiDCollection_ID | integer | DDocument.DCollection_ID | Link to DCollection |
tiDDocument_ID | integer | DDocument.DDocument_ID | Record ID |
tdDDocumentCCRate | decimal | DDocument.DDocumentCCRate | SC Rate. The statutory scaling factor applying to the transaction currency. |
tdDDocumentCCScale | decimal | DDocument.DDocumentCCScale | SC Rate Scale. The statutory exchange rate used by the invoice. |
tdDDocumentExchangeRate | decimal | DDocument.DDocumentExchangeRate | Exchange Rate. This field holds the exchange rate applying to the transaction currency. |
tiDDocumentNumber | integer | DDocument.DDocumentNumber | Document Number. This field hold a unified number for report use. |
tdDDocumentOriginalDebitBC | decimal | DDocument.DDocumentOriginalDebitBC | BC Original Debit |
tdDDocumentOriginalDebitCC | decimal | DDocument.DDocumentOriginalDebitCC | TC Original Debit. This field holds the debit value of the payment in management currency. |
tdDDocumentOriginalDebitLC | decimal | DDocument.DDocumentOriginalDebitLC | TC Original Debit. This field holds the debit value of the payment in base currency. |
tdDDocumentOriginalDebitTC | decimal | DDocument.DDocumentOriginalDebitTC | Amount.This field hold the value of the payment in the transaction currency. This field must be positive and can be entered manually or automatically by linking the payment to an open item. |
tdDDocumentRateScale | decimal | DDocument.DDocumentRateScale | Scale Factor. This field indicates the scaling factor applying to the transaction currency. |
tcDDocumentReference | character | DDocument.DDocumentReference | Reference. Reference text for the payment. |
tcDDocumentStatus | character | DDocument.DDocumentStatus | Status. The payment status. The default value for a new record is Initial. |
tcDDocumentSubType | character | DDocument.DDocumentSubType | Subtype. 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. |
tcDDocumentType | character | DDocument.DDocumentType | Payment Instrument. The system displays the payment instrument associated with the payment format linked to the customer bank. |
tiDDocumentYear | integer | DDocument.DDocumentYear | Year/Number. This field displays the accounting year and payment sequence number, which is automatically generated by the accounting year. |
tiDebtor_ID | integer | DDocument.Debtor_ID | Customer |
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(DDocument),rowid(Currency),rowid(Debtor),rowid(BusinessRelation) |