Hi,
static void Job560(Args _args)
{
PurchLine purchLine;
PurchTable purchTable;
update_recordset purchLine
setting
CustomerRef = "CUST_0012"
join PurchTable
where PurchTable.PurchId == "PO-000368"
&& PurchTable.PurchId == purchLine.PurchId
&& purchLine.CustomerRef == "";
info(strFmt("PurchTable = %1, PurchLine = %2 records updated",purchTable.RowCount(),purchline.RowCount()));
}
{
PurchLine purchLine;
PurchTable purchTable;
update_recordset purchLine
setting
CustomerRef = "CUST_0012"
join PurchTable
where PurchTable.PurchId == "PO-000368"
&& PurchTable.PurchId == purchLine.PurchId
&& purchLine.CustomerRef == "";
info(strFmt("PurchTable = %1, PurchLine = %2 records updated",purchTable.RowCount(),purchline.RowCount()));
}
Regards,
No comments:
Post a Comment