cannot insert line in a booked order (OM_API)
Hello all,
on R12.2.4 env I'm facing a problem when trying to insert a line via OM_API.
The problem occurs only when the order is booked. If entered no problem arise.
Below the test script I'm using to add lines.
The script returns
X_Return_Status => U
p_data =>
Any suggestion?
Many thaks.
regards,
Davide
DECLARE
i_user_id NUMBER;
v_header_rec OE_ORDER_HEADERS_ALL%ROWTYPE;
v_item_rec MTL_SYSTEM_ITEMS%ROWTYPE;
L_Line_Rec OE_ORDER_PUB.LINE_TBL_TYPE;
L_Line_out_Rec OE_ORDER_PUB.LINE_TBL_TYPE;
OUT_Return_Status VARCHAR2(10);
OUT_Msg_Count NUMBER;