How to Get the Product ID (Dictid) for the Current Dictionary in a Script with Dexterity

This article has been archived. It is offered "as is" and will no longer be updated.
TechKnowledge Content

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.

This article was TechKnowledge Document ID: 27348

Article ID: 857274 - Last Review: 11/02/2013 20:10:00 - Revision: 6.0

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

  • kbnosurvey kbarchive kbhowto kbmbsmigrate KB857274