Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Customise a 3rd party dictionary form with Dexterity

Posted on by Microsoft Employee

Hello,

It is a friendly question and your answer is much appreciated.

I am MC Dynamics GP developer.

I need to add a new field into a 3rd party dictionary and I like you blog talking about adding a parallel synchronized window which opened when the desire form is opening.

 

I tried to do the trigger which allow me to do that but nothing works.

I need to show a message when “window SVC_Contract_Line_Invoice_View of form SVC_Inquiry_Contract_Entry” in SVC dictionary opened.

 

Here is what I did:

 

On the Startup I wrote:

 

local integer l_result;

 

l_result = Trigger_RegisterFocusByName(949, "window SVC_Contract_Line_Invoice_View of form SVC_Inquiry_Contract_Entry", TRIGGER_FOCUS_PRE, TRIGGER_AFTER_ORIGINAL,  script csSVC_Message);

if l_result <> SY_NOERR then

    warning "Focus trigger registration failed.";

end if;

 

“csSVC_Message” Code:

 

warning "Hi";

I don’t know what I miss.

 

is there anyone be able to send a full example of how to use parallel synchronized window technique.

Thank you.

*This post is locked for comments

  • Suggested answer
    soma Profile Picture
    soma 24,406 on at
    RE: Customise a 3rd party dictionary form with Dexterity

    To customize a 3rd Party window, I would suggest two options (1. Modifier with VBA 2. Dexterity).

    1. Modifier with VBA

    You can easily modify the 3rd party window by using Modifier and add the newly added button to VBA then write the code to this button change event. This is one of the best method for customizing 3rd party window. 

    Note: VBA is not supporting GP 2013 Web Client.

    2. Dexterity

    If you want to customize the 3rd party window with using Dexterity, go to GP installation folder and copy the 3rd Party extracted dictionary to your work area and open this dictionary in Dexterity and then modify the window and write your coding. Then you need to combine the development dictionary with dynamics dictionary with following below KB article.

    http://support.microsoft.com/kb/930350

    Finally paste your combined dictionary to GP installation folder and test your customization.

    Note: Before follow above steps make sure you have a backup for GP installation folder.

    If you are not using GP web client then use Modifier and VBA for your 3rd party customization.

    Hope this helps!!!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customise a 3rd party dictionary form with Dexterity

    I build the chunk and deploy it. Then, tested it within GP.

    No, I didn't create the combined dictionary. I tried to make the combined dictionary but this will build new resource ID's in the main dictionary "Dynamics.dic" which will interrupt the extracted dictionary.

  • soma Profile Picture
    soma 24,406 on at
    RE: Customise a 3rd party dictionary form with Dexterity

    How did you test this customization in GP? deployed in GP? or Test Mode?

    Did you created combined dictionary?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customise a 3rd party dictionary form with Dexterity

    Hi,

    Appreciate your answer.

    Unfortunately, this doesn’t work.

    No any action happens when open the form.

    Do you have a complete example of using a 3rd party dictionary form with Dexterity?

    Would be much appreciated.

    Thank you.

  • Suggested answer
    soma Profile Picture
    soma 24,406 on at
    RE: Customise a 3rd party dictionary form with Dexterity

    Try the execute function into your procedure “csSVC_Message” Code as shown below.

    local string compiler_error;

    if execute(949, "warning""Hi"".", compiler_error) <> 0 then

       {A compiler error occurred. Display the error.}

       error compiler_error;

    end if;

    Hope this helps!!!

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

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