I have a script that does a transfer between warehouses from an item receipt.
When it does one line item it says I have 920.0 left. Yes, I ran the below code to tell me the 920.0 was left:
var use = nlapiGetContext().getRemainingUsage(); response.write(use);
If I run two line items, it gives me this error. Logically if one line item only depletes it by 80, why does 2 line items totally kill the script with the usage limit error?