Hi,
why i can't get name from dirPartyTable using this job ,is there an error ? please help me to fix that
static void GenerateName(Args _args)
{
str res;
DirPartyTable dirPartyTable;
VendPackingSlipTrans vendPackingSlipTrans;
PurchTable purchTable;
VendTable vendTable;
select firstOnly dirPartyTable
where
dirPartyTable.RecId ==vendTable.Party &&
purchTable.OrderAccount == vendTable.AccountNum &&
purchTable.PurchId == "000002" ;
//purchTable.PurchId == VendPackingSlipTrans.OrigPurchId;
if (dirPartyTable)
{
info("done !");
res = dirPartyTable.Name;
}
info(strFmt("job says name's == %1", res));
}
*This post is locked for comments
I have the same question (0)