Table
PurchTable_BR
Purchase orders information for Brazil
Extra purchase order header data used for Brazil. It links to the purchase order in PurchTable. It holds fiscal details such as the CFPS code, operation type, fine and interest codes, and presence type.
- Table name
PurchTable_BR- Module
Accounts payable- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CFPSId_BRCFPS code, a four-character fiscal code used for Brazil. | String (4)CFPSId_BR | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceRefRecId_BRSystem record ID of the related vendor invoice journal record. | Int64RefRecId | No | VendInvoiceJour.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PresenceTypeHow the buyer was present in the transaction, such as in person, internet or telesales. | EnumEFDocPresenceType_BR (enum) | No | None | |
PurchTableSystem record ID of the purchase order this data belongs to. | Int64RefRecId | Yes | PurchTable.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 | |
SalesPurchOperationType_BRSystem record ID of the operation type applied to the order. | Int64SalesPurchOperationTypeRecId_BR | No | SalesPurchOperationType_BR.RecId | PurchPurchaseOrderHeaderV2Entity |
ServiceCodeOnDlvAddress_BRYes/No flag for the service code on the delivery address. | EnumTaxServiceCodeOnDlvAddress_BRNoYes (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxDirectImport_BRYes/No flag for direct import. No label is given, so the exact meaning is inferred from the name.low confidence | EnumNoYes (enum) | No | None | |
VendFinalUser_BRYes/No flag for use and consumption, which marks the vendor as final user. | EnumCustVendFinalUser_BRNoYes (enum) | No | None | |
VendFineSetup_BRCode of the fine setup that applies. Points to VendFineSetup_BR. | StringVendFineCode_BR | No | VendFineSetup_BR.FineCode | None |
VendInterestSetup_BRCode of the interest setup that applies. Points to VendInterestSetup_BR. | StringVendInterestCode_BR | No | VendInterestSetup_BR.InterestCode | None |
Indexes (2)
SalesPurchOperationType_BRIdxNot unique.
PurchTableIdxUnique.
Relations (5)
Each relation joins PurchTable_BR to another table on the fields shown.
FineCode→VendFineSetup_BRJoin on
VendFineSetup_BR = VendFineSetup_BR.FineCodeMany PurchTable_BR records → zero or one VendFineSetup_BR record
InterestCode→VendInterestSetup_BRJoin on
VendInterestSetup_BR = VendInterestSetup_BR.InterestCodeMany PurchTable_BR records → zero or one VendInterestSetup_BR record
InvoiceRefRecId_BR→VendInvoiceJourJoin on
InvoiceRefRecId_BR = VendInvoiceJour.RecIdMany PurchTable_BR records → zero or one VendInvoiceJour record
PurchTable→PurchTableJoin on
PurchTable = PurchTable.RecIdZero or one PurchTable_BR record → exactly one PurchTable record
SalesPurchOperationType_BR→SalesPurchOperationType_BRJoin on
SalesPurchOperationType_BR = SalesPurchOperationType_BR.RecIdMany PurchTable_BR records → zero or one SalesPurchOperationType_BR record
Get this data out
Tables are not exposed directly. These public entities read from PurchTable_BR; use one of them in Power BI, Power Platform or a data management project.
PurchPurchaseOrderHeaderV2Entity· 1 field from this table
Need help with PurchTable_BR in a report, an integration or a migration? Talk to Dr Dynamics.