Table
CustInvoiceTable_BR
Cust invoice table for Brazil
Extra Brazil-specific data for a customer free text invoice. It links to the invoice by record ID and company. It holds tax reform groups, service location details and the reason a foreigner ID is missing.
- Table name
CustInvoiceTable_BR- Module
Accounts receivable- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
CustInvoiceTableIdx- Replacement key
CustInvoiceTableIdx- Key fields
CustInvoiceTable, DataAreaId- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustInvoiceTableFree text invoice this record extends. | Int64RefRecId | No | CustInvoiceTable.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
IsServiceLocationForeign_BRYes/No flag: whether the service location is outside Brazil. | EnumServiceLocationForeign_BRNoYes (enum) | No | None | |
MissingNIFReasonType_BRReason why no foreigner ID (NIF) was given. Values: not informed, exempt, not required. | EnumMissingNIFReasonType_BR (enum) | No | None | |
OverrideSalesTax_BRYes/No flag: whether the tax reform values override the default tax determination. | 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 | |
ServiceLocationDomestic_BRCity of the domestic service location. | Int64RefRecId | No | LogisticsAddressCity.RecId | None |
ServiceLocationNonDomestic_BRCountry or region of a foreign service location. | StringLogisticsAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroup_BRTax group used for the Brazil tax reform. | StringTaxGroup | No | None | |
TaxItemGroup_BRItem tax group used for the Brazil tax reform. | StringTaxItemGroup | No | None |
Indexes (1)
CustInvoiceTableIdxPrimary indexReplacement keyUnique, alternate key.
Relations (5)
Each relation joins CustInvoiceTable_BR to another table on the fields shown.
CustInvoiceTable→CustInvoiceTableJoin on
CustInvoiceTable = CustInvoiceTable.RecIdZero or one CustInvoiceTable_BR record → exactly one CustInvoiceTable record
TaxGroupHeadingTaxServiceView→TaxGroupHeadingTaxServiceViewJoin on
TaxGroup_BR = TaxGroupHeadingTaxServiceView.TaxGroupMany CustInvoiceTable_BR records → zero or one TaxGroupHeadingTaxServiceView record
TaxItemGroupHeadingTaxServiceView→TaxItemGroupHeadingTaxServiceViewJoin on
TaxItemGroup_BR = TaxItemGroupHeadingTaxServiceView.TaxItemGroupMany CustInvoiceTable_BR records → zero or one TaxItemGroupHeadingTaxServiceView record
LogisticsAddressCity→LogisticsAddressCityJoin on
ServiceLocationDomestic_BR = LogisticsAddressCity.RecIdMany CustInvoiceTable_BR records → exactly one LogisticsAddressCity record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
ServiceLocationNonDomestic_BR = LogisticsAddressCountryRegion.CountryRegionIdMany CustInvoiceTable_BR records → exactly one LogisticsAddressCountryRegion record
Get this data out
No public entity reads from CustInvoiceTable_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustInvoiceTable_BR in a report, an integration or a migration? Talk to Dr Dynamics.