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 descriptionType / EDT / enumMandatoryReferencesIn public entities
LedgerJournalTransLink to the journal line.Int64
RefRecId
YesLedgerJournalTrans.RecIdNone
BranchNumberBranch number.String (15)
BranchNumber_TH
NoNone
CertificateDateDate of the withholding tax certificate.Date
TaxWithholdCertificateDate
NoNone
CertificateNumberNumber of the withholding tax certificate.String (20)
TaxWithholdCertificateNumber
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceDateDate of the invoice.Date
TaxUnrealizedPurchInvoiceDate
NoNone
InvoiceReceiptDateDate the invoice was received.Date
TaxUnrealizedPurchInvoiceReceiptDate
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentGrossUpOtherDetailFree text with other details about the payment gross up.String (20)
TaxWithholdPaymentGrossUpOtherDetail
NoNone
PaymentGrossUpTypePayment gross up type: tax deductible, single iteration, perpetual or other.Enum
TaxWithholdPaymentGrossUpType (enum)
NoNone
RealVendNameName of the actual vendor.String (160)
TaxUnrealizedPurchRealVendName
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAgentLink to the tax agent record.Int64
TaxAgentRefRecId
NoTaxAgent.RecIdNone
TaxInvoiceReceiptDateDate the tax invoice was received.Date
TaxUnrealizedPurchTaxInvoiceRcptDate
NoNone
TaxNatureOfAddressType of tax address: head office or branch.Enum
TaxNatureOfAddress_TH (enum)
NoNone
TaxRegNumTax registration number.String (25)
CompanyCoRegNum
NoNone

Indexes (1)

Relations (2)

Each relation joins LedgerJournalTransExtensionTH to another table on the fields shown.

  • LedgerJournalTrans → LedgerJournalTrans

    Join on LedgerJournalTrans = LedgerJournalTrans.RecId

    Zero or one LedgerJournalTransExtensionTH record → exactly one LedgerJournalTrans record

  • TaxAgent → TaxAgent

    Join on TaxAgent = TaxAgent.RecId

    Many 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.

Email sales@drdynamics.co.uk