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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustInvoiceTableFree text invoice that this record extends. | Int64RefRecId | Yes | CustInvoiceTable.RecId | CustInvoiceTableExtensionTHBiEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | CustInvoiceTableExtensionTHBiEntity | |
NoteFormatFormat of the note, such as debit note or credit note, by value or quantity. | EnumTaxUnrealizedSalesNoteFormat (enum) | No | CustInvoiceTableExtensionTHBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ReasonTableRefReason reference for the note. | Int64RefRecId | No | ReasonTableRef.RecId | CustInvoiceTableExtensionTHBiEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | CustInvoiceTableExtensionTHBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | CustInvoiceTableExtensionTHBiEntity | |
RefInvoiceAmountCurValue of the reference invoice in the invoice currency. | RealTaxUnrealizedSalesRefInvoiceAmountCur | No | CustInvoiceTableExtensionTHBiEntity | |
RefInvoiceIdNumber of the reference invoice. | String (50)TaxUnrealizedSalesRefInvoiceId | No | CustInvoiceTableExtensionTHBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | CustInvoiceTableExtensionTHBiEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAgentTax agent linked to the invoice. | Int64TaxAgentRefRecId | No | TaxAgent.RecId | CustInvoiceTableExtensionTHBiEntity |
Indexes (3)
TaxAgentIdxNot unique.
ReasonTableRefIdxNot unique.
CustInvoiceTableIdxReplacement keyUnique, alternate key.
Relations (3)
Each relation joins CustInvoiceTableExtensionTH to another table on the fields shown.
CustInvoiceTable→CustInvoiceTableJoin on
CustInvoiceTable = CustInvoiceTable.RecIdZero or one CustInvoiceTableExtensionTH record → exactly one CustInvoiceTable record
ReasonTableRef→ReasonTableRefJoin on
ReasonTableRef = ReasonTableRef.RecIdMany CustInvoiceTableExtensionTH records → zero or one ReasonTableRef record
TaxAgent→TaxAgentJoin on
TaxAgent = TaxAgent.RecIdMany 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.
CustInvoiceTableExtensionTHBiEntity· 10 fields from this table
Need help with CustInvoiceTableExtensionTH in a report, an integration or a migration? Talk to Dr Dynamics.