03 August 2020

How to get multiple record or selected record in D365FO

Public static void main(Args _args)
{
ProjOnAccTrans  projOnAccTrans;
        FormRun formRun = _args.caller();
        FormDataSource fds;
        fds = formRun.dataSource(formDataSourceStr(ProjTransOnAcc,ProjOnAccTrans));

        projOnAccTrans = fds.getFirst(true);
}

No comments:

Post a Comment

Give me the commetns and solutions

Ledger Voucher creation Framework and x++ code to create ledger voucher

 Please click her for MS reference file Below is the out of the box example reference and code. SalesInvoiceJournalPostSubBill_Extension-...