Reducing the Recurrence count by one whenever a user creates a copy of the PO record in Before Submit Trigger using User Event Script in Netsuite.

Steps:- First visit a Parent PO record. Click on edit and enter a desired positive integer value in the Number of Recurrence field. Click on save. Make a copy of the Parent PO. Save the child record or copy of that PO. Navigate to the respective or related Parent PO. The number will be reduced… Continue reading Reducing the Recurrence count by one whenever a user creates a copy of the PO record in Before Submit Trigger using User Event Script in Netsuite.

“THAT RECORD IS NOT EDITABLE”

When trying to set a image field value in “before submit” i have used : new_rec.save({ ignoreMandatoryFields: true, enableSourcing: false }); But getting an error : This error will be removed when record.save() is excluded from the script. but the issue is that the required image is not visible on the Magento website. When attaching… Continue reading “THAT RECORD IS NOT EDITABLE”