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

error in Query with adding a link between tables

$
0
0

Hi

I do have a part of a query look like this:

 qbdPurchLine = qbdPackingSlipJour.addDataSource(tableNum(PurchLine));
 qbdPurchLine.relations(false);
 qbdPurchLine.joinMode(JoinMode::ExistsJoin);
 qbdPurchLine.addLink(fieldNum(VendPackingSlipJour, PurchId), fieldNum(PurchLine, PurchId));
 qbdPurchLine.addLink(fieldNum(VendPackingSlipTrans, ItemId), fieldNum(PurchLine, ItemId));


executing this part the last line with the addLink(fieldNum(VendPackingSlipTrans, ItemId), fieldNum(PurchLine, ItemId)) is translated into "VendPackingSlipJour.DeliveryDate = PurchLine.ItemId"

Can someone please help me out?


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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