Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

How to Specify Product Receipt in Purchase Order does not exist.

$
0
0

Hi. I'm building a view containing information from Purchase Order. On one field called Received Quantity, I have a requirement like this:

if (Product Receipt  exist)

{

if (Received Qty ==0)

{

Received Qty = Invoice Qty

}

else 

Received Qty = Received Qty

}

else if (Product Receipt does not exist)

{

Received Qty = Invoice Qty

}

*Invoice Qty is taken from Invoice of the Purchase Order.

How to write X++ statement specifying that the Product Receipt for specific Purchase Order record doesn't exist? 

Let me know of you need more information. Thank You.


Viewing all articles
Browse latest Browse all 143529

Trending Articles



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