Skip to Content
avatar image
Former Member

Capturing approved status of Sales Quote in SDK

Hi

I have a requirement where I need to capture the value of fields when the status of Quote is set to Approved. but when the approver clicks on Approve(tick) button no backend logic in sdk is triggered. So where exactly we can put a logic when quote status is getting approved.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Jan 27, 2017 at 11:52 AM

    Hello Saruchi,

    If the status is changed to "Approved" the AfterModify method of the Root node should be called.

    Did you add this ABSL exit to your Extension BO?

    Bye,
    Horst

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 27, 2017 at 12:05 PM

    Hi,

    You can use event mentioned by Horst or additionally you can use "Action validation: Approve" as attached. This will trigger everytime when a quote is getting approved and you can control if it has to be approved or reject based on some validation but other fields will be in read only mode.

    Thanks

    Saurabh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 27, 2017 at 01:30 PM

    Hi Horst

    Yes I checked Event After modify does not got triggered

    . @Saurabh: I checked this event but the issue is that I have few custom field details which I need to populate as soon as user click on Approve. This validation on Save will not give me any write access. Also once quote is Approved and I open it till then no event is triggered but as soon as I edit it and event AfterModify gets triggered. but at that point of time Approval Status is changed to Not Started.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 27, 2017 at 06:10 PM

    In that case as Horst mentioned you should code in AfterModify.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 28, 2017 at 12:37 AM

    Hi

    But by the time you will reach in Event After Modify status of Quote automatically changes to NotStarted.

    Thanks

    Saruchi

    Add comment
    10|10000 characters needed characters exceeded