Table

TaxIntgrExportDocument_CN

Export document

Holds export documents, used for China, identified by the export document ID. Each one stores invoice details, amounts, processing date and export status. It links to addresses, the global address book, tax registrations and VAT invoice descriptions. It also has fields for miscellaneous charges.

Table name
TaxIntgrExportDocument_CN
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
None
Replacement key
ExportDocumentIdx
Key fields
Id
Model
Foundation

Fields (31)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
IdExport document ID, the key of the table.String (20)
TaxIntgrExportDocumentId_CN
YesNone
CompanyAddressPoints to the company postal address.Int64
RefRecId
NoLogisticsPostalAddress.RecIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency code of the document.String (3)
CustCurrencyCode
YesNone
CustAddressPoints to the customer postal address.Int64
RefRecId
NoLogisticsPostalAddress.RecIdNone
CustBankAccountIdCustomer bank account.String
CustBankAccountId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionChargesDescription of the miscellaneous charges.String (60)
TransTxt
NoNone
DocumentDateDate of the document.Date
DocumentDate
NoNone
ExportedDateTimeDate and time when the document was processed.UtcDateTime
DateTimeExecuted
NoNone
ExternalInvoiceIdInvoice number from an external source.String (50)
TaxExternalInvoiceId_CN
NoNone
InvoiceAccountCustomer invoice account.String (20)
CustInvoiceAccount
YesNone
InvoiceAuditorPoints to the auditor's record in the global address book.Int64
RefRecId
NoDirPartyTable.RecIdNone
IsExportedYes/no flag showing whether the document has been exported.Enum
TaxExportDirect_CN
NoYes (enum)
NoNone
IsOverAmountLimitYes/no flag showing whether the amount is over the limit.Enum
NoYesId
NoYes (enum)
NoNone
MiscChargesExemptTaxYes/no flag for tax exemption on the miscellaneous charge.Enum
TaxExemptTax
NoYes (enum)
NoNone
MiscChargesLineNumLine number of the miscellaneous charge.Real
LineNum
NoNone
MiscChargesNetAmountNet amount of the miscellaneous charge.Real
TaxIntgrExportDocumentNetAmount_CN
NoNone
MiscChargesTaxAmountTax amount of the miscellaneous charge.Real
TaxIntgrExportDocumentTaxAmount_CN
NoNone
MiscChargesTaxValueTax value (rate) of the miscellaneous charge.Real
TaxIntgrExportDocumentTaxValue_CN
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentCollectorPoints to the payment collector's record in the global address book.Int64
RefRecId
NoDirPartyTable.RecIdNone
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
ReversedBookNumBook number of the reversed invoice.String (20)
TaxIntgrReversedBookNum_CN
NoNone
ReversedInvoiceNumNumber of the reversed invoice.String (8)
TaxIntgrReversedInvoiceNum_CN
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxCodeSales tax code.String
TaxCode
NoNone
TaxRegistrationPoints to the tax registration record.Int64
RefRecId
NoTaxRegistration.RecIdNone
TransactionCurrencyAmountInvoice amount.Real
TaxIntgrExportDocumentNetAmount_CN
NoNone
VATInvoiceDescTable_CNPoints to the VAT invoice description record.Int64
RefRecId
NoVATInvoiceDescTable_CN.RecIdNone

Indexes (3)

Relations (6)

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

  • Auditor → DirPartyTable

    Join on InvoiceAuditor = DirPartyTable.RecId

    Many TaxIntgrExportDocument_CN records → zero or one DirPartyTable record

  • CompanyAddress → LogisticsPostalAddress

    Join on CompanyAddress = LogisticsPostalAddress.RecId

    Many TaxIntgrExportDocument_CN records → zero or one LogisticsPostalAddress record

  • CustAddress → LogisticsPostalAddress

    Join on CustAddress = LogisticsPostalAddress.RecId

    Many TaxIntgrExportDocument_CN records → zero or one LogisticsPostalAddress record

  • PaymentCollector → DirPartyTable

    Join on PaymentCollector = DirPartyTable.RecId

    Many TaxIntgrExportDocument_CN records → zero or one DirPartyTable record

  • Taxregistration → TaxRegistration

    Join on TaxRegistration = TaxRegistration.RecId

    Many TaxIntgrExportDocument_CN records → exactly one TaxRegistration record

  • VATDescription → VATInvoiceDescTable_CN

    Join on VATInvoiceDescTable_CN = VATInvoiceDescTable_CN.RecId

    Many TaxIntgrExportDocument_CN records → zero or one VATInvoiceDescTable_CN record

Get this data out

No public entity reads from TaxIntgrExportDocument_CN. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk