Table
PurchTableHistory_BR
Purchase order history
Holds extra purchase order history details used for Brazil. It stores the CFPS code, operation type, a link to a vendor invoice journal and some Yes/No flags. Each row extends a purchase order history record.
- Table name
PurchTableHistory_BR- Module
Accounts payable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CFPSId_BRCFPS code, a short four-character code. | String (4)CFPSId_BR | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceRefRecId_BRLink to the 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 | |
PurchTableHistoryLink to the purchase order history record that this row extends. | Int64RefRecId | Yes | PurchTableHistory.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_BRLink to the operation type record. | Int64RefRecId | No | SalesPurchOperationType_BR.RecId | None |
ServiceCodeOnDlvAddress_BRYes/No flag for using the service code at the delivery address. | EnumTaxServiceCodeOnDlvAddress_BRNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxDirectImport_BRYes/No flag for direct import. The exact meaning is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
VendFinalUser_BRYes/No flag showing whether the vendor is a final user. | EnumCustVendFinalUser_BRNoYes (enum) | No | None |
Indexes (2)
SalesPurchOperationType_BRIdxNot unique.
PurchTableHistoryIdxUnique.
Relations (3)
Each relation joins PurchTableHistory_BR to another table on the fields shown.
InvoiceRefRecId_BR→VendInvoiceJourJoin on
InvoiceRefRecId_BR = VendInvoiceJour.RecIdMany PurchTableHistory_BR records → zero or one VendInvoiceJour record
PurchTableHistory→PurchTableHistoryJoin on
PurchTableHistory = PurchTableHistory.RecIdZero or one PurchTableHistory_BR record → exactly one PurchTableHistory record
SalesPurchOperationType_BR→SalesPurchOperationType_BRJoin on
SalesPurchOperationType_BR = SalesPurchOperationType_BR.RecIdMany PurchTableHistory_BR records → zero or one SalesPurchOperationType_BR record
Get this data out
No public entity reads from PurchTableHistory_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchTableHistory_BR in a report, an integration or a migration? Talk to Dr Dynamics.