Table
FBFiscalDocumentAdjustment_BR
Fiscal document adjust/benefit/incentive
Holds adjustment, benefit and incentive lines linked to Brazilian fiscal documents. Each line can point to an ICMS adjustment code, a general adjustment code, an observation code, a tax assessment or a fiscal document tax transaction. It also stores amounts, tax type, state and cancellation details. Used for Brazil.
- Table name
FBFiscalDocumentAdjustment_BR- Module
Fiscal books brazil- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
FiscalBooks
Fields (29)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CancelTransDateDate on which the adjustment was cancelled. | DateTransDate | No | None | |
CancelVoucherVoucher number linked to the cancellation. | String (20)Voucher | No | None | |
ComplementaryDescriptionExtra free text that gives more detail about the adjustment. | String (255)FBComplementaryDescription_BR | Yes | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatePaymentYes/No flag labelled "Other debit". The metadata does not state what it triggers.low confidence | EnumFBAdjustmentCreatePayment_BRNoYes (enum) | No | None | |
FBFiscalDocumentAdjustmentCodeICMS_BRPoints to the ICMS adjustment code record used for this line. | Int64FBFiscalDocumentAdjustmentCodeRecId_BR | No | FBFiscalDocumentAdjustmentCodeICMS_BR.RecId | None |
FBGeneralAdjustmentCode_BRPoints to the general adjustment code record used for this line. | Int64FBGeneralAdjustmentCodeRecId_BR | No | FBGeneralAdjustmentCode_BR.RecId | None |
FBObservationCodeTable_BRPoints to the observation code record linked to this line. | Int64FBObservationCodeRecId_BR | Yes | FBObservationCodeTable_BR.RecId | None |
FBTaxAssessment_BRPoints to the tax assessment record this adjustment refers to. | Int64RefRecId | Yes | FBTaxAssessment_BR.RecId | None |
FiscalDocumentTaxTrans_BRPoints to the fiscal document tax transaction this adjustment refers to. | Int64RefRecId | No | FiscalDocumentTaxTrans_BR.RecId | None |
FiscalEstablishmentIdID of the fiscal establishment the adjustment belongs to. | StringFBFiscalEstablishmentId_BR | No | None | |
IsCancelledYes/No flag showing whether the adjustment has been cancelled. | EnumNoYesIdNoYes (enum) | No | None | |
IsPovertyFundYes/No flag showing whether the adjustment relates to FCP, the poverty fund. | EnumNoYes (enum) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | 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 | |
StateCode of the state linked to the adjustment. | StringLogisticsAddressStateId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountTax amount of the adjustment. | RealFBTaxAmount_BR | Yes | None | |
TaxAmountOtherAmount of other tax related to the adjustment. | RealFBTaxAmount_BR | No | None | |
TaxBaseAmountBase amount on which the tax is taken. | RealFBTaxBaseAmount_BR | No | None | |
TaxType_BRKind of tax, such as IPI, PIS, ICMS, COFINS, ISS, IRRF or INSS. | EnumTaxType_BR (enum) | No | None | |
TaxValueSales tax rate for the adjustment. | RealFBTaxValue_BR | No | None | |
TransDateDate of the adjustment transaction. | DateTransDate | No | None | |
VoucherVoucher number of the adjustment. | String (20)Voucher | No | None | |
VoucherDataAreaCompany (legal entity) that the voucher belongs to. | StringDataAreaId | No | None |
Indexes (1)
FiscalDocumentAdjustmentIdxFBFiscalDocumentAdjustmentCodeICMS_BR,FBGeneralAdjustmentCode_BR,FiscalDocumentTaxTrans_BR,FBObservationCodeTable_BR,CancelVoucher,CancelTransDate,IsCancelledUnique, alternate key.
Relations (6)
Each relation joins FBFiscalDocumentAdjustment_BR to another table on the fields shown.
FBFiscalDocumentAdjustmentCodeICMS_BR→FBFiscalDocumentAdjustmentCodeICMS_BRJoin on
FBFiscalDocumentAdjustmentCodeICMS_BR = FBFiscalDocumentAdjustmentCodeICMS_BR.RecIdZero or one FBFiscalDocumentAdjustment_BR record → exactly one FBFiscalDocumentAdjustmentCodeICMS_BR record
FBObservationCodeTable_BR→FBObservationCodeTable_BRJoin on
FBObservationCodeTable_BR = FBObservationCodeTable_BR.RecIdExactly one FBFiscalDocumentAdjustment_BR record → exactly one FBObservationCodeTable_BR record
FBTaxAssessment_BR→FBTaxAssessment_BRJoin on
FBTaxAssessment_BR = FBTaxAssessment_BR.RecIdExactly one FBFiscalDocumentAdjustment_BR record → exactly one FBTaxAssessment_BR record
FiscalDocumentTaxTrans_BR→FiscalDocumentTaxTrans_BRJoin on
FiscalDocumentTaxTrans_BR = FiscalDocumentTaxTrans_BR.RecIdZero or one FBFiscalDocumentAdjustment_BR record → zero or one FiscalDocumentTaxTrans_BR record
FBGeneralAdjustmentCode_BR→FBGeneralAdjustmentCode_BRJoin on
FBGeneralAdjustmentCode_BR = FBGeneralAdjustmentCode_BR.RecIdZero or one FBFiscalDocumentAdjustment_BR record → exactly one FBGeneralAdjustmentCode_BR record
FBFiscalDocumentAdjustmentCodeView_BR→FBFiscalDocumentAdjustmentCodeView_BRJoin on
FBFiscalDocumentAdjustmentCodeICMS_BR = FBFiscalDocumentAdjustmentCodeView_BR.FBFiscalDocumentAdjustmentCodeICMS_BR,FBGeneralAdjustmentCode_BR = FBFiscalDocumentAdjustmentCodeView_BR.FBGeneralAdjustmentCode_BRMany FBFiscalDocumentAdjustment_BR records → exactly one FBFiscalDocumentAdjustmentCodeView_BR record
Get this data out
No public entity reads from FBFiscalDocumentAdjustment_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with FBFiscalDocumentAdjustment_BR in a report, an integration or a migration? Talk to Dr Dynamics.