Copy EFF attributes from original sales order when creating RMA
Summary:
I would like to copy the EFF attributes of the original sales order when creating an RMA. (both header and details)
I understand that this is done using the OM extension.
However, it doesn't reflect well.
Below is the code I wrote, could you please point out what is wrong?
Also, EFF has multiple settings for both header and details. Could you please tell me the description in that case?
---------------------------------------------------------------------------------
import oracle.apps.scm.doo.common.extensions.ValidationException;
import oracle.apps.scm.doo.common.extensions.Message;
import java.util.logging.Level;
Long lineId = 0;
Long headerId = 0;
def lines = header.getAttribute("Lines");