Hi,
How can I write a query for the below code in x++?
while select vendTable
{
select firstonly vendTrans order by vendTrans.TransDate desc
where vendTrans.AccountNum == vendTable.AccountNum;
procurementTmp.clear();
procurementTmp.AccountNum = vendTable.AccountNum;
procurementTmp.Name = vendTable.name();
procurementTmp.LastTransactionDate = vendTrans.TransDate;
procurementTmp.insert();
}
Thanks in advance,
Maverick
*This post is locked for comments
I have the same question (0)