Hi All, Application.on('after:Profile.get', funct...
# suitecommerce
g
Hi All, Application.on('after:Profile.get', function (modelDefinition, resultData) { var lookupResults = nlapiLookupField('customer', resultData.internalid, [ 'mycustomField' ]); resultData.customfields = lookupResults.mycustomField; }); is this correct to get the Customer data?
f
You can use (commerce API):
ModelsInit.customer.getCustomFieldValues();
In order to get the custom field values.
g
I have used but it is not showing any thing
I have used custom fields bundle
Actually whenever the user logged into site ,custom field value need to be empty,and when the user click on button,the custom field value should be updated to respective value