, you can't edit a shipping address on a US Sales ...
# ask-stanley-ai
m
, you can't edit a shipping address on a US Sales Order after creation (works for canada). the error is because of Nexus form change but for canada seems like that's not an issue..
c
AI generated answer (using internal Slack threads):
Based on the conversations, it appears that the issue is related to the Nexus model in NetSuite. When creating or editing transactions, the Nexus (or tax jurisdiction) is determined based on the shipping address. Once a transaction has been saved, the Nexus cannot be changed. This is why you are unable to edit the shipping address on a US Sales Order after creation to a Canadian address, as it would require a change in Nexus. In the case of creating Sales Orders via SuiteScript, if the customer has a Canadian bill-to address and you override the ship-to address on the Sales Order to a USA address, it breaks the script because it expects different taxes. This is because the tax nexus country is determined based on the shipping address. There are two ways to add a Ship To Address to a Sales Order: 1. Custom Ship To Address that only lives in the Sales Order Form/Record and never makes it to the actual Customer. 2. Adding the address to the Customer and then selecting it in the Sales Order Ship To Address. These two methods are essentially different and the code is also different. If you're currently using the first method, you might want to try the second option. Also, it's worth noting that not all addresses from a customer's address book (combination of US and Canada addresses) show up on "Ship To Select" column field with "Enable Item Line Shipping = True" and Non-One World. This is likely because their tax form requirements are different, so you can't mix/match US/Canada addresses on a single transaction. ****** 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.875251234
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.875142
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.86015439
Please provide your feedback on this answer.