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)

Best way to do Cross Dictionary Scripting

(0) ShareShare
ReportReport
Posted on by

What is the best way to do cross dictionary scripting ? The way  we do currently is to create the code in string and then call execute command and pass the related product id. Reason to write the code in string is because the current dictionary doesn't have reference to the Fields/Forms of other dictionary and will end up giving compile time error. 

Is there any better way to do it ? 

Thanks,
Himal

*This post is locked for comments

I have the same question (0)
  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    Hi Himal

    For information on Cross dictionary development, I would suggest looking at my old blog. There are lots of articles.

    blogs.msdn.microsoft.com/developingfordynamicsgp

    I would suggest using a text field rather than a string and using + char(13); at the end of the lines to format the script.

    Then you can use warning l_text; to display the script if you need to debug it.

    BETTER STILL

    Develop your scripts using GP Power Tools' Runtime Execute window. Once you have the code working, use the Generate Dexterity Pass Through menu option and this will create the code to copy and paste into your dictionary.

    The Generate Dexterity Pass Through is a new feature for build 22, but is available in beta in the latest build 21 released. Build 22 will be released very soon.

    David

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
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans