Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

I am trying to do customization using Dexterity in DynamicsGP Manufacturing Module ICONMFG.DIC, how can I access the resources from the dictionary Dynamics.dic in my customization of Manufacuring Module ICONMFG.DIC. Can anyone help me please .....?

Posted on by Microsoft Employee

Dexterity-_2D00_-ICONMFG_5F00_1.DIC.jpg See the error msg I get when I am trying to access resources from Dynamics.DIC dictionary

*This post is locked for comments

  • Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: I am trying to do customization using Dexterity in DynamicsGP Manufacturing Module ICONMFG.DIC, how can I access the resources from the dictionary Dynamics.dic in my customization of Manufacuring Module ICONMFG.DIC. Can anyone help me please .....?

    you are welcome:)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: I am trying to do customization using Dexterity in DynamicsGP Manufacturing Module ICONMFG.DIC, how can I access the resources from the dictionary Dynamics.dic in my customization of Manufacuring Module ICONMFG.DIC. Can anyone help me please .....?

    OK I will try.

    Thanks Tim WAlmas MahfoozMariano Gomez and David Musgrave for your quick reply.. :-)

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,917 Most Valuable Professional on at
    RE: I am trying to do customization using Dexterity in DynamicsGP Manufacturing Module ICONMFG.DIC, how can I access the resources from the dictionary Dynamics.dic in my customization of Manufacuring Module ICONMFG.DIC. Can anyone help me please .....?

    As mentioned, please read my articles on the topic especially the first one which has conference session materials you need to download and read.

    https://blogs.msdn.microsoft.com/developingfordynamicsgp/2008/07/23/cross-dictionary-dexterity-development/

    https://blogs.msdn.microsoft.com/developingfordynamicsgp/2009/09/17/understanding-cross-dictionary-dexterity-development/

    https://blogs.msdn.microsoft.com/developingfordynamicsgp/2012/12/16/how-to-create-dexterity-cross-dictionary-lookups/

    https://blogs.msdn.microsoft.com/developingfordynamicsgp/2008/11/09/can-i-customise-a-3rd-party-form-with-dexterity/

    Regards

    David

  • Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    RE: I am trying to do customization using Dexterity in DynamicsGP Manufacturing Module ICONMFG.DIC, how can I access the resources from the dictionary Dynamics.dic in my customization of Manufacuring Module ICONMFG.DIC. Can anyone help me please .....?

    Tim is right on the money. You cannot use the manufacturing dictionary as your base development dictionary. All your work needs to be done in a clean Microsoft Dynamics GP dictionary, DYNAMICS.DIC. You will need to implement cross-dictionary triggers and other techniques to be able to retrieve the information you want.

    The problem you have with adding resources to the manufacturing dictionary is, a) you cannot deliver a manufacturing dictionary containing your customizations as this is in violation of Microsoft's licensing agreements, b) you cannot easily extract your customizations using the standard Dexterity Utilities tools.

    If you need more information on cross-dictionary development, please don't hesitate to reach out.

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: I am trying to do customization using Dexterity in DynamicsGP Manufacturing Module ICONMFG.DIC, how can I access the resources from the dictionary Dynamics.dic in my customization of Manufacuring Module ICONMFG.DIC. Can anyone help me please .....?

    So where you are actually creating this function, in fresh Dynamics,dic for your customization or in manufacturing dictionary?

    If in fresh dynamics.dic then you must not have this error.

    If in manufacturing dic then did you merge it with dynamics.dic?

     

  • Tim W Profile Picture
    Tim W 2,925 on at
    RE: I am trying to do customization using Dexterity in DynamicsGP Manufacturing Module ICONMFG.DIC, how can I access the resources from the dictionary Dynamics.dic in my customization of Manufacuring Module ICONMFG.DIC. Can anyone help me please .....?

    Here's a sample of some logic to set a value in the RMA window and run a script in that dictionary.  Functionality is restricted and it's really a drag to test it but you can build control and workflow into a 3rd party with triggers (using ByName) similar to working against the Dynamics dictionary.  When you want to modify a window though you have to blend your code with VBA so I just say no when asked :).

    Good luck to you on your quest.

    Trigger script


    if Trigger_RegisterFocusByName(949, "window SVC_RMA_Create_Return of form SVC_RMA_Create_Return", TRIGGER_FOCUS_ACTIVATE, TRIGGER_AFTER_ORIGINAL, script CI_RMA_Set_Return)
     <> SY_NOERR then  
     warning "Focus trigger registration failed ";
    end if;

    Cross dictionary logic.

    {CI_RMA_Set_Return}

    local text code;
    local string compiler_error;
    local string l_RMA_Invoice;
    local string IN_Value;

    if empty(Launch_GetFileName()) then
     warning "Service Management is not loaded";
     abort script;
    end if;
    if Launch_GetProdPosition(949) < 1 then
     warning " Service Management is not loaded.";
     abort script;
    end if;

    IN_Value = "RTN";

    {Build the pass-through sanScript code.}
    clear code;
    code = code + "in string IN_Value;";
    code = code + "if isopen(window SVC_RMA_Create_Return of form SVC_RMA_Create_Return) then";
    code = code + "  set 'Document ID' of window SVC_RMA_Create_Return of form SVC_RMA_Create_Return to IN_Value;";
    code = code + "  run script 'Document ID' of window SVC_RMA_Create_Return of form SVC_RMA_Create_Return;";
    code = code + "  focus 'Customer Number' of window SVC_RMA_Create_Return of form SVC_RMA_Create_Return;";
    code = code + "end if;";

    {Execute the code.}
    if execute(949, code, compiler_error,IN_Value) <> 0 then
     {A compiler error occurred. Display the error.}
     error compiler_error;
     abort script;
    end if;

  • Tim W Profile Picture
    Tim W 2,925 on at
    RE: I am trying to do customization using Dexterity in DynamicsGP Manufacturing Module ICONMFG.DIC, how can I access the resources from the dictionary Dynamics.dic in my customization of Manufacuring Module ICONMFG.DIC. Can anyone help me please .....?

    You can't do it the way you're trying to do it, it's a tier issue.  MFG is a custom product off Dynamics.dic and GP inheritance from Dex is only two tier.  Your custom product would need to be built off Dynamics.dic instead and then you need to build references (cross dictionary triggers) across to the MFG dictionary.

    There are some tricks to working peer to peer, many things you can accomplish, some things are limited.  Everything I know about this process I've learned from David Musgrave.  https://blogs.msdn.microsoft.com/developingfordynamicsgp/2009/09/17/understanding-cross-dictionary-dexterity-development/

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans