AnsweredAssumed Answered

Java Error when connecting to Netsuite connector to query Terms

Question asked by VinaEllefson7101 on Dec 9, 2016
Latest reply on Dec 16, 2016 by VinaEllefson7101

I have a connector that query Netsuite Terms with 3 parameters 

Discount Days

Percent Discount Days

Net Days


It works great if there is a value on all 3 parameters but if the  Discount Days and Percent Discount Days are null it gives me a Java error, see below. I have converted the field to number but still gives me an error. What is the best way to get the internal ID for Terms to match the EDI Terms that the customer send?


[Function: CheckTermsAndUsedTermsInternalID, Connector Call (Step 2)]: Error executing Netsuite Command: Error executing Netsuite operation: java.lang.NumberFormatException: For input string: ""