Table
LedgerJournalTransExtensionTH
Journal lines for Thailand
Adds Thailand-specific data to ledger journal lines. It is keyed by the journal line. It holds withholding tax certificate, invoice date, tax address and tax registration details.
- Table name
LedgerJournalTransExtensionTH- Module
General ledger- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
None- Replacement key
LedgerJournalTransIdx- Key fields
LedgerJournalTrans- Model
Foundation
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LedgerJournalTransLink to the journal line. | Int64RefRecId | Yes | LedgerJournalTrans.RecId | None |
BranchNumberBranch number. | String (15)BranchNumber_TH | No | None | |
CertificateDateDate of the withholding tax certificate. | DateTaxWithholdCertificateDate | No | None | |
CertificateNumberNumber of the withholding tax certificate. | String (20)TaxWithholdCertificateNumber | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceDateDate of the invoice. | DateTaxUnrealizedPurchInvoiceDate | No | None | |
InvoiceReceiptDateDate the invoice was received. | DateTaxUnrealizedPurchInvoiceReceiptDate | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentGrossUpOtherDetailFree text with other details about the payment gross up. | String (20)TaxWithholdPaymentGrossUpOtherDetail | No | None | |
PaymentGrossUpTypePayment gross up type: tax deductible, single iteration, perpetual or other. | EnumTaxWithholdPaymentGrossUpType (enum) | No | None | |
RealVendNameName of the actual vendor. | String (160)TaxUnrealizedPurchRealVendName | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAgentLink to the tax agent record. | Int64TaxAgentRefRecId | No | TaxAgent.RecId | None |
TaxInvoiceReceiptDateDate the tax invoice was received. | DateTaxUnrealizedPurchTaxInvoiceRcptDate | No | None | |
TaxNatureOfAddressType of tax address: head office or branch. | EnumTaxNatureOfAddress_TH (enum) | No | None | |
TaxRegNumTax registration number. | String (25)CompanyCoRegNum | No | None |
Indexes (1)
LedgerJournalTransIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins LedgerJournalTransExtensionTH to another table on the fields shown.
LedgerJournalTrans→LedgerJournalTransJoin on
LedgerJournalTrans = LedgerJournalTrans.RecIdZero or one LedgerJournalTransExtensionTH record → exactly one LedgerJournalTrans record
TaxAgent→TaxAgentJoin on
TaxAgent = TaxAgent.RecIdMany LedgerJournalTransExtensionTH records → zero or one TaxAgent record
Get this data out
No public entity reads from LedgerJournalTransExtensionTH. Its data is only reachable through the application, a custom entity or a database export.
Need help with LedgerJournalTransExtensionTH in a report, an integration or a migration? Talk to Dr Dynamics.