on 09-03-2015 12:08 PM
I all recently I have a requirement of updating Sales Order quotation . I want to add and update lines of sales order stages. And I am using
SAP B1 DI Server API for the same but during update of the quotation it is giving error OPR1 line is already closed.But the first line is not closed
in database the line status is open and from UI also I can upadte the existing row and add a new row. I am attaching the XML data I am pushing into SAP B1 . Please give some solution for this
Hi All,
Any suggestion on this. Please suggest some thing.
Thanks and Regards
Surajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Surajit,
You need separate your action in two parts when you request your DI Server:
First Request: Update the last line.
Second Request: Adds the new line.
The error occurs because you update an line and adds a new line in the same request to the DI server. When you added the new line the previous line is automatically close. How an error is raised all actions are undone, and is because the actions are undone that you can update the line by UI.
Regards,
Diego
Hi Diego,
Thanks for the reply . But I have a little confusion regarding separate add and update salesopportunities line items. In both case I have to update the salesopportunity but the line items will go in add and update mode but in DI server api what will the structure to send the line items in add and update format.
Thanks and Regards
Utpal Maity
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.