web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Unable to set GPApp.CurrentProductID

(0) ShareShare
ReportReport
Posted on by 20

with a code

GPApp = CreateObject(
"Dynamics.Application")

GPApp.CurrentProductID = XXXX

CurrentProductID is not changing; it is stays = 1 (initial setting); no errors generated. This was working properly, but stoped to work suddently.

Just wondering if somebody experienced such problem.

thanks, Boris

 

 

*This post is locked for comments

I have the same question (0)
  • sandipdjadhav Profile Picture
    18,306 on at
    Re: Unable to set GPApp.CurrentProductID

    Boris,

    I am not Dexterity expert but below code work for me.

     int gpProdID =309; // Fixed AssetsDynamics.Application objGPApp = new Dynamics.Application();

     

    objGPApp.CurrentProductID = gpProdID;

     

     Hope it will help you to resolve issue.

    Thanks

    Sandip Jadhav

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans