Table

FiscalDocumentLineSource_BR

Fiscal document line source transaction references

Links a Brazilian fiscal document line to the source transaction it came from, such as a customer invoice line. The reference is a record ID plus a table ID, so several source tables are possible. It has no defined key.

Table name
FiscalDocumentLineSource_BR
Module
Fiscal books brazil
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FiscalDocumentLineSystem record ID of the fiscal document line.Int64
FiscalDocumentLineRecId_BR
NoFiscalDocumentLine_BR.RecIdNone
InventTransIdLot ID that links to the inventory transaction origin.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
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
SourceDocumentLineRecIdSystem record ID of the source line, for example a customer invoice line.Int64
RefRecId
NoNone
SourceDocumentLineTableIdID of the table that holds the source line.Integer
RefTableId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

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

  • FiscalDocumentLine → FiscalDocumentLine_BR

    Join on FiscalDocumentLine = FiscalDocumentLine_BR.RecId

    One or more FiscalDocumentLineSource_BR records → zero or one FiscalDocumentLine_BR record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many FiscalDocumentLineSource_BR records → exactly one InventTransOrigin record

  • RefCustInvoiceTrans → CustInvoiceTrans

    Join on SourceDocumentLineTableId = CustInvoiceTrans.TableId, SourceDocumentLineRecId = CustInvoiceTrans.RecId

    Many FiscalDocumentLineSource_BR records → zero or one CustInvoiceTrans record

  • RefCustPackingSlipTrans → CustPackingSlipTrans

    Join on SourceDocumentLineTableId = CustPackingSlipTrans.TableId, SourceDocumentLineRecId = CustPackingSlipTrans.RecId

    Many FiscalDocumentLineSource_BR records → zero or one CustPackingSlipTrans record

  • RefVendInvoiceTrans → VendInvoiceTrans

    Join on SourceDocumentLineTableId = VendInvoiceTrans.TableId, SourceDocumentLineRecId = VendInvoiceTrans.RecId

    Many FiscalDocumentLineSource_BR records → zero or one VendInvoiceTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk