Contact Us

ReferenceError

"calculateRealtimeRate" is not defined. (NLRecordScripting.scriptInit$lib#5926)

PROBLEM

For services based companies using SuiteCommerce or SuiteCommerce Advanced (NetSuite e-commerce), they may primarily be using the webstore for service items which don't need to have shipping. However, there is still a need to set up the shipping in order to resolve this error even if the shipping won't end up being utilized.

SOLUTION

Anchor Group was able to resolve the error upon submitting an order from Quote on My Account by enabling the CHARGE FOR SHIPPING preferences on the Set Up Shipping page. Please see below steps:

  1. Navigate to Setup > Accounting > Shipping
  2. Mark check box for CHARGE FOR SHIPPING
  3. Submit

If you have not setup a shipping integration, you will need to do that first. In our case, we setup a UPS account and added a payment method in order to get the UPS account number needed for the integration.

After the change, you need to submit a Cache Invalidation Request then verify the behavior on the web store if the error will now be resolved. From our testing, there is no Shipping Cost added on the Sales Order record created even if the said preference is enabled.

Related Articles

Got stuck on a step in this article?

We like to update our blogs and articles to make sure they help resolve any troubleshooting difficulties you are having. Sometimes, there is a related feature to enable or a field to fill out that we miss during the instructions. If this article didn't resolve the issue, please use the chat and let us know so that we can update this article!

Oracle NetSuite Alliance Partner & Commerce Partner

If you have general questions about NetSuite or more specific questions about how our team can support your business, contact us! Anchor Group is a certified Oracle NetSuite Alliance Partner and Commerce Partner equipped to handle all kinds of NetSuite and SuiteCommerce projects, large or small.

Horizontal Anchor Group logo orange anchor icon navy Anchor Group text

Tagged with Troubleshooting