Convert Estimate to Order with Net 30 causes error
# ask-stanley-ai
e
Convert Estimate to Order with Net 30 causes error
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems like there are a few different issues being discussed here. 1. The first issue is about converting an Estimate to a Sales Order with Net 30 terms. It seems like there might be some validation issues with NetSuite that are causing this problem. Unfortunately, there isn't enough information in the conversations to provide a definitive solution. 2. The second issue is about changing the payment method on a Sales Order from a Credit Card to Net 30 terms. The user was able to resolve this issue by setting the Payment Method to "Web Order", saving it, then editing it again to remove the Payment Method and change the terms to NET30. However, it's important to note that if the funds have been captured and possibly settled, a credit memo may be required. 3. The third issue is about a rounding error when trying to save a Sales Order in NetSuite using SuiteScripts. This error occurs when trying to save a decimal number with 2 or 3 digits after the decimal point. The user was able to replicate the error in their sandbox environment. One suggestion was to try parsing the values before adding them together, like so:
Copy code
javascript
parseFloat(salesTaxAmount) + parseFloat(totalPrice);
This might help to avoid the rounding error. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811987638
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.79364419
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.790937185
Please provide your feedback on this answer.