Table
CustFiscalDocumentNote_BR
Customer fiscal note
Holds customer fiscal notes, used for Brazil, such as debit or credit notes. Each note has a status, purpose, direction, issuer and total amount. It links to the customer, the fiscal document, the fiscal establishment and the reason reference.
- Table name
CustFiscalDocumentNote_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 received electronic invoice document, linked to the received XML documents. | String (45)EFDocAccessKey_BR | No | EFDocumentReceivedXML_BR.Accesskey | None |
CanceledFiscalDocumentNoteCustomer fiscal note that this record cancels, as a system record ID. | Int64RefRecId | No | CustFiscalDocumentNote_BR.RecId | None |
ComplementedFiscalDocumentFiscal document that this note complements, as a system record ID. | 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 note. | String (3)CustCurrencyCode | No | Currency.CurrencyCode | None |
CustFinalUserYes/No flag showing whether the customer is a final user. | EnumCustVendFinalUser_BRNoYes (enum) | No | None | |
CustTableCustomer account the note is for. | String (20)CustAccount | No | CustTable.AccountNum | 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, inventory loss or return. | EnumFiscalDocumentBusinessType_BR (enum) | No | None | |
DefaultDimensionDefault financial dimension values for the note. | 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_BRType of fiscal document. | Int64RefRecId | No | FiscalDocumentType_BR.RecId | None |
FiscalEstablishment_BRFiscal establishment linked to the note. | Int64FiscalEstablishmentRecId_BR | No | FiscalEstablishment_BR.RecId | None |
InclTaxYes/No flag showing 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, which relates to posted sales tax records. | 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 note, such as regular, tax complement, price complement, adjustment, return, debit note or credit note. | EnumFiscalDocumentPurpose_BR (enum) | No | None | |
ReasonTableRef_BRReference to the reason record for the note. | 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 | |
StatusState of the note: open, posted, canceled or cancel in progress. | EnumFDDebitCreditNoteStatus_BR (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ThirdPartyLogisticsPostalAddressPostal address, linked to the addresses table. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
TotalAmountTotal amount of the note in accounting currency. | RealAmountMST | No | None |
Indexes (5)
DimensionAttributeValueSetIdxNot unique.
FiscalDocumentType_BRIdxNot unique.
CustTableIdxNot unique.
FiscalDocument_BRIdxNot unique.
FiscalEstablishment_BRIdxNot unique.
Relations (11)
Each relation joins CustFiscalDocumentNote_BR to another table on the fields shown.
ComplementedFiscalDocument→FiscalDocument_BRJoin on
ComplementedFiscalDocument = FiscalDocument_BR.RecIdMany CustFiscalDocumentNote_BR records → exactly one FiscalDocument_BR record
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany CustFiscalDocumentNote_BR records → zero or one Currency record
CustTable→CustTableJoin on
CustTable = CustTable.AccountNumMany CustFiscalDocumentNote_BR records → exactly one CustTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustFiscalDocumentNote_BR records → zero or one DimensionAttributeValueSet record
FiscalDocumentType→FiscalDocumentType_BRJoin on
FiscalDocumentType_BR = FiscalDocumentType_BR.RecIdMany CustFiscalDocumentNote_BR records → exactly one FiscalDocumentType_BR record
FiscalEstablishment→FiscalEstablishment_BRJoin on
FiscalEstablishment_BR = FiscalEstablishment_BR.RecIdMany CustFiscalDocumentNote_BR records → exactly one FiscalEstablishment_BR record
ReasonTableRef→ReasonTableRefJoin on
ReasonTableRef_BR = ReasonTableRef.RecIdMany CustFiscalDocumentNote_BR records → zero or one ReasonTableRef record
ThirdPartyPostalAddress→LogisticsPostalAddressJoin on
ThirdPartyLogisticsPostalAddress = LogisticsPostalAddress.RecIdMany CustFiscalDocumentNote_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→CustFiscalDocumentNote_BRJoin on
CanceledFiscalDocumentNote = CustFiscalDocumentNote_BR.RecIdMany CustFiscalDocumentNote_BR records → exactly one CustFiscalDocumentNote_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 CustFiscalDocumentNote_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustFiscalDocumentNote_BR in a report, an integration or a migration? Talk to Dr Dynamics.