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 RunBaseReport.lastValueElementName() has not been implemented.

(0) ShareShare
ReportReport
Posted on by

can anyone help me on this error. im using ax2009. 

error : - Object could not be created because abstract method RunBaseReport.lastValueElementName() has not been implemented.

1)main: the error is from here

static void main(Args _args)
{
CustInvoiceJour gTblCustInvoiceJour;
SK_AR_EinvoiceClass SK_AR_EinvoiceClass;
SK_AR_EinvoiceClass EinvoiceClass = new SK_AR_EinvoiceClass();

;
if(EinvoiceClass.prompt())
{
EinvoiceClass.run();
}}

2)Dialog method

public Object dialog(DialogRunbase _dialog)
{
DialogRunbase dialog = super();
DialogGroup fromToGroup;

;
dialog.caption("E-Invoice");
fromToGroup = dialog.addGroup('');
fromToGroup.columns(2);
fromToGroup.frameType(1);

dialog.addGroup("Customer Invoice Journal",fromToGroup);
dialogInvoiceAccount = dialog.addFieldValue(typeid(CustInvoiceAccount),InvoiceAccount,"Invoice Account");
// dialogAccountNum = dialog.addFieldValue(typeid(AccountNum),AccountNum,"Customer Account");
dialogInvoiceDate = dialog.addFieldValue(typeid(InvoiceDate),InvoiceDate,"@SYS7402","@SYS67");

dialog.addGroup("Customer Invoice Line",fromToGroup);
dialogSalesId = dialog.addFieldValue(typeid(SalesId),SalesId,"Sales Id");

return dialog;
}

Thanks

*This post is locked for comments

I have the same question (0)
  • Don Shields Profile Picture
    650 on at

    Please post your class declaration.  You may need to override that method in your class and include super();

  • Community Member Profile Picture
    on at

    thanks,.this is my class declaration

    class SK_AR_EINVOICE3 extends RunBaseBatch

    {

    //added by siti

       DialogField         dialogInvoiceAccount;

       DialogField         dialogAccountNum;

       DialogField         dialogSalesId;

       DialogField         dialogInvoiceDate;

       AccountNum          AccountNum;

       SalesId             SalesId;

       CustInvoiceAccount  InvoiceAccount;

       InvoiceDate          InvoiceDate;

       CustInvoiceJour     gTblCustInvoiceJour;

       SalesParameters                     salesParameters;

       filePath                            saveFilePath;

       string255                           gStrToList;

       SK_AR_EInvoiceBatchSelectionARV     SK_AR_EInvoiceBatchSelectionARV;//temptablename

       query   query;

       #DEFINE.CurrentVersion(2)

       #LOCALMACRO.CurrentList

            InvoiceAccount,

            AccountNum,

            SalesId,

            InvoiceDate

       #ENDMACRO

    }

  • Community Member Profile Picture
    on at

    thanks crispin

  • Community Member Profile Picture
    on at

    thanks.

    i use extends RunBaseBatch

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 39

#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