Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to show GP items in dexterity dropdownList

(1) ShareShare
ReportReport
Posted on by 5

I just created a simple window in which i have two fields .

1: Description text box.

2: DropDownList for items from GP.

I want to show the list of items  from GP in a dropdown which  is  created by using dexterity.

Any who can precisely guide me for the expected solution.Thanks

Categories:
  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    13,982 Most Valuable Professional on at
    RE: How to show GP items in dexterity dropdownList

    This will work, but as Drop Down Lists are limited to 32K items you will have issues of there are too many records being added. Also anything more than around 20-30 items and using a Drop Down List is not the best user experience.

    clear '(L) DDL Field';

    get first table IV_Item_MSTR;

    while err() <> EOF do

       add item 'Item Number' of table IV_Item_MSTR to '(L) DDL Field';

       get next table IV_Item_MSTR;

    end while;

    '(L) DDL Field' = max(1, '(L) DDL Field');

    David

  • Suggested answer
    SMike Giuffre Profile Picture
    277 on at
    RE: How to show GP items in dexterity dropdownList

    There are working examples in the Dex help system, which is why I recommend it so strongly.  These examples related directly to the Dex Sample applications delivered on the installation media.

  • AyyazKhNA Profile Picture
    5 on at
    RE: How to show GP items in dexterity dropdownList

    Thanks for your response.

     Please show me some working example related to this scenario.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    13,982 Most Valuable Professional on at
    RE: How to show GP items in dexterity dropdownList

    Mike is correct, to dynamically build a drop down list use the add item command.

    To have static values, add them when you create the datatype for your field.

    If you need more information on Dexterity and training see

    winthropdc.wordpress.com/.../

    winthropdc.wordpress.com/.../

  • Suggested answer
    SMike Giuffre Profile Picture
    277 on at
    RE: How to show GP items in dexterity dropdownList

    Use the dex add item command to populate the ddl.  Dex help is your friend!

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,001 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,833 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans