Table

CustInvoiceTableExtensionTH

Customer free text invoice for Thailand

Extends the free text invoice header with data for Thailand. It is keyed by the invoice reference. It holds the note format, a reason, the reference invoice and its value, and the tax agent.

Table name
CustInvoiceTableExtensionTH
Module
Accounts receivable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
CustInvoiceTableIdx
Key fields
CustInvoiceTable
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceTableFree text invoice that this record extends.Int64
RefRecId
YesCustInvoiceTable.RecIdCustInvoiceTableExtensionTHBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoCustInvoiceTableExtensionTHBiEntity
NoteFormatFormat of the note, such as debit note or credit note, by value or quantity.Enum
TaxUnrealizedSalesNoteFormat (enum)
NoCustInvoiceTableExtensionTHBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonTableRefReason reference for the note.Int64
RefRecId
NoReasonTableRef.RecIdCustInvoiceTableExtensionTHBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoCustInvoiceTableExtensionTHBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoCustInvoiceTableExtensionTHBiEntity
RefInvoiceAmountCurValue of the reference invoice in the invoice currency.Real
TaxUnrealizedSalesRefInvoiceAmountCur
NoCustInvoiceTableExtensionTHBiEntity
RefInvoiceIdNumber of the reference invoice.String (50)
TaxUnrealizedSalesRefInvoiceId
NoCustInvoiceTableExtensionTHBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoCustInvoiceTableExtensionTHBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAgentTax agent linked to the invoice.Int64
TaxAgentRefRecId
NoTaxAgent.RecIdCustInvoiceTableExtensionTHBiEntity

Indexes (3)

Relations (3)

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

  • CustInvoiceTable → CustInvoiceTable

    Join on CustInvoiceTable = CustInvoiceTable.RecId

    Zero or one CustInvoiceTableExtensionTH record → exactly one CustInvoiceTable record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef = ReasonTableRef.RecId

    Many CustInvoiceTableExtensionTH records → zero or one ReasonTableRef record

  • TaxAgent → TaxAgent

    Join on TaxAgent = TaxAgent.RecId

    Many CustInvoiceTableExtensionTH records → zero or one TaxAgent record

Get this data out

Tables are not exposed directly. These public entities read from CustInvoiceTableExtensionTH; use one of them in Power BI, Power Platform or a data management project.

Need help with CustInvoiceTableExtensionTH in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk