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

RE: Delete Data if Not Existing in Joined Table

$
0
0

you can achieve the solution 2 way

1.

whileselectforUpdate InventTransferLine

notexists inventTransOrigin

where InventTransferLine.InventTransID == inventTransOrigin.InventTransId

&& InventTransferLine.TransferId == InventTransferTable.TransferId

2.

whileselectforUpdate InventTransferLine

 join inventTransOrigin

where InventTransferLine.InventTransID != inventTransOrigin.InventTransId

&& InventTransferLine.TransferId != InventTransferTable.TransferId


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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