Delete sales order lines from fulfillment sets
Hi
We have a requirement to cancel certain lines on an RMA. The RMA has 2 types of lines - Inventory items that are to be returned AND the BILL ONLY LINES.
RMA is created with all of the lines assigned to a single fulfillment set.
The requirement is to Cancel all of the lines that have inventory items, leaving only the BILL ONLY lines for to Interface to AR
We used the PROCESS_ORDER API to cancel the SO Lines, but observed that this action doesn't delete the lines from the fulfillment set even after the cancel.
L_HEADER_REC.OPERATION := OE_GLOBALS.G_OPR_UPDATE;