p_record_ids(1).id1 := rec_1.line_id; --line_id
p_record_ids(1).id2 := rec_1.header_id; --header_id
p_record_ids(1).org_id := rec_1.org_id;
oe_oe_form_cancel_line.process_cancel_quantity(p_num_of_records => 1,
p_record_ids => p_record_ids,
p_cancel_to_quantity => NULL,
p_cancellation_comments => NULL,
p_reason_code => 'NOT PROVIDED',
p_cancellation_type => NULL,
p_mc_err_handling_flag => fnd_api.g_miss_num,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data,
x_return_status => l_return_status,
x_error_count => l_error_count);