Table
PurchCORPolicyTable
Confirmation of product receipt policies
Holds policies for confirming product receipt, in an obsolete area. Each policy is set by legal entity, category and vendor. For each of these, a code chooses either all values or one specific record.
- Table name
PurchCORPolicyTable- Module
Obsolete- Table group
Group- Table type
Regular- Data per company
No- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
PolicyIdx- Key fields
LegalEntityCode, CategoryCode, VendorCode, LegalEntityRelation, CategoryRelation, VendorRelationDataAreaId, VendorRelation- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LegalEntityCodeSays whether the policy covers all legal entities or one chosen legal entity. | EnumPurchCORLegalEntityCodeTableAll (enum) | No | None | |
CategoryCodeSays whether the policy covers all categories or one chosen category. | EnumPurchCORCategoryCodeTableAll (enum) | No | None | |
VendorCodeSays whether the policy covers all vendors or one chosen vendor. | EnumPurchCORVendorCodeTableAll (enum) | No | None | |
LegalEntityRelationThe legal entity the policy applies to. | StringPurchCORLegalEntityRelation | No | None | |
CategoryRelationPoints to the product category the policy applies to. | Int64PurchCategory | No | EcoResCategory.RecId | None |
VendorRelationDataAreaIdCompany (legal entity) that owns the vendor account named in the policy. | StringVendorRelationDataAreaId | No | VendTable.dataAreaId | None |
VendorRelationAccount number of the vendor the policy applies to. | String (20)PurchCORVendorRelation | No | VendTable.AccountNum | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (4)
LegalEntityIdxLegalEntityCode,LegalEntityRelation,CategoryCode,CategoryRelation,VendorCode,VendorRelationDataAreaId,VendorRelationUnique, alternate key.
CategoryIdxCategoryCode,CategoryRelation,LegalEntityCode,LegalEntityRelation,VendorCode,VendorRelationDataAreaId,VendorRelationUnique, alternate key.
VendorIdxVendorCode,VendorRelationDataAreaId,VendorRelation,LegalEntityCode,LegalEntityRelation,CategoryCode,CategoryRelationUnique, alternate key.
PolicyIdxReplacement keyLegalEntityCode,CategoryCode,VendorCode,LegalEntityRelation,CategoryRelation,VendorRelationDataAreaId,VendorRelationUnique, alternate key.
Relations (3)
Each relation joins PurchCORPolicyTable to another table on the fields shown.
CategoryRelation_FK→EcoResCategoryJoin on
CategoryRelation = EcoResCategory.RecIdMany PurchCORPolicyTable records → zero or one EcoResCategory record
LegalEntityDataArea→DataAreaJoin on
LegalEntityRelation = DataArea.id,DataArea.isVirtual = nullMany PurchCORPolicyTable records → zero or one DataArea record
VendTable→VendTableJoin on
VendorRelationDataAreaId = VendTable.dataAreaId,VendorRelation = VendTable.AccountNumMany PurchCORPolicyTable records → zero or one VendTable record
Get this data out
No public entity reads from PurchCORPolicyTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchCORPolicyTable in a report, an integration or a migration? Talk to Dr Dynamics.