Automatic creation of tied documents based on return reason

The Copy function in Sales Order Entry has been updated to follow the same logic used when a Return Merchandise sales order (OE RM) with a tied purchase order is created manually.

When you copy a Direct Order sales order with a tied purchase order to create an OE RM, a tied Return Merchandise purchase order (PO RM) is created only if the Return Adjust Reason is a vendor return reason or is blank. If the OE RM contains multiple lines when it is created, only one PO RM is created for all lines. When you edit the copied OE RM, this message is displayed: Manually Adjust PO/WT/WO/VA for Changes Made (5799).