Quick Start Guide
Use Case: When I change the name on the Salesforce Account I also want that to change the company name on the Breadwinner Company record and on the customer record in NetSuite
This can be done by creating a trigger to update the Customer record in NetSuite any time the Account Name changes on the Salesforce Account
The below code was created using our Apex Generator and then modified slightly to fit our use case.
Create an apex class to fill in the JSON request needed to update the NetSuite Customer record.
Next: create a trigger to run the above method only if the account name has changed.
Now when I change Eastern Mills Corp on the Salesforce Account
to Eastern Mills Enterprises and click 'Save', the change happens in all 3 places.