Skip to main content

I am trying to add a popup note when verifying a field (following this example from SO Line https://gist.github.com/gmichaud/17e346cdf3062de233f52c9976d0a03e) and getting the following error when publishing.  I know I am missing something within the highlighted section to make a proper if statement, but not sure how to fix it.

Publish error
Code

 

Think of the lowercase fields as objects and the uppercase fields as the actual value.

So you want for line 61:

if (POReceiptLine.ReceiptQty > POReceiptLine.OpenOrderQty)

 


With that update, at least it is a different error:
 

 


Whoops - my bad.

You don’t have a variable called POReceiptLine

I think you want:

row.ReceiptQty and row.OpenOrderQty


That did it!  Thank you!


Reply