Hello Experts,
I have the following requirement:
If a sales order contains a line item with item category XXXX, automatically create a follow-up service order with the item XXXX.
To achieve this, I created a custom action profile and assigned it to item category XXXX. I specified the start condition as the item user status 'Open' and set it to be automatically scheduled and triggered on saving the sales order. I assigned the method COPY_DOCUMENT to the custom action and have maintained the necessary processing parameters for COPY_DOCUMENT (specified initial value as the Service Order transaction type).
However, when I save the sales order and check the action status at the line item, I get an error as follows in the processing log: 'Copying Transaction Sales Order to Service Complaint is not maintained'.
Since I am trying to create a service order and not a service complaint, I am not sure why I got the above error.
One more question - Can the method COPY_DOCUMENT work only when assigned to a header action profile and not an item action profile?
Really appreciate your inputs.
Thanks,
Aditya