Table
PurchTable_W
Purchase orders information for countries or regions
Extra purchase order header data for several countries or regions, including India, Russia, Malaysia and Thailand. It links to the purchase order in PurchTable. Fields carry suffixes such as _IN, _RU, _MY and _TH to show the country.
- Table name
PurchTable_W- Module
Accounts payable- Table group
WorksheetHeader- 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 |
|---|---|---|---|---|
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustomsImportOrder_INYes/No flag showing the order is an import order, used for India. | EnumNoYesIdNoYes (enum) | No | None | |
CustomsInvoiceRegistered_INYes/No flag for invoice registration, used for India. | EnumNoYesIdNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EmplAccount_RUWorker who holds the advance, used for Russia. Points to EmployeeTable_RU. | String (20)EmplAccount_RU | No | EmployeeTable_RU.EmployeeId | None |
GSTApprovalNumber_MYGST approval number, used for Malaysia. | String (20)TaxGSTApprovalNumber_MY | No | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity | |
InvoicePostalAddress_THSystem record ID of the invoice address, used for Thailand. Points to LogisticsPostalAddress. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity |
InvoiceType_MYType of invoice, such as GST invoice or self-billed invoice, used for Malaysia. | EnumInvoiceType_MY (enum) | No | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity | |
NatureOfAssessee_INType of assessee, such as company, firm or individual, used for India. | EnumNatureOfAssessee_IN (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchTableSystem record ID of the purchase order this data belongs to. | Int64RefRecId | No | 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 | |
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 | |
TaxBranchSystem record ID of the tax branch for the order. | Int64TaxBranchRefRecId | No | TaxBranch.RecId | None |
TaxGSTImportDeclarationNo_MYImport declaration number for GST, used for Malaysia. | String (20)TaxGSTImportDeclarationNo_MY | No | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity | |
TCSGroup_INWithholding tax group for TCS, used for India. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | None |
TDSGroup_INWithholding tax group for TDS, used for India. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | None |
WithIGSTPayment_INYes/No flag for with tax payment, used for India. | EnumNoYesIdNoYes (enum) | No | None |
Indexes (1)
PurchTableIdxUnique, alternate key.
Relations (6)
Each relation joins PurchTable_W to another table on the fields shown.
EmployeeTable_RU→EmployeeTable_RUJoin on
EmployeeTable_RU.AdvHolder = 1,EmplAccount_RU = EmployeeTable_RU.EmployeeIdMany PurchTable_W records → zero or one EmployeeTable_RU record
PurchTable→PurchTableJoin on
PurchTable = PurchTable.RecIdZero or one PurchTable_W record → exactly one PurchTable record
TaxBranch→TaxBranchJoin on
TaxBranch = TaxBranch.RecIdMany PurchTable_W records → zero or one TaxBranch record
TaxWithholdGroupHeadingTCS_IN→TaxWithholdGroupHeadingJoin on
TCSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroupMany PurchTable_W records → zero or one TaxWithholdGroupHeading record
TaxWithholdGroupHeadingTDS_IN→TaxWithholdGroupHeadingJoin on
TDSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroupMany PurchTable_W records → zero or one TaxWithholdGroupHeading record
InvoicePostalAddress_TH→LogisticsPostalAddressJoin on
InvoicePostalAddress_TH = LogisticsPostalAddress.RecIdMany PurchTable_W records → zero or one LogisticsPostalAddress record
Get this data out
Tables are not exposed directly. These public entities read from PurchTable_W; use one of them in Power BI, Power Platform or a data management project.
PurchPurchaseOrderHeaderV2Entity· 4 fields from this tablePurchPurchaseOrderHeaderEntity· 4 fields from this table
Need help with PurchTable_W in a report, an integration or a migration? Talk to Dr Dynamics.