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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceTableFree text invoice this record extends.Int64
RefRecId
NoCustInvoiceTable.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
IsServiceLocationForeign_BRYes/No flag: whether the service location is outside Brazil.Enum
ServiceLocationForeign_BR
NoYes (enum)
NoNone
MissingNIFReasonType_BRReason why no foreigner ID (NIF) was given. Values: not informed, exempt, not required.Enum
MissingNIFReasonType_BR (enum)
NoNone
OverrideSalesTax_BRYes/No flag: whether the tax reform values override the default tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
ServiceLocationDomestic_BRCity of the domestic service location.Int64
RefRecId
NoLogisticsAddressCity.RecIdNone
ServiceLocationNonDomestic_BRCountry or region of a foreign service location.String
LogisticsAddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroup_BRTax group used for the Brazil tax reform.String
TaxGroup
NoNone
TaxItemGroup_BRItem tax group used for the Brazil tax reform.String
TaxItemGroup
NoNone

Indexes (1)

Relations (5)

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

  • CustInvoiceTable → CustInvoiceTable

    Join on CustInvoiceTable = CustInvoiceTable.RecId

    Zero or one CustInvoiceTable_BR record → exactly one CustInvoiceTable record

  • TaxGroupHeadingTaxServiceView → TaxGroupHeadingTaxServiceView

    Join on TaxGroup_BR = TaxGroupHeadingTaxServiceView.TaxGroup

    Many CustInvoiceTable_BR records → zero or one TaxGroupHeadingTaxServiceView record

  • TaxItemGroupHeadingTaxServiceView → TaxItemGroupHeadingTaxServiceView

    Join on TaxItemGroup_BR = TaxItemGroupHeadingTaxServiceView.TaxItemGroup

    Many CustInvoiceTable_BR records → zero or one TaxItemGroupHeadingTaxServiceView record

  • LogisticsAddressCity → LogisticsAddressCity

    Join on ServiceLocationDomestic_BR = LogisticsAddressCity.RecId

    Many CustInvoiceTable_BR records → exactly one LogisticsAddressCity record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on ServiceLocationNonDomestic_BR = LogisticsAddressCountryRegion.CountryRegionId

    Many 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.

Email sales@drdynamics.co.uk