This article has been archived. It is offered "as is" and will no longer be updated.
How can I get the Product ID (Dictid) for the current dictionary in a script with Dexterity?
You can use Runtime_GetCurrentProductID(). This will give you the product id from the current dictionary that the script is running in. In Test Mode, this function will always return 0, but in runtime it will return the product id of the dictionary.
Microsoft Dynamics GP 9.0, Microsoft Business Solutions–Great Plains 8.0, Microsoft Business Solutions–Great Plains 7.5, Microsoft Great Plains eEnterprise 7.0, Microsoft Great Plains Dynamics 7.0, Dexterity