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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CFPSId_BRCFPS code, a four-character fiscal code used for Brazil.String (4)
CFPSId_BR
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceRefRecId_BRSystem record ID of the related vendor invoice journal record.Int64
RefRecId
NoVendInvoiceJour.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PresenceTypeHow the buyer was present in the transaction, such as in person, internet or telesales.Enum
EFDocPresenceType_BR (enum)
NoNone
PurchTableSystem record ID of the purchase order this data belongs to.Int64
RefRecId
YesPurchTable.RecIdNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SalesPurchOperationType_BRSystem record ID of the operation type applied to the order.Int64
SalesPurchOperationTypeRecId_BR
NoSalesPurchOperationType_BR.RecIdPurchPurchaseOrderHeaderV2Entity
ServiceCodeOnDlvAddress_BRYes/No flag for the service code on the delivery address.Enum
TaxServiceCodeOnDlvAddress_BR
NoYes (enum)
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxDirectImport_BRYes/No flag for direct import. No label is given, so the exact meaning is inferred from the name.low confidenceEnum
NoYes (enum)
NoNone
VendFinalUser_BRYes/No flag for use and consumption, which marks the vendor as final user.Enum
CustVendFinalUser_BR
NoYes (enum)
NoNone
VendFineSetup_BRCode of the fine setup that applies. Points to VendFineSetup_BR.String
VendFineCode_BR
NoVendFineSetup_BR.FineCodeNone
VendInterestSetup_BRCode of the interest setup that applies. Points to VendInterestSetup_BR.String
VendInterestCode_BR
NoVendInterestSetup_BR.InterestCodeNone

Indexes (2)

Relations (5)

Each relation joins PurchTable_BR to another table on the fields shown.

  • FineCode → VendFineSetup_BR

    Join on VendFineSetup_BR = VendFineSetup_BR.FineCode

    Many PurchTable_BR records → zero or one VendFineSetup_BR record

  • InterestCode → VendInterestSetup_BR

    Join on VendInterestSetup_BR = VendInterestSetup_BR.InterestCode

    Many PurchTable_BR records → zero or one VendInterestSetup_BR record

  • InvoiceRefRecId_BR → VendInvoiceJour

    Join on InvoiceRefRecId_BR = VendInvoiceJour.RecId

    Many PurchTable_BR records → zero or one VendInvoiceJour record

  • PurchTable → PurchTable

    Join on PurchTable = PurchTable.RecId

    Zero or one PurchTable_BR record → exactly one PurchTable record

  • SalesPurchOperationType_BR → SalesPurchOperationType_BR

    Join on SalesPurchOperationType_BR = SalesPurchOperationType_BR.RecId

    Many 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.

Need help with PurchTable_BR in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk