Deployed as a client side save record function.
This following script does the following:
- Gets the number of reps using nlapiGetLineItemCount
- Goes through each line item and determines if a rep has been set as 'Primary'
- If a a rep was not specified as 'Primary', it will display an alert message notifying the user
to specify a rep as 'Primary'
No comments:
Post a Comment