Table
VendFiscalDocumentNote_BR
Vendor fiscal note
Fiscal note for a vendor, used for Brazil. It holds the vendor, invoice number and date, fiscal document type, establishment, issuer, purpose, status and total amount. It can link to a complemented or cancelled fiscal document and to a received NF-e XML document through the access key.
- Table name
VendFiscalDocumentNote_BR- Module
Accounts receivable- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccessKeyAccess key of the document, linked to a received NF-e XML document. | String (45)EFDocAccessKey_BR | No | EFDocumentReceivedXML_BR.Accesskey | None |
CanceledFiscalDocumentNotePoints to the vendor fiscal note that this note cancels or refers to. | Int64RefRecId | No | VendFiscalDocumentNote_BR.RecId | None |
ComplementedFiscalDocumentPoints to the fiscal document that this note complements. | Int64RefRecId | No | FiscalDocument_BR.RecId | 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 | |
CurrencyCurrency code of the vendor note. | String (3)VendCurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DebitCreditNoteTypeBusiness type of the debit or credit note, such as fine and interest, advance payment or return. | EnumFiscalDocumentBusinessType_BR (enum) | No | None | |
DefaultDimensionPoints to the set of default dimension values. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DirectionShows whether the document is incoming or outgoing. | EnumFiscalDocDirection_BR (enum) | No | None | |
DocumentDateDate of the invoice. | DateDocumentDate | No | None | |
FiscalDocumentNumberInvoice number of the fiscal document. | String (50)InvoiceId | No | None | |
FiscalDocumentType_BRPoints to the fiscal document type, used for Brazil. | Int64RefRecId | No | FiscalDocumentType_BR.RecId | None |
FiscalEstablishment_BRPoints to the fiscal establishment, used for Brazil. | Int64FiscalEstablishmentRecId_BR | No | FiscalEstablishment_BR.RecId | None |
InclTaxShows whether prices include sales tax. | EnumInclTaxNoYes (enum) | No | None | |
IssuerWho issued the fiscal document: the fiscal establishment or a third party. | EnumFiscalDocumentIssuer_BR (enum) | No | None | |
LedgerVoucherVoucher number linked to the note. | String (20)Voucher | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurposePurpose of the document, such as regular, complement, adjustment, return, debit note or credit note. | EnumFiscalDocumentPurpose_BR (enum) | No | None | |
ReasonTableRef_BRPoints to a reason reference record, used for Brazil. | Int64ReasonTableRefRecId | No | ReasonTableRef.RecId | 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 | |
StatusStatus of the note: open, posted, cancelled or cancel in progress. | EnumFDDebitCreditNoteStatus_BR (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ThirdPartyLogisticsPostalAddressPoints to the postal address of a third party. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
TotalAmountTotal amount of the note, in accounting currency. | RealAmountMST | No | None | |
VendFinalUserShows whether the vendor is the final user. | EnumCustVendFinalUser_BRNoYes (enum) | No | None | |
VendTableAccount number of the vendor. | String (20)VendAccount | No | VendTable.AccountNum | None |
Indexes (4)
DimensionAttributeValueSetIdxNot unique.
CustTableIdxNot unique.
FiscalDocument_BRIdxNot unique.
FiscalEstablishment_BRIdxNot unique.
Relations (11)
Each relation joins VendFiscalDocumentNote_BR to another table on the fields shown.
ComplementedFiscalDocument→FiscalDocument_BRJoin on
ComplementedFiscalDocument = FiscalDocument_BR.RecIdMany VendFiscalDocumentNote_BR records → exactly one FiscalDocument_BR record
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany VendFiscalDocumentNote_BR records → zero or one Currency record
VendTable→VendTableJoin on
VendTable = VendTable.AccountNumMany VendFiscalDocumentNote_BR records → exactly one VendTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany VendFiscalDocumentNote_BR records → zero or one DimensionAttributeValueSet record
FiscalDocumentType→FiscalDocumentType_BRJoin on
FiscalDocumentType_BR = FiscalDocumentType_BR.RecIdMany VendFiscalDocumentNote_BR records → exactly one FiscalDocumentType_BR record
FiscalEstablishment→FiscalEstablishment_BRJoin on
FiscalEstablishment_BR = FiscalEstablishment_BR.RecIdMany VendFiscalDocumentNote_BR records → exactly one FiscalEstablishment_BR record
ReasonTableRef→ReasonTableRefJoin on
ReasonTableRef_BR = ReasonTableRef.RecIdMany VendFiscalDocumentNote_BR records → zero or one ReasonTableRef record
ThirdPartyPostalAddress→LogisticsPostalAddressJoin on
ThirdPartyLogisticsPostalAddress = LogisticsPostalAddress.RecIdMany VendFiscalDocumentNote_BR records → exactly one LogisticsPostalAddress record
EFDocumentReceivedXML_BR→EFDocumentReceivedXML_BRJoin on
AccessKey = EFDocumentReceivedXML_BR.Accesskey,FiscalEstablishment_BR = EFDocumentReceivedXML_BR.FiscalEstablishment_BR,EFDocumentReceivedXML_BR.Posted = NoYes::NoCardinality not set in the metadata.
CanceledFiscalDocumentNote→VendFiscalDocumentNote_BRJoin on
CanceledFiscalDocumentNote = VendFiscalDocumentNote_BR.RecIdMany VendFiscalDocumentNote_BR records → exactly one VendFiscalDocumentNote_BR record
TaxTrans→TaxTransJoin on
LedgerVoucher = TaxTrans.Voucher,DocumentDate = TaxTrans.TransDateCardinality not set in the metadata.
Get this data out
No public entity reads from VendFiscalDocumentNote_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with VendFiscalDocumentNote_BR in a report, an integration or a migration? Talk to Dr Dynamics.