on 04-16-2018 2:44 PM
Hi,
Please Guide me for update sales order using Service layer via WCF.
i am facing Internal Error (-5002).
Hi Nikunj Prajapati,
Kindly help to provide the HTTP request and JSON format which you are using to update the Sales Order.
Kind regards,
ANKIT CHAUHAN
SAP SME Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
I am using WCF Code instead of Payload.
sample code:-
SalesOrder = currentServiceContainer.Orders.Where(cursor => cursor.DocEntry == 88365).SingleOrDefault();
SalesOrder.Comments = "Change it";
currentServiceContainer.UpdateObject(SalesOrder);
currentServiceContainer.SaveChanges();
In case of creating any new orders, system allows me but if i will try to update same via above mentioned code then system restrict me with "Internal Error Occurred" error message.
(Note:- Sales order is open)
Hope for positive response!
Thanks,
Nikunj P.
Dear Expert ,
Thanks Advance, Now I am trying the scenario for updating Existing sales Quotation line items using Service Layer WCF. But I am facing the below error.
InnerException = "{\n \"error\" : {\n \"code\" : -5002,\n \"message\" : {\n \"lang\" : \"en-us\",\n \"value\" : \"Internal error (-5002) occurred\"\n }\n }\n}\n"
Note: There is only one line item in sales quotation and their Quantity is 5 . Now i want to change the UOM and Quantity of the same line item. Please do the needful asap.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.