PACKAGE OE_Order_PUB to update Sales Credit (Salesrep) information
Hello Team,
Looking for quick reply.
I need to update Salesperson, Credit Type, Sales Group, Percentage (see screenshot 1)
But I am not able to achieve using
API: OE_Order_PUB
FUNCTION G_MISS_HEADER_SCREDIT_REC
TYPE Header_Scredit_Rec_Type IS RECORD
l_header_Scredit_tbl := OE_ORDER_PUB.G_MISS_HEADER_SCREDIT_REC;
l_header_Scredit_tbl.percent := 1;
l_header_Scredit_tbl.salesrep_id := 100037058; --- Dipesh Sharma
l_header_Scredit_tbl.sales_credit_type_id := 2;
l_header_Scredit_tbl.header_id := 1181099;
l_header_Scredit_tbl.operation := 'UPDATE';
Could you please advice for same as solution?