Example of the NotifyNewFieldData Notification

The following code is an example usage of the NotifyNewFieldData notification:

this.AttachNotificationHandler(consts.get("SWE_PROP_BC_NOTI_NEW_DATA_WS"), 
function (propSet){    
var field = propset.GetProperty(consts.get("SWE_PROP_NOTI_FIELD"));    
if (field === "Customer Last Name"){    
// Notify my extension that shows this value in a different way.    
this.SetProperty ("RefreshExtn", true);    
}    
}