Table

FiscalDocumentReferenced_BR

Referenced fiscal documents

Records references between Brazilian fiscal documents, for example one document that refers to another. The reference can point to an internal document, an external one, or to specific lines, and can carry a source text. It has no defined key.

Table name
FiscalDocumentReferenced_BR
Module
Fiscal books brazil
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
FiscalBooks

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExternalReferencedFiscalDocumentSystem record ID of the external fiscal document being referred to.Int64
RefRecId
NoExternalFiscalDocument_BR.RecIdNone
FiscalDocumentSystem record ID of the fiscal document that holds the reference.Int64
RefRecId
NoFiscalDocument_BR.RecIdNone
FiscalDocumentLineSystem record ID of the fiscal document line that holds the reference.Int64
RefRecId
NoNone
FiscalDocumentSourceTextID of the source text linked to the reference. It points to a fiscal document source text.String
FiscalDocumentTextID_BR
NoFiscalDocumentSourceText_BR.TextIDNone
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
ReferencedFiscalDocumentSystem record ID of the fiscal document being referred to.Int64
RefRecId
NoFiscalDocument_BR.RecIdNone
ReferencedFiscalDocumentLineSystem record ID of the fiscal document line being referred to.Int64
RefRecId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (6)

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

  • ExternalFiscalDocument_BR → ExternalFiscalDocument_BR

    Join on ExternalReferencedFiscalDocument = ExternalFiscalDocument_BR.RecId

    Many FiscalDocumentReferenced_BR records → zero or one ExternalFiscalDocument_BR record

  • FiscalDocument → FiscalDocument_BR

    Join on FiscalDocument = FiscalDocument_BR.RecId

    Many FiscalDocumentReferenced_BR records → zero or one FiscalDocument_BR record

  • FiscalDocumentSourceText → FiscalDocumentSourceText_BR

    Join on FiscalDocumentSourceText = FiscalDocumentSourceText_BR.TextID

    Many FiscalDocumentReferenced_BR records → zero or one FiscalDocumentSourceText_BR record

  • ReferencedFiscalDocument → FiscalDocument_BR

    Join on ReferencedFiscalDocument = FiscalDocument_BR.RecId

    Many FiscalDocumentReferenced_BR records → zero or one FiscalDocument_BR record

  • FiscalDocumentLine → FiscalDocumentLine_BR

    Join on FiscalDocument = FiscalDocumentLine_BR.FiscalDocument, FiscalDocumentLine = FiscalDocumentLine_BR.RecId

    Many FiscalDocumentReferenced_BR records → zero or one FiscalDocumentLine_BR record

  • ReferencedFiscalDocumentLine → FiscalDocumentLine_BR

    Join on ReferencedFiscalDocument = FiscalDocumentLine_BR.FiscalDocument, ReferencedFiscalDocumentLine = FiscalDocumentLine_BR.RecId

    Many FiscalDocumentReferenced_BR records → zero or one FiscalDocumentLine_BR record

Get this data out

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

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

Email sales@drdynamics.co.uk