Continuing testing a solution for a customer and am trying to understand (finding an explanation on the community and the documentation was not successful) to the following error message:
I have the following script in the trigger "Sales: Before saving quote":
Integer saleId = getCgiVariable("sale_id").toInteger();
Integer qId = getCgiVariable("quote_id").toInteger();
NSSale sale = saleAgent.GetSale(qId);
NSQuote quote = quoteAgent.GetQuote(qId);
What am I doing wrong?