Archive for the 'Order Management' Category

Order Line Cancellation

July 17, 2008

Recently, worked on a task to cancel Order Lines which are aged (n days old). Intially the task seems to be simple with two steps
1. Retreive the Order Lines that are to be Cancelled.
2. Use oe_order_pub.Process_order API to cancel.
Used the following Order header and line records for Process order
Header Rec:
lr_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC;
Line Table:
lr_line_tbl(ln_count) := OE_ORDER_PUB.G_MISS_LINE_REC;
lr_line_tbl(ln_count).operation := [...]