if (scriptContext.type === scriptContext.UserEventType.COPY) {
var currentRecord = scriptContext.newRecord;
currentRecord.setValue({
fieldId: ‘custbody_pb_shipment_id’,
value: ‘ ‘
}) }