The Runtime_GetCurrentProductID() function returns the product ID of the application dictionary that contains the script executing this function.
Runtime_GetCurrentProductID()
• None
An integer containing the product ID.
The Runtime_GetCurrentProductID() function returns correct values only when an application is used with the runtime engine. In test mode, it will always return the value 0.