Table
CustInvoiceTransHistory_BR
CustInvoiceTrans_BR history data
History copy of Brazil-specific data for customer invoice lines. It holds ICMS-ST collection details and tax group fields related to the Brazil tax reform. Each row refers to an invoice line.
- Table name
CustInvoiceTransHistory_BR- Module
Accounts receivable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustInvoiceTransRecord ID of the customer invoice line. | Int64CustInvoiceTransRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ICMSSTCollectionPaymentModeHow the ICMS-ST was collected, such as state document or GNRE. | EnumICMSSTCollectionPaymentMode_BR (enum) | No | None | |
ICMSSTCollectionPaymentNumberPayment number of the ICMS-ST collection. | String (256)ICMSSTCollectionPaymentNumber_BR | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NfeVbcstretVicmsstretTagsReportedYes or No flag for whether the vBCSTRet and vICMSSTRet tags are reported in the Nfe XML. | EnumFBNfeVbcstretVicmsstretTagsReported_BRNoYes (enum) | No | None | |
OverrideSalesTax_BRYes or No flag to override tax determination for the tax reform. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
RespWithholdoingICMSSTParty that withholds the ICMS-ST: direct, indirect or own declarant. | EnumRespWithholdingICMSST_BR (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroup_BRTax group for the tax reform. Relates to the tax service view of tax groups. | StringTaxGroup | No | None | |
TaxItemGroup_BRItem tax group for the tax reform. Relates to the tax service view of item tax groups. | StringTaxItemGroup | No | None |
Indexes (1)
CustInvoiceTransIdxCustInvoiceTrans,DataAreaId,PartitionUnique, alternate key.
Relations (2)
Each relation joins CustInvoiceTransHistory_BR to another table on the fields shown.
TaxGroupHeadingTaxServiceView→TaxGroupHeadingTaxServiceViewJoin on
TaxGroup_BR = TaxGroupHeadingTaxServiceView.TaxGroupMany CustInvoiceTransHistory_BR records → zero or one TaxGroupHeadingTaxServiceView record
TaxItemGroupHeadingTaxServiceView→TaxItemGroupHeadingTaxServiceViewJoin on
TaxItemGroup_BR = TaxItemGroupHeadingTaxServiceView.TaxItemGroupMany CustInvoiceTransHistory_BR records → zero or one TaxItemGroupHeadingTaxServiceView record
Get this data out
No public entity reads from CustInvoiceTransHistory_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustInvoiceTransHistory_BR in a report, an integration or a migration? Talk to Dr Dynamics.