Record View Cache

Today I will demonstrate you that how to use Record View Cache in AX 2012.

static void RecordViewCache(Args _args)
{
CustTrans custTrans;
RecordViewCache recordViewCache;
;

select nofetch custTrans
where custTrans.AccountNum == '4000';
recordViewCache = new RecordViewCache(custTrans);
select firstonly custTrans
where custTrans.AccountNum == '4000' &&
custTrans.CurrencyCode == 'USD';
}


Happy Daxing.. :)

Comments