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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

regarding Dexterity in GP2013

(0) ShareShare
ReportReport
Posted on by 1,240

Dear All,

I am working with GP2013 and testing it with multiple dynamics scenario. In my dexterity code, I have made changes as under -

Where ever "use Dynamics" syntax was written, I have replace code as "use " + GetSystemDatabaseName()  ;

But, on syntax such as "AddMenuItem", "FindCommandInMenu","AlreadyExistsOnMenu" etc, it uses Dynamics name such as -

if AddMenuItem(ParentDictID,ParentFormID,ParentCmdID,DictID,FormID,CmdID,nLoadMode)=true then
  nSeq = 0;
  nStatus = AddCommandToMenu(DYNAMICS,
  resourceid(form Command_Inventory),
  resourceid(command CL_Inventory_Cards of form Command_Inventory),
  nSeq,
  Runtime_GetCurrentProductID(),
  resourceid(form Command_BMM),
  resourceid(command BM_Item_Extension of form Command_BMM),
  false,
  nLoadMode);
end if;

Here, Dynamics is not of string type, but do I need to make any change if Dynamics name is different than "DYNAMICS". How would I change if it is required?

Also, please let me know that on how many places in dexterity, it is required to make changes in GP2013 in case if Dynamics name is dirrerent than "DYNAMICS",

 

 

*This post is locked for comments

I have the same question (0)
  • Dave Dusek Profile Picture
    Microsoft Employee on at

    Do not change DYNAMICS in this context.  DYNAMICS is a constant and it's value is 0.  That is the product id for Dynamics.  In this case, you are adding a form to the Cards>Inventory menu and that menu is part of the dynamics dictionary.  This code has nothing to do with the system database name.  

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans