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