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

Article ID: 857274 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

TechKnowledge Content

Issue

How can I get the Product ID (Dictid) for the current dictionary in a script with Dexterity?

Resolution

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

Properties

Article ID: 857274 - Last Review: November 2, 2013 - Revision: 6.0
Applies to
  • 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
Keywords: 
kbnosurvey kbarchive kbhowto kbmbsmigrate KB857274

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com