Netusite error on Sales order with illegal number ...
# ask-stanley-ai
s
Netusite error on Sales order with illegal number infinity
c
AI generated answer (using internal Slack threads):
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** The error you're encountering, "You have entered an Invalid Field Value -Infinity.00 for the following field: amount", is likely due to a script or workflow that is setting the 'amount' field to an invalid value during the creation of a Sales Order. The error message indicates that the issue is occurring after the record has been submitted, which suggests that a User Event Script or Workflow is causing the problem. To troubleshoot this issue, you can follow these steps: 1. Check the Scripted Records Page in NetSuite. This page lists all the scripts that are associated with a particular record type. You can access this page by following this link: https://system.netsuite.com/app/help/helpcenter.nl?topic=LIST_SCRIPTEDRECORD 2. Look for any User Event Scripts that are associated with the Sales Order record type. Check each script, particularly those with an 'afterSubmit' function, to see if they are setting the 'amount' field to an invalid value. 3. If you can't find the issue in the User Event Scripts, check the workflows. There might be a workflow that is triggered 'afterSubmit' for the Sales Order record type and is setting the 'amount' field to an invalid value. 4. If you still can't locate the issue, you can check the Server Script Log. This log records all the errors that are thrown at the system level. You can access this log by following this link: https://system.netsuite.com/app/common/search/search.nl?searchtype=ScriptNote&rectype=-1&cu=T&e=F 5. If the error is not found in the Server Script Log, you may need to check the Script Execution Logs. You can access these logs by following this link: https://system.netsuite.com/app/help/helpcenter.nl?topic=LIST_SCRIPTNOTEARCHIVE Remember to check your scripts and workflows carefully. The error message indicates that the 'amount' field is being set to '-Infinity.00', which is an invalid value. You need to ensure that your scripts and workflows are setting this field to a valid numerical value.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815858305
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815721214
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815365791
Please provide your feedback on this answer.