Sunday, March 17, 2019

Capture the Address Change in Webstore using SuiteScript

User can capture the update in Billing address in web store using a fieldChanged (Client Event type). They deployed the script in the sales order and used the 'billaddress' or 'billaddresslist' field.

Below is the sample:

function addressChanged(type, name)
if (name == 'billaddress'){
 var billAdd = nlapiGetFieldValue('billaddress');
 nlapiLogExecution('DEBUG', 'Updated billing address', billAdd);


No comments:

Post a Comment