Table
PurchLine_W
Purchase order line information for countries
Adds country-specific data to a purchase order line. It holds fields used for Russia, Poland, Malaysia and Mexico, such as GTD number, posting profile, original invoice details and withholding type. It links to the purchase order line.
- Table name
PurchLine_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 (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CountryRegionName_RUCountry or region of origin, used for Russia. | String (255)CustInvoiceCountryName_RU | 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 | |
DeviationQty_RUDeviation quantity, used for Russia. | RealPurchDeviationQty_RU | No | None | |
InvoiceGTDId_RUGTD number, used for Russia. | String (30)CustFreeInvoiceGTDId_RU | No | None | |
MarkupCode_RUCharges code, used for Russia. | StringMarkupCodeVend_RU | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | 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 price, used for Russia. | DatePriceAgreementDate_RU | No | None | |
PurchLinePoints to the purchase order line that this record extends. | Int64RefRecId | Yes | PurchLine.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_WPoints to the returned posted vendor invoice line. | Int64RefReturnInvoiceTrans_W | No | VendInvoiceTrans.RecId | None |
SADInvoiceLineNo_PLPosition number on the invoice, used for Poland. | IntegerPlSADInvoiceLineNo | 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 | |
WithholdingTypeCode_MXWithholding type code, used for Mexico. | String (5)CFDIWithholdingTypeCode_MX | No | CFDIWithholdingType_MX.Code | None |
Indexes (1)
PurchLineIdxUnique, alternate key.
Relations (5)
Each relation joins PurchLine_W to another table on the fields shown.
MarkupCodeVend→MarkupTableJoin on
MarkupTable.ModuleType = MarkupModuleType::Vend,MarkupCode_RU = MarkupTable.MarkupCodeMany PurchLine_W records → zero or one MarkupTable record
PurchLine→PurchLineJoin on
PurchLine = PurchLine.RecIdZero or one PurchLine_W record → exactly one PurchLine record
VendInvoiceTrans_W→VendInvoiceTransJoin on
RefReturnInvoiceTrans_W = VendInvoiceTrans.RecIdMany PurchLine_W records → zero or one VendInvoiceTrans record
VendLedger_RU→VendLedgerJoin on
PostingProfile_RU = VendLedger.PostingProfileMany PurchLine_W records → zero or one VendLedger record
CFDIWithholdingType_MX→CFDIWithholdingType_MXJoin on
WithholdingTypeCode_MX = CFDIWithholdingType_MX.CodeMany PurchLine_W records → zero or one CFDIWithholdingType_MX record
Get this data out
No public entity reads from PurchLine_W. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchLine_W in a report, an integration or a migration? Talk to Dr Dynamics.