Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

If condition in view

$
0
0

Hi All,

Is there a way to filter using the IF condition in view? I have a requirement where i have to display packageid in the form.i have a view which joins RBOTransactionSalesTrans and RBOMixAndMatchTable.I need to execute this condition in the view:

if(RBOTransactionSalesTrans.periodicDiscType == RBOPeriodicDiscType::mixandmatch)

{

return RBOMixAndMatchTable.PackageId;

}

Can this filter be achieved in the view? Or is there some other way to do this in the form itself?  Kindly advise.

Thanks and Regards,

Gaya3


Viewing all articles
Browse latest Browse all 9880

Trending Articles