Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8670279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:40:30+00:00 2026-06-12T18:40:30+00:00

I have been successfully using a custom lookup for years in AX2009. After uplifting

  • 0

I have been successfully using a custom lookup for years in AX2009. After uplifting to RU7, it seems the previous method no longer works. Any suggestions as to what I should change in order to fix it?

Here is the code I’ve been using to call custom lookups:

public void lookup()
{
List    valueList = new List(Types::String);
;
    //add the choices to the list
    valueList.addEnd('@ABC123');
    valueList.addEnd('@ABC246);
//display the list using the customized syslookup routine
SysLookup::lookupList(this, valueList, "@ABC369");
super();
}

Here is the method I added to the sysLookup class:

public static client void lookupList(FormStringControl _formStringControl, List _valueList, str _columnLabel = '')
{
Args    args;
FormRun formRun;
;
if (_formStringControl && _valueList && _valueList.typeId() == Types::String)
{
    args = new Args(formstr(SysLookup));
    args.parmObject(_valueList);
    args.parm(_columnLabel);
    formRun = classFactory.formRunClass(args);
    formRun.init();
    _formStringControl.performFormLookup(formRun);
}
}

This worked perfectly until we installed RU7. Now, we receive the following error:

Error executing code: DictEnum object not initialized.
(C)\Classes\DictEnum\label
(C)\Forms\SysLookup\Methods\run
(C)\Classes\FormStringControl\performFormLookup
(C)\Classes\SysLookup\lookupList – line 16
(C)\Classes\FormStringControl\Lookup

I’m open to suggestions as to how to fix the current problem or how to create the same effect in RU7 (without bringing in the pre-RU7 syslookup class, which does work, but isn’t acceptable.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:40:31+00:00Added an answer on June 12, 2026 at 6:40 pm

    I wonder what application version you could have been successfully using your custom lookup in.
    It isn’t working even in RU-3. I suppose your SysLookup form had been customized so that you could use your lookupList method – I suggest you to verify it.

    Standard SysLookup form makes use only of args.parm() and not args.parmObject(), so your _valueList is not going to be used at all. You can check how the lookup form is called in \Forms\KMQuestionnaireStatistics\Designs\Design\[Tab:Tab]\[TabPage:RangesTab]\[Group:Ranges]\StringEdit:rangeGender\Methods\lookup

    I don’t know the value of your label "@ABC369", but in standard AX you won’t have an error only if it this label holds some base enum’s ID (e.g. “732” for NoYesCombo). You can also check it, however your List won’t be displayed in the lookup. You’d better check how the SysLookup form had been customized in the environment where you’ve been successfully using the code snippet you provided.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All these years i have been successfully using EnumServicesStatus in combination with OpenScManager (with
I have been trying to post using RestKit after I have successfully used it
I have a Linq-To-Sql based repository class which I have been successfully using. I
I have successfully been using the eclipse Indigo internal browser to view my web
I have successfully been using Win32::Ole module to browser through pages and submit forms.
I have been using fullcalendar plugin successfully for a few months and suddenly ran
I have started using https://github.com/omab/django-social-auth and been successfully able to login via twitter, google
I have successfully created a custom Facebook open graph action, and have been able
I have been successfully using my code with the javascript library in the ANTLR
For a few months I have been successfully using David Justices Default Button example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.