Table
PdsCustSellableDays
Sellable days by customer
Sets the number of sellable days for a customer. The setting can apply to a single item, an item group or all items, and can include an inventory dimension. It links to customers, items, item groups and inventory dimensions.
- Table name
PdsCustSellableDays- Module
Inventory- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
PdsShelf- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustAccountThe customer account the setting applies to. | String (20)CustAccount | No | CustTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdInventory dimension combination the setting applies to. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemCodeSays whether the setting is for one item, an item group or all items. | EnumItemCodeTableGroupAll (enum) | No | None | |
ItemRelationThe item or item group, depending on the item code. | String (20)PdsSellableItemRelation | No | InventItemGroup.ItemGroupIdInventTable.ItemId | 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 | |
SellableDaysNumber of days the product is sellable for this customer. | IntegerPdsSellableDays | 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 (2)
AccountIdxItemRelation,ItemCode,CustAccountNot unique.
SellableDaysIdxInventDimId,ItemRelation,ItemCode,CustAccountUnique.
Relations (4)
Each relation joins PdsCustSellableDays to another table on the fields shown.
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany PdsCustSellableDays records → zero or one CustTable record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany PdsCustSellableDays records → zero or one InventDim record
InventItemGroup→InventItemGroupJoin on
ItemCode = TableGroupAll::GroupId,ItemRelation = InventItemGroup.ItemGroupIdMany PdsCustSellableDays records → zero or one InventItemGroup record
InventTable→InventTableJoin on
ItemCode = TableGroupAll::Table,ItemRelation = InventTable.ItemIdMany PdsCustSellableDays records → zero or one InventTable record
Get this data out
No public entity reads from PdsCustSellableDays. Its data is only reachable through the application, a custom entity or a database export.
Need help with PdsCustSellableDays in a report, an integration or a migration? Talk to Dr Dynamics.