FormDataSource salesLine_ds = this.formRun().dataSource(formDataSourceStr(SalesTable, salesLine));
SalesLine salesLine = salesLine_ds.cursor();
This blog is for Dynamics AX (AXAPTA) Developers,this will help you for your development issues. This site contains some Microsoft Dynamics AX X++ Codes for use in your day to day use.
FormDataSource salesLine_ds = this.formRun().dataSource(formDataSourceStr(SalesTable, salesLine));
SalesLine salesLine = salesLine_ds.cursor();
Please click her for MS reference file Below is the out of the box example reference and code. SalesInvoiceJournalPostSubBill_Extension-...