Table

CustInvoiceLine_BR

Cust invoice line for Brazil

Extra Brazil-specific data for a customer free text invoice line. It is keyed by the invoice line and company. It holds tax reform settings and links to NBS codes and operation indicator codes.

Table name
CustInvoiceLine_BR
Module
Accounts receivable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
CustInvoiceLineIdx
Replacement key
CustInvoiceLineIdx
Key fields
CustInvoiceLine, DataAreaId
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceLinePoints to the free text invoice line that these Brazil details belong to.Int64
RefRecId
YesCustInvoiceLine.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
IndOpCode_BRPoints to the operation indicator code record for the line.Int64
RefRecId
NoIndOpCodes_BR.RecIdNone
NBSCode_BRPoints to the NBS code record for the line.Int64
RefRecId
NoNBSCodes_BR.RecIdNone
OverrideSalesTax_BRYes/No flag that turns on an override of the sales tax setting for the tax reform.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
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 CustInvoiceLine_BR to another table on the fields shown.

  • CustInvoiceLine → CustInvoiceLine

    Join on CustInvoiceLine = CustInvoiceLine.RecId

    Zero or one CustInvoiceLine_BR record → exactly one CustInvoiceLine record

  • TaxGroupHeadingTaxServiceView → TaxGroupHeadingTaxServiceView

    Join on TaxGroup_BR = TaxGroupHeadingTaxServiceView.TaxGroup

    Many CustInvoiceLine_BR records → zero or one TaxGroupHeadingTaxServiceView record

  • TaxItemGroupHeadingTaxServiceView → TaxItemGroupHeadingTaxServiceView

    Join on TaxItemGroup_BR = TaxItemGroupHeadingTaxServiceView.TaxItemGroup

    Many CustInvoiceLine_BR records → zero or one TaxItemGroupHeadingTaxServiceView record

  • NBSCodes_BR → NBSCodes_BR

    Join on NBSCode_BR = NBSCodes_BR.RecId

    Many CustInvoiceLine_BR records → exactly one NBSCodes_BR record

  • IndOpCodes_BR → IndOpCodes_BR

    Join on IndOpCode_BR = IndOpCodes_BR.RecId

    Many CustInvoiceLine_BR records → exactly one IndOpCodes_BR record

Get this data out

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

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

Email sales@drdynamics.co.uk