on 10-18-2016 7:30 PM
Dear community,
we would need to approve sales quotes using web service communication.
I created a customer specific solution with a web service for the action "Approve" on sales quotes.
I tried to use A2X and B2B authentication but calling the webservice does not work.
Does anybody has experience with this action?
With business user authentication the result is an error message "Assertion failed", although the business user is the assigned approver for the sales Quote.
Kind regards,
Christine
Hello Horst,
I am currently facing a similar problem: When creating an instance of the BO "Employee Time", I would like to immediately approve it via ABSL-code.
There is an action "EmployeeTime.Approve()" available, but when I try to use it, the error "Approval functions can only be called within script files of approval actions." is shown in the error console.
Honestly, I have no idea what this means, can you please shed some light on this issue?
Thank you and Kind Regards
Pablo
--------------------------------------------
Edit:
Finally, the simple solution was just that you first have to call "SubmitForApproval()" before you can call "Approve()" in ABSL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Christine,
As the CustomerQuote in ByD is not using the ESF2 framework you cannot enhance it with an own action. 😞
So the old way of having a "shadow" BO with the action calling the CustomerQuote->Approve is required.
Sorry,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gregory,
You want to add a node to a Business Object Extension.
Therefore you go to the the documentation and drill down to
Scripting Languages -> Scripting Language for the Studio -> Business Object Definition Extension -> Node
and you will find the actual list.
HTH,
. Horst
I created the webservice in the Cloud Application Studio to call the Action CustomerQuote.Approve.
I opened an incident about this issue and the answer was, that this Action is not supported to be called directly.
The approval functionality is part of a separate engine and not available for partners at the moment.
If someone knows another way, how to approve sales quotes from an external application (with webservice), it would be great to know.
Kind regards, Christine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christine,
Is this webservice created in SDK? If yes, how are you testing the webservice? via ABSL? or WSID?...
Thanks, Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.