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.