Table

WHSAccountItemStatusDefault

Default inventory status configuration

Sets the default inventory status for an item, depending on the account and the module. The key is item, account number and module. The module can be inventory, customer or vendor. The account points to a customer or vendor.

Table name
WHSAccountItemStatusDefault
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
ItemAccountModuleIdx
Replacement key
ItemAccountModuleIdx
Key fields
ItemId, AccountNum, ModuleInventCustVend
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ItemIdNumber of the item the default applies to.String (20)
ItemId
YesInventTable.ItemIdWHSItemDefaultInventoryStatusEntity
AccountNumCustomer or vendor account number the default applies to.String (20)
AccountNum
NoCustTable.AccountNumVendTable.AccountNumWHSItemDefaultInventoryStatusEntity
ModuleInventCustVendArea the default applies to: inventory, customer or vendor.Enum
ModuleInventCustVend (enum)
YesWHSItemDefaultInventoryStatusEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultStatusIdID of the default inventory status. Points to an inventory status record.String
WHSDefaultStatusId
YesWHSInventStatus.InventStatusIdWHSItemDefaultInventoryStatusEntity
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
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 (1)

Relations (4)

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

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many WHSAccountItemStatusDefault records → exactly one InventTable record

  • WHSInventStatus → WHSInventStatus

    Join on DefaultStatusId = WHSInventStatus.InventStatusId

    Many WHSAccountItemStatusDefault records → exactly one WHSInventStatus record

  • CustTable → CustTable

    Join on ModuleInventCustVend = ModuleInventCustVend::Cust, AccountNum = CustTable.AccountNum

    Many WHSAccountItemStatusDefault records → zero or one CustTable record

  • VendTable → VendTable

    Join on ModuleInventCustVend = ModuleInventCustVend::Vend, AccountNum = VendTable.AccountNum

    Many WHSAccountItemStatusDefault records → zero or one VendTable record

Get this data out

Tables are not exposed directly. These public entities read from WHSAccountItemStatusDefault; use one of them in Power BI, Power Platform or a data management project.

Need help with WHSAccountItemStatusDefault in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk