Thats exavtly what I am doing. I am doing this in ...
# suitescript
s
Thats exavtly what I am doing. I am doing this in code (Sales order user event script). So I am trying to see if there is a function like
Record.duplicateLine()
but AFAIK there isn't. My last resort is to create a new line then copy all the fields from line 1 over to the new line. Thats really inefficient. I am hoping someone has an idea of how to easily duplicate/clone/copy a line item in SS2.0