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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP 2013 : Menu are not working properly

(0) ShareShare
ReportReport
Posted on by 165

Hi All,

We are having integration with Dynamics GP , we are trying to add menus under Microsoft Dynamics GP >> Tools >> Utilities & Inquiry >> Our Menu 

 

For Inquiry we are using structure as below : 

 

if nLoadMode = MENULOAD_TOTABLE then

    { make sure commands exist already in the default set }

    fAddCommand = not AlreadyExistsOnMenu("", 

                    DYNAMICS, 

                    resourceid(form Command_System), 

                    resourceid(command CL_Inquiry of form Command_System),

                    l_PrdID,

                    resourceid(form Command_AVA),

    resourceid(command cmdSeperator of form Command_AVA)) of form syMenuObj;

else

    fAddCommand = true;

end if;

 

if fAddCommand then

    nSeq = 0; { will cause it to be added to the end of the menu/command list}

    nStatus = AddCommandToMenu(DYNAMICS, 

                    resourceid(form Command_System), 

                    resourceid(command CL_Inquiry of form Command_System),

                    nSeq,

                    l_PrdID, 

                    resourceid(form Command_AVA), 

    resourceid(command cmdSeperator of form Command_AVA),

                    true, nLoadMode);

{

CMD_BUILTINCMD_DICTID,

CMD_BUILTINCMD_FORMID,

resourceid(command cmdSeparator),

true,

nLoadMode);}

    assert nStatus = OKAY;

end if;

 

{Adds the CommandList AvaTax }

if nLoadMode = MENULOAD_TOTABLE then

    { make sure commands exist already in the default set }

    fAddCommand = not AlreadyExistsOnMenu("", 

                    DYNAMICS, 

                    resourceid(form Command_System), 

                    resourceid(command CL_Inquiry of form Command_System),

                    l_PrdID,

                    resourceid(form Command_AVA),

    resourceid(command CL_AvaTax_Inquiry of form Command_AVA)) of form syMenuObj;

else

    fAddCommand = true;

end if;

 

if fAddCommand then

    nSeq = 0;

nStatus = AddCommandToMenu(DYNAMICS, 

resourceid(form Command_System), 

resourceid(command CL_Inquiry of form Command_System),

nSeq, 

l_PrdID, 

resourceid(form Command_AVA), 

resourceid(command CL_AvaTax_Inquiry of form Command_AVA),

true, 

nLoadMode);

end if;

 

 

if fAddCommand then

    nSeq = 0;

nStatus = AddCommandToMenu(DYNAMICS, 

resourceid(form Command_AVA), 

resourceid(command CL_AvaTax_Inquiry of form Command_AVA),

nSeq, 

l_PrdID, 

resourceid(form Command_AVA), 

resourceid(command cmdValidatedAddresses of form Command_AVA),

true, 

nLoadMode);

end if;

 

 

This code is working fine with GP2010 but when it comes to GP12 , this is not working , please suggest!!

 

 

 

*This post is locked for comments

I have the same question (0)
  • Jonathan Fear Profile Picture
    on at

    GP 2013 is not yet released. If you have questions please post them in the partner forums.

  • Jitendra Verma Profile Picture
    1,240 on at

    the code has been changes to create area pages and probably creating menus. you would have to refer IG.chm which might help you further.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans