Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Link Project Posted Transactions Grid to Respective Purchase Order Number - AX 2012 R3 CU11

$
0
0

Hi,

If you try to find by LOT** you will fail.

display PurchId PurchId()
{
PurchLine PurchLine;
ProjItemTransView projItemTransView;
InventTransOrigin inventTransOrigin;
ProjItemTrans projItemTrans;
;
if(this.ProjTransId)
{
select projItemTrans where projItemTrans.ProjTransId == this.ProjTransId;
select PurchLine where PurchLine.ProjTransId == projItemTrans.ProjTransIdRef
&& PurchLine.ItemId == projItemTrans.ItemId;
return PurchLine.PurchId;
}
else return "";
}

Thanks,


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>