I have an application where I need to copy an exis...
# suitescript
m
I have an application where I need to copy an existing routing, change some fields then save the new routing. When I run the code: var newrout = record.copy({type: record.Type.MANUFACTURING_ROUTING, id:oldid}); I get a SSS_INVALID_SUBLIST_OPERATION error. This error seems out of place based on what I am trying to do. Does anyone know what might be going on here or if there is another way to accomplish this task?   Thank you, Mike
b
my guess would be a user event script whose beforeLoad does not work on copy
m
it doesn't work on load either. Is there an easy way to track that down.
my company employs dozens of scripts it'd be tough to search through all of them.
b