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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
IdExport document ID, the key of the table. | String (20)TaxIntgrExportDocumentId_CN | Yes | None | |
CompanyAddressPoints to the company postal address. | Int64RefRecId | No | LogisticsPostalAddress.RecId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeCurrency code of the document. | String (3)CustCurrencyCode | Yes | None | |
CustAddressPoints to the customer postal address. | Int64RefRecId | No | LogisticsPostalAddress.RecId | None |
CustBankAccountIdCustomer bank account. | StringCustBankAccountId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionChargesDescription of the miscellaneous charges. | String (60)TransTxt | No | None | |
DocumentDateDate of the document. | DateDocumentDate | No | None | |
ExportedDateTimeDate and time when the document was processed. | UtcDateTimeDateTimeExecuted | No | None | |
ExternalInvoiceIdInvoice number from an external source. | String (50)TaxExternalInvoiceId_CN | No | None | |
InvoiceAccountCustomer invoice account. | String (20)CustInvoiceAccount | Yes | None | |
InvoiceAuditorPoints to the auditor's record in the global address book. | Int64RefRecId | No | DirPartyTable.RecId | None |
IsExportedYes/no flag showing whether the document has been exported. | EnumTaxExportDirect_CNNoYes (enum) | No | None | |
IsOverAmountLimitYes/no flag showing whether the amount is over the limit. | EnumNoYesIdNoYes (enum) | No | None | |
MiscChargesExemptTaxYes/no flag for tax exemption on the miscellaneous charge. | EnumTaxExemptTaxNoYes (enum) | No | None | |
MiscChargesLineNumLine number of the miscellaneous charge. | RealLineNum | No | None | |
MiscChargesNetAmountNet amount of the miscellaneous charge. | RealTaxIntgrExportDocumentNetAmount_CN | No | None | |
MiscChargesTaxAmountTax amount of the miscellaneous charge. | RealTaxIntgrExportDocumentTaxAmount_CN | No | None | |
MiscChargesTaxValueTax value (rate) of the miscellaneous charge. | RealTaxIntgrExportDocumentTaxValue_CN | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentCollectorPoints to the payment collector's record in the global address book. | Int64RefRecId | No | DirPartyTable.RecId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReversedBookNumBook number of the reversed invoice. | String (20)TaxIntgrReversedBookNum_CN | No | None | |
ReversedInvoiceNumNumber of the reversed invoice. | String (8)TaxIntgrReversedInvoiceNum_CN | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxCodeSales tax code. | StringTaxCode | No | None | |
TaxRegistrationPoints to the tax registration record. | Int64RefRecId | No | TaxRegistration.RecId | None |
TransactionCurrencyAmountInvoice amount. | RealTaxIntgrExportDocumentNetAmount_CN | No | None | |
VATInvoiceDescTable_CNPoints to the VAT invoice description record. | Int64RefRecId | No | VATInvoiceDescTable_CN.RecId | None |
Indexes (3)
ExportDocumentIdxReplacement keyUnique, alternate key.
VATInvoiceIdxNot unique.
ExportedDateTimeIdxNot unique.
Relations (6)
Each relation joins TaxIntgrExportDocument_CN to another table on the fields shown.
Auditor→DirPartyTableJoin on
InvoiceAuditor = DirPartyTable.RecIdMany TaxIntgrExportDocument_CN records → zero or one DirPartyTable record
CompanyAddress→LogisticsPostalAddressJoin on
CompanyAddress = LogisticsPostalAddress.RecIdMany TaxIntgrExportDocument_CN records → zero or one LogisticsPostalAddress record
CustAddress→LogisticsPostalAddressJoin on
CustAddress = LogisticsPostalAddress.RecIdMany TaxIntgrExportDocument_CN records → zero or one LogisticsPostalAddress record
PaymentCollector→DirPartyTableJoin on
PaymentCollector = DirPartyTable.RecIdMany TaxIntgrExportDocument_CN records → zero or one DirPartyTable record
Taxregistration→TaxRegistrationJoin on
TaxRegistration = TaxRegistration.RecIdMany TaxIntgrExportDocument_CN records → exactly one TaxRegistration record
VATDescription→VATInvoiceDescTable_CNJoin on
VATInvoiceDescTable_CN = VATInvoiceDescTable_CN.RecIdMany 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.