Madmax,
correct, in the custom API, I call
then
, and finally
Select all
Oe_Order_Pub.Process_Header(p_Header_Rec => l_Header_Rec,
x_Header_Out_Rec => l_Out_Header_Rec,
x_Return_Status => l_Return_Status,
x_Msg_Count => l_Msg_Count,
x_Msg_Data => l_Msg_Data);
Oe_Order_Pub.Process_Order(p_Api_Version_Number => l_Api_Version_Number,
p_Init_Msg_List => Fnd_Api.g_True,
x_Return_Status => l_Return_Status,
x_Msg_Count => l_Msg_Count,
x_Msg_Data => l_Msg_Data,
-- In PARAM
p_Header_Rec => l_Header_Rec,
p_Line_Tbl => l_Line_Tbl,
p_Action_Request_Tbl => l_Action_Request_Tbl,
-- p_line_adj_tbl => l_line_frete_adj_tbl,
-- p_x_Line_Payment_tbl => l_line_frete_adj_tbl,
--OUT PARAM
x_Header_Rec => l_Out_Header_Rec,
x_Header_Val_Rec => l_Out_Header_Val_Rec,
x_Header_Adj_Tbl => l_Out_Header_Adj_Tbl,
x_Header_Adj_Val_Tbl => l_Out_Header_Adj_Val_Tbl,
x_Header_Price_Att_Tbl => l_Out_Header_Price_Att_Tbl,
x_Header_Adj_Att_Tbl => l_Out_Header_Adj_Att_Tbl,
x_Header_Adj_Assoc_Tbl => l_Out_Header_Adj_Assoc_Tbl,
x_Header_Scredit_Tbl => l_Out_Header_Scredit_Tbl,
x_Header_Scredit_Val_Tbl => l_Out_Header_Scredit_Val_Tbl,
x_Line_Tbl => l_Out_Line_Tbl,
x_Line_Val_Tbl => l_Out_Line_Val_Tbl,
x_Line_Adj_Tbl => l_Out_Line_Adj_Tbl,
x_Line_Adj_Val_Tbl => l_Out_Line_Adj_Val_Tbl,
x_Line_Price_Att_Tbl => l_Out_Line_Price_Att_Tbl,
x_Line_Adj_Att_Tbl => l_Out_Line_Adj_Att_Tbl,
x_Line_Adj_Assoc_Tbl => l_Out_Line_Adj_Assoc_Tbl,
x_Line_Scredit_Tbl => l_Out_Line_Scredit_Tbl,
x_Line_Scredit_Val_Tbl => l_Out_Line_Scredit_Val_Tbl,
-- p_header_payment_tbl => l_header_payment_tbl,
x_Header_Payment_Tbl => x_Header_Payment_Tbl_Type,
x_Header_Payment_Val_Tbl => x_Header_Payment_Val_Tbl_Type,
x_Line_Payment_Tbl => x_Line_Payment_Tbl_Type,
x_Line_Payment_Val_Tbl => x_Line_Payment_Val_Tbl_Type,
x_Lot_Serial_Tbl => l_Out_Lot_Serial_Tbl,
x_Lot_Serial_Val_Tbl => l_Out_Lot_Serial_Val_Tbl,
x_Action_Request_Tbl => l_Out_Action_Request_Tbl
-- p_rtrim_data => l_rtrim_data,
-- p_validate_desc_flex => l_validate_desc_flex
);
Oe_Order_Pub.Process_Line(p_Line_Tbl => l_Line_Tbl,
x_Line_Out_Tbl => l_Out_Line_Tbl,
x_Return_Status => l_Return_Status,
x_Msg_Count => l_Msg_Count,
x_Msg_Data => l_Msg_Data);