Table
RetailPackagePurch
Packages on purchase orders
Records packages that are on purchase orders. The key is the purchase order, package and line number. Each row holds the quantity, the quantity to receive and the cross docking quantity.
- Table name
RetailPackagePurch- Module
Commerce merchandising- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
PurchPackageLineIdx- Replacement key
PurchPackageLineIdx- Key fields
PurchId, PackageId, LineNum- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchIdPurchase order that holds the package. | String (20)PurchIdBase | Yes | PurchTable.PurchId | RetailPackagePurchaseEntity |
PackageIdPackage on the purchase order. Points to a package record. | StringRetailPackageId | Yes | RetailPackageTable.PackageId | RetailPackagePurchaseEntity |
LineNumNumber of the purchase order line. | RealLineNum | No | RetailPackagePurchaseEntity | |
AllocatedCrossDockQtyPackage quantity allocated for cross docking. | IntegerRetailAllocatedCrossDockPackageQty | No | RetailPackagePurchaseEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyOrdered quantity of the package. | RealQty | No | RetailPackagePurchaseEntity | |
QtyReceivedQuantity of the package to be received now, as the label says. | RealQty | No | RetailPackagePurchaseEntity | |
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 |
Indexes (1)
Relations (3)
Each relation joins RetailPackagePurch to another table on the fields shown.
PurchLine→PurchLineJoin on
PurchId = PurchLine.PurchId,PackageId = PurchLine.RetailPackageId,LineNum = PurchLine.RBOPackageLineNumMany RetailPackagePurch records → exactly one PurchLine record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany RetailPackagePurch records → exactly one PurchTable record
RetailPackageTable→RetailPackageTableJoin on
PackageId = RetailPackageTable.PackageIdMany RetailPackagePurch records → exactly one RetailPackageTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailPackagePurch; use one of them in Power BI, Power Platform or a data management project.
RetailPackagePurchaseEntity· 6 fields from this table
Need help with RetailPackagePurch in a report, an integration or a migration? Talk to Dr Dynamics.