Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

How to get Dynamics GP Modified form's Product ID in Third Party Applications in Dexterity Customizations.

Posted on by 185

Hello,

i am touched with dexterity since June 2010 now i have little bit problem, can anyone help.

Thanks in Advance.

I have created a third party application in Dexterity and I have used 5 GP Dictionary Form as Modified form in Own Dictionary AbsCCR (ProductID=25900).

 

1-      SOP_Entry

2-      SOP_Payment_Entry

3-      RM_Transaction_Entry

4-      RM_Cash_Receipts

5-      RM_Customer_Maintenance

 

Then,I have created a button with the name of 'Credit Card Entry' in SOPEntry as Well as write a global script with the name of 'SopType_of_SopEntry_Change'. it always fire when we change the SopType of SopEntry Windows wheter the Dynamics GP Form is Loaded (Active from Alternate/Modified Forms & Reports) or our Dictionary form is Active/Loaded. The 'Credit Card Entry' Button of Sop Entry is visible only that condition whenever the SopType= Order.

 

PROBLEM:

as i Mentioned earlier Script 'SopType of Sop_Entry' is always fires when we change soptype wheter the current SopEntry form is Dynamics Dictionary or any other Dictionary. we have to restrict that scripts it fires only when the our Dictionary (AbsCCR)'s form is active.

 

POSSIBLE Solutions.

Did anyone know the code so we check the current loaded/Active form's Product ID (Alternate Forms & Reports).

Suppose.

We set the Sale Order Process Forms to the Dynamics GP (from Alternate Forms & Reports). So we know that the Product id of Dynamics GP is '0'.

Similary, Can we check the current active form's Product ID?

again Thanks in Advance, if anyone Knows, 

 

Thanks & Best Regards

 

MUHAMMAD MUBUSHER ASLAM

Pakistan

Contact: mubusher_a_chaudhary@live.com 

*This post is locked for comments

  • Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    Re: How to get Dynamics GP Modified form's Product ID in Third Party Applications in Dexterity Customizations.

    MaxB, that's right, I have used  similar trick  two years back to cheek either code needs to be execute or not.Although we have one function "Runtime_GetCurrentProductID()", but it is of no help.

    Another way of doing this is.

    www.facebook.com/.../375878305816304

     

     

     

  • DinB Profile Picture
    DinB 3,812 on at
    Re: How to get Dynamics GP Modified form's Product ID in Third Party Applications in Dexterity Customizations.

    I don't think there is run-time function to check the Product ID for an open Form(or Window). One option is to check which Form the user has access to based on the Security Tables.

    Before running the Script, You could check the records in following tables to determine if the user has access to the Alternate Form or not.

    SY09200 - Alternate or modified form and report ID master
    SY10800 - Alternate or modified form and report ID assignment master

    Let us know how it goes of if you find another method.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans