web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Object could not be created because abstract method RunBase.pack() has not been implemented.

(0) ShareShare
ReportReport
Posted on by 828

i followed the following blog to create a dialouge.

daxbeginners.wordpress.com/.../how-to-create-a-simple-dialog-through-x

im getting the following error in line 3 .  im using AX4.

public static void main(Args _args)
{
    CustCreateDialog custCreate = new CustCreateDialog();   //line 3 error
  
    // Prompt the dialog, if user clicks in OK it returns true
    if (custCreate.prompt())
    {
        custCreate.run();
    }
}

ERROR:

Object could not be created because abstract method RunBase.pack() has not been implemented.

i need some suggestion to resolve this error.

*This post is locked for comments

I have the same question (0)
  • RamKumarb Profile Picture
    828 on at

    Thanks Sukruk, That works.

    i'm getting one more error in this method , is this method "FormStringControl " available in ax4

    Error: "The class FormStringControl does not contain this function."

    protected Object Dialog()

    {

       Dialog                      dialog;

       FormStringControl           control;

       DialogField                 fieldLookup;

       ;

       dialog = super();

       fieldLookup= dialog.addField(typeid(RecipeFormulaDivision));

       control = fieldLookup.control();

       // getting error in below line

       control.registerOverrideMethod(methodStr(FormStringControl,lookup),methodStr(Recipe1,lookup), this);

       return dialog;

    }

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans