Table

CustInvoiceJourExtensionTH

Customer invoice journal for Thailand

Adds Thailand-specific data to a customer invoice journal. It holds one record per journal, keyed by the journal reference. It covers note format, a reference invoice, a reason, a tax agent and print status.

Table name
CustInvoiceJourExtensionTH
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
CustInvoiceJourIdx
Key fields
CustInvoiceJour
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceJourPoints to the customer invoice journal that this Thailand extension record belongs to.Int64
RefRecId
YesCustInvoiceJour.RecIdCustInvoiceJourExtensionTHBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoCustInvoiceJourExtensionTHBiEntity
IsPrintedYes/No flag recording that the document was printed.Enum
IsPrinted_TH
NoYes (enum)
NoCustInvoiceJourExtensionTHBiEntity
NoteFormatType of debit or credit note, by value or by quantity, or None.Enum
TaxUnrealizedSalesNoteFormat (enum)
NoCustInvoiceJourExtensionTHBiEntity
NumberSequenceIdNumeric reference to a number sequence. No related table is given in the metadata.low confidenceInt64
RefRecId
NoCustInvoiceJourExtensionTHBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonTableRefPoints to the reason reference linked to this invoice journal.Int64
RefRecId
NoReasonTableRef.RecIdCustInvoiceJourExtensionTHBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoCustInvoiceJourExtensionTHBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoCustInvoiceJourExtensionTHBiEntity
RefInvoiceAmountCurAmount of the invoice that this one refers to, in the transaction currency.Real
TaxUnrealizedSalesRefInvoiceAmountCur
NoCustInvoiceJourExtensionTHBiEntity
RefInvoiceIdIdentifier of the invoice that this one refers to.String (50)
TaxUnrealizedSalesRefInvoiceId
NoCustInvoiceJourExtensionTHBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoCustInvoiceJourExtensionTHBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAgentPoints to the tax agent record linked to this invoice journal.Int64
TaxAgentRefRecId
NoTaxAgent.RecIdCustInvoiceJourExtensionTHBiEntity

Indexes (1)

Relations (3)

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

  • CustInvoiceJour → CustInvoiceJour

    Join on CustInvoiceJour = CustInvoiceJour.RecId

    Zero or one CustInvoiceJourExtensionTH record → exactly one CustInvoiceJour record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef = ReasonTableRef.RecId

    Many CustInvoiceJourExtensionTH records → zero or one ReasonTableRef record

  • TaxAgent → TaxAgent

    Join on TaxAgent = TaxAgent.RecId

    Many CustInvoiceJourExtensionTH records → zero or one TaxAgent record

Get this data out

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

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

Email sales@drdynamics.co.uk