Table
PurchLineHistory_W
Purchase order line information history for countries/regions
Holds country-specific extra data for purchase order line history records. It includes fields for Russia, Malaysia and Mexico. Each row links to a purchase line history record through the PurchLineHistory field.
- Table name
PurchLineHistory_W- Module
Accounts payable- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CountryRegionName_RUName of the country or region of origin, used for Russia. | String (255)CustInvoiceCountryName_RU | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeviationQty_RUQuantity deviation on the line, used for Russia. | RealPurchDeviationQty_RU | No | None | |
InvoiceGTDId_RUCustoms declaration (GTD) number, used for Russia. | String (30)CustFreeInvoiceGTDId_RU | No | None | |
MarkupCode_RUCharges code that applies to the line, used for Russia. | StringMarkupCodeVend_RU | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingProfile_RUVendor posting profile, used for Russia. | StringVendPostingProfile | No | VendLedger.PostingProfile | None |
PriceAgreementDate_RUDate of the agreed price, used for Russia. | DatePriceAgreementDate_RU | No | None | |
PurchLineHistoryLink to the purchase line history record that this row extends. | Int64RefRecId | Yes | PurchLineHistory.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 | |
RefInvoiceDate_MYDate of the original invoice, used for Malaysia. | DateTransDate | No | None | |
RefInvoiceID_MYNumber of the original invoice, used for Malaysia. | String (50)InvoiceId | No | None | |
RefReturnInvoiceTrans_WSystem record ID of the posted vendor invoice line that is being returned. | Int64RefReturnInvoiceTrans_W | No | VendInvoiceTrans.RecId | 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 | |
WithholdingTypeCode_MXCode for the type of withholding, used for Mexico. | String (5)CFDIWithholdingTypeCode_MX | No | None |
Indexes (1)
PurchLineHistoryIdxUnique, alternate key.
Relations (4)
Each relation joins PurchLineHistory_W to another table on the fields shown.
MarkupCodeVend→MarkupTableJoin on
MarkupTable.ModuleType = MarkupModuleType::Vend,MarkupCode_RU = MarkupTable.MarkupCodeMany PurchLineHistory_W records → zero or one MarkupTable record
PurchLineHistory→PurchLineHistoryJoin on
PurchLineHistory = PurchLineHistory.RecIdZero or one PurchLineHistory_W record → exactly one PurchLineHistory record
VendInvoiceTrans_W→VendInvoiceTransJoin on
RefReturnInvoiceTrans_W = VendInvoiceTrans.RecIdMany PurchLineHistory_W records → zero or one VendInvoiceTrans record
VendLedger_RU→VendLedgerJoin on
PostingProfile_RU = VendLedger.PostingProfileMany PurchLineHistory_W records → zero or one VendLedger record
Get this data out
No public entity reads from PurchLineHistory_W. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchLineHistory_W in a report, an integration or a migration? Talk to Dr Dynamics.