Table
PurchTableHistory_W
Purchase order history
Holds country-specific extra data for purchase order history records. It includes India fields for import, invoice registration, nature of assessee and withholding tax groups, and a Russia field for the advance holder. Each row links to a purchase order history record.
- Table name
PurchTableHistory_W- 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 (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustomsImportOrder_INYes/No flag showing whether this is an import order, used for India. | EnumNoYesIdNoYes (enum) | No | None | |
CustomsInvoiceRegistered_INYes/No flag showing whether the invoice is registered, 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, linked to the worker record, used for Russia. | String (20)EmplAccount_RU | No | EmployeeTable_RU.EmployeeId | None |
NatureOfAssessee_INType of assessee. Values are Company, HUF, Firm, Individual, AOP, BOI, Local authority and Others. | 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 | |
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 | |
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 | |
TCSGroup_INTax collected at source (TCS) group, linked to a withholding tax group. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | None |
TDSGroup_INTax deducted at source (TDS) group, linked to a withholding tax group. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | None |
Indexes (1)
PurchTableHistoryIdxUnique.
Relations (4)
Each relation joins PurchTableHistory_W to another table on the fields shown.
EmployeeTable_RU→EmployeeTable_RUJoin on
EmployeeTable_RU.AdvHolder = 1,EmplAccount_RU = EmployeeTable_RU.EmployeeIdMany PurchTableHistory_W records → exactly one EmployeeTable_RU record
PurchTableHistory→PurchTableHistoryJoin on
PurchTableHistory = PurchTableHistory.RecIdZero or one PurchTableHistory_W record → exactly one PurchTableHistory record
TaxWithholdGroupHeading→TaxWithholdGroupHeadingJoin on
TCSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroupMany PurchTableHistory_W records → exactly one TaxWithholdGroupHeading record
TaxWithholdGroupHeadingTDS_IN→TaxWithholdGroupHeadingJoin on
TDSGroup_IN = TaxWithholdGroupHeading.TaxWithholdGroupMany PurchTableHistory_W records → exactly one TaxWithholdGroupHeading record
Get this data out
No public entity reads from PurchTableHistory_W. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchTableHistory_W in a report, an integration or a migration? Talk to Dr Dynamics.