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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CustAccountThe customer account the setting applies to.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdInventory dimension combination the setting applies to.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemCodeSays whether the setting is for one item, an item group or all items.Enum
ItemCode
TableGroupAll (enum)
NoNone
ItemRelationThe item or item group, depending on the item code.String (20)
PdsSellableItemRelation
NoInventItemGroup.ItemGroupIdInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SellableDaysNumber of days the product is sellable for this customer.Integer
PdsSellableDays
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (4)

Each relation joins PdsCustSellableDays to another table on the fields shown.

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many PdsCustSellableDays records → zero or one CustTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many PdsCustSellableDays records → zero or one InventDim record

  • InventItemGroup → InventItemGroup

    Join on ItemCode = TableGroupAll::GroupId, ItemRelation = InventItemGroup.ItemGroupId

    Many PdsCustSellableDays records → zero or one InventItemGroup record

  • InventTable → InventTable

    Join on ItemCode = TableGroupAll::Table, ItemRelation = InventTable.ItemId

    Many 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.

Email sales@drdynamics.co.uk