Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Possible to Add Sub Menu in MS Dynamics GP

Posted on by Microsoft Employee

FB.jpg

Hi Guys I added one menu named as Phase1 within Cards --> Sales --> Phase1

I want to add another menu under my Phase1 menu is it possible plz tell (MS Dynamics GP 2016) 

I done this through Dexterity Code (code below)

if AddMenuItems = true then

{– Add the Lead Maintenance item to the Cards>>Sales submenu–}
{Own Window}
Status = AddCommandToMenu(DYNAMICS,resourceid(form Command_Sales),resourceid(command CL_Sales_Cards of form Command_Sales),Seq,Runtime_GetCurrentProductID(),
resourceid(form Command_IG_Sample),
resourceid(command Phase1 of form Command_IG_Sample),
true,LoadMode);
if Status <> OKAY then
error "Could not add command kt_command.";
end if;

{Another Menu}
Status = AddCommandToMenu(DYNAMICS,resourceid(form Command_IG_Sample),resourceid(command Phase1 of form Command_IG_Sample),Seq,Runtime_GetCurrentProductID(),
resourceid(form Command_IG_Sample),
resourceid(command KT_RmCustomerMain_FRM of form Command_IG_Sample),
true,LoadMode);
if Status <> OKAY then
error "Could not add command kt_command.";
end if;

end if;

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans