Hello, Im having some trouble with some script, I ...
# suitescript
i
Hello, Im having some trouble with some script, I believe is the script, its a user event afterSubmit deployed on a customer, what happens is when creating the customer somehow it repeats the address line, for example if on the customer I create a ship to address line, when I save the record, it appears twice with the same id, and on the log of the deployment a debug line is repeated twice (
log.debug({ title: 'recordType', details: recordType });
), this debug is on the beginning of the script, also, this doesnt happens always, sometimes the address line doesnt get repeated but it is on the debug, and other times is not repeated anywhere