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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExternalReferencedFiscalDocumentSystem record ID of the external fiscal document being referred to. | Int64RefRecId | No | ExternalFiscalDocument_BR.RecId | None |
FiscalDocumentSystem record ID of the fiscal document that holds the reference. | Int64RefRecId | No | FiscalDocument_BR.RecId | None |
FiscalDocumentLineSystem record ID of the fiscal document line that holds the reference. | Int64RefRecId | No | None | |
FiscalDocumentSourceTextID of the source text linked to the reference. It points to a fiscal document source text. | StringFiscalDocumentTextID_BR | No | FiscalDocumentSourceText_BR.TextID | 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 | |
ReferencedFiscalDocumentSystem record ID of the fiscal document being referred to. | Int64RefRecId | No | FiscalDocument_BR.RecId | None |
ReferencedFiscalDocumentLineSystem record ID of the fiscal document line being referred to. | Int64RefRecId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (4)
FiscalDocument_BRIdxNot unique.
FiscalDocument_BRIdx1Not unique.
FiscalDocumentExternalReferenced_BRIdxExternalReferencedFiscalDocumentNot unique.
FiscalDocumentSourceText_BRIdxNot unique.
Relations (6)
Each relation joins FiscalDocumentReferenced_BR to another table on the fields shown.
ExternalFiscalDocument_BR→ExternalFiscalDocument_BRJoin on
ExternalReferencedFiscalDocument = ExternalFiscalDocument_BR.RecIdMany FiscalDocumentReferenced_BR records → zero or one ExternalFiscalDocument_BR record
FiscalDocument→FiscalDocument_BRJoin on
FiscalDocument = FiscalDocument_BR.RecIdMany FiscalDocumentReferenced_BR records → zero or one FiscalDocument_BR record
FiscalDocumentSourceText→FiscalDocumentSourceText_BRJoin on
FiscalDocumentSourceText = FiscalDocumentSourceText_BR.TextIDMany FiscalDocumentReferenced_BR records → zero or one FiscalDocumentSourceText_BR record
ReferencedFiscalDocument→FiscalDocument_BRJoin on
ReferencedFiscalDocument = FiscalDocument_BR.RecIdMany FiscalDocumentReferenced_BR records → zero or one FiscalDocument_BR record
FiscalDocumentLine→FiscalDocumentLine_BRJoin on
FiscalDocument = FiscalDocumentLine_BR.FiscalDocument,FiscalDocumentLine = FiscalDocumentLine_BR.RecIdMany FiscalDocumentReferenced_BR records → zero or one FiscalDocumentLine_BR record
ReferencedFiscalDocumentLine→FiscalDocumentLine_BRJoin on
ReferencedFiscalDocument = FiscalDocumentLine_BR.FiscalDocument,ReferencedFiscalDocumentLine = FiscalDocumentLine_BR.RecIdMany 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.