Check Active Inventory Dimension

Check Active Inventory Dimension

MCP · Azure DevOpsYour delivery board, readable by an agentMCP · DataverseOne consent, and the data layer opensMCP · Dynamics 365 F&OConnecting F&O to an agent Microsoft hasn’t documented
Archive recovery note: the supplied Blogspot backup did not contain a separate saved page for this older entry. The text available in its archive/listing capture has been preserved and flagged for a later completeness check.
In recent time I came across with a requirement how to find out an active inventory dimension associated with an item. Here is a sample job to do this task; static void checkInventDimActive(Args _args) { ItemId itemid = "1000"; ; info(strfmt("%1", InventDimSetup::find(InventTable::find(itemid).dimGroupId, fieldNum(InventDim, configId)).Active)); }
Previous article← Dynamics Ax 4.0 installation
Discussion

Ask a question or leave feedback

This is a review interaction. The WordPress version will store, thread and moderate comments.

Thanks — submitted for moderation in this review.
Search the whole site · Ctrl/⌘ + K