Table
FBBookingPeriodPrepFiscalDocument_BR
Prepared fiscal documents for booking periods
Holds fiscal documents prepared for booking periods. It stores the fiscal situation, flags for the taxes present and SPED record codes. Keyed by fiscal document and Z report. Used for Brazil.
- Table name
FBBookingPeriodPrepFiscalDocument_BR- Module
Fiscal books brazil- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
BookingPeriodFiscalDocumentIdx- Key fields
FiscalDocument_BR, RetailZReport_BR- Model
Foundation
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FiscalDocument_BRPoints to the fiscal document header. | Int64FiscalDocumentRecId_BR | Yes | FiscalDocument_BR.RecId | None |
RetailZReport_BRPoints to the Z report record, where one applies. | Int64RefRecId | No | RetailZReport_BR.RecId | None |
FiscalSituationFiscal situation of the document, such as regular, canceled or denied. | EnumFBFiscalDocumentSituation_BR (enum) | No | None | |
HasCBSYes/No flag: the document has a CBS tax transaction. | EnumNoYes (enum) | No | None | |
HasCofinsYes/No flag: the document has a COFINS tax transaction. | EnumNoYes (enum) | No | None | |
HasIBSCityYes/No flag: the document has an IBS city tax transaction. | EnumNoYes (enum) | No | None | |
HasIBSStateYes/No flag: the document has an IBS state tax transaction. | EnumNoYes (enum) | No | None | |
HasIcmsYes/No flag: the document has an ICMS tax transaction. | EnumNoYes (enum) | No | None | |
HasIcmsDiffYes/No flag: the document has an ICMS-DIFF tax transaction. | EnumNoYes (enum) | No | None | |
HasIcmsStYes/No flag: the document has an ICMS-ST tax transaction. | EnumNoYes (enum) | No | None | |
HasInssYes/No flag: the document has an INSS tax transaction. | EnumNoYes (enum) | No | None | |
HasInssRetYes/No flag: the document has a retained INSS tax transaction. | EnumNoYes (enum) | No | None | |
HasIpiYes/No flag: the document has an IPI tax transaction. | EnumNoYes (enum) | No | None | |
HasISYes/No flag: the document has an IS tax transaction. | EnumNoYes (enum) | No | None | |
HasIssYes/No flag: the document has an ISS tax transaction. | EnumNoYes (enum) | No | None | |
HasPisYes/No flag: the document has a PIS tax transaction. | EnumNoYes (enum) | No | 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 | |
SpedContribRecordSPED contributions record identifier. | String (5)FBSpedFileRecordIdentification_BR | No | None | |
SpedFiscalRecordSPED fiscal record identifier. | String (5)FBSpedFileRecordIdentification_BR | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ThirdPartyTypeType of the third party, such as person or organization. | EnumDirPartyType (enum) | No | None |
Indexes (2)
BookingPeriodFiscalDocumentIdxReplacement keyFiscalDocument_BR,RetailZReport_BRUnique, alternate key.
RetailZReportIdxNot unique.
Relations (2)
Each relation joins FBBookingPeriodPrepFiscalDocument_BR to another table on the fields shown.
FiscalDocument_BR→FiscalDocument_BRJoin on
FiscalDocument_BR = FiscalDocument_BR.RecIdZero or one FBBookingPeriodPrepFiscalDocument_BR record → exactly one FiscalDocument_BR record
RetailZReport_BR→RetailZReport_BRJoin on
RetailZReport_BR = RetailZReport_BR.RecIdMany FBBookingPeriodPrepFiscalDocument_BR records → zero or one RetailZReport_BR record
Get this data out
No public entity reads from FBBookingPeriodPrepFiscalDocument_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with FBBookingPeriodPrepFiscalDocument_BR in a report, an integration or a migration? Talk to Dr Dynamics.