Hi,
I have a display method in the reqtranspo form which displays the status of a production order for planned purchase orders, this works fine:
Display str ProdStatus(reqtrans _reqTrans)
{
ReqTransCov _reqTransCov;
ReqRefType reqRefType;
;
select firstonly _reqTransCov
where _reqTransCov.ReqPlanId == _ReqTrans.ReqPlanId
&& _reqTransCov.ReceiptRecid == _ReqTrans.RecId;
if (ReqTrans.reqTransSettled(_reqTransCov).RefType == ReqRefType::ProdLine)
{
return enum2str(ProdTable::find(ReqTrans.reqTransSettled(_reqTransCov).RefId).ProdStatus);
}
else
return "";
}
I can't however seem to get this to work for transfer orders..
Anyone got a clue on how to hook those two up?
Thanks in advance,
Mike
*This post is locked for comments
I have the same question (0)