NAV 2017 Workflows - Rever / Apply / Discard values response
georgetheod7
Member Posts: 2
Hello!!
I would like some help if someone has already setup a workflow similar to mine to understand how the 3 responses work since I've spent a lot of time without any luck.
What I want to achieve is to setup an approval workflow for Vendors where the initial value of the field will not change until the change is approved. I've used the standard Vendor approval workflow from the templates but what I've noticed is that any change you make even though the approval is rejected or cancelled the changed value remains. From what I understand I can work around this with the following responses : 1. Revert the value of the <Field> field on the record and save the change. 2. Apply the new values 3. Discard new values.
However I've tried to add these responses with several methods on my events but I haven't managed to make it work. The way I believe it should work is by placing the "Revert the value of the <Field> field on the record and save the change" response to the first event which is "A vendor record is changed." However when I do it this way when the approver goes on the Record that needs to be approved the Approve function is not there even though the record is displayed normally in the Approval entries table with Open status...
Has anyone managed to built this kind of workflow so I can get some help????
Thanks in advance!!!!!

I would like some help if someone has already setup a workflow similar to mine to understand how the 3 responses work since I've spent a lot of time without any luck.
What I want to achieve is to setup an approval workflow for Vendors where the initial value of the field will not change until the change is approved. I've used the standard Vendor approval workflow from the templates but what I've noticed is that any change you make even though the approval is rejected or cancelled the changed value remains. From what I understand I can work around this with the following responses : 1. Revert the value of the <Field> field on the record and save the change. 2. Apply the new values 3. Discard new values.
However I've tried to add these responses with several methods on my events but I haven't managed to make it work. The way I believe it should work is by placing the "Revert the value of the <Field> field on the record and save the change" response to the first event which is "A vendor record is changed." However when I do it this way when the approver goes on the Record that needs to be approved the Approve function is not there even though the record is displayed normally in the Approval entries table with Open status...
Has anyone managed to built this kind of workflow so I can get some help????
Thanks in advance!!!!!

0
Answers
-
check out the customer credit limit workflow. I believe that does what you are looking for.
When you change the credit limit and leave the record, it alerts you that the approval has started, reverts the value back to what it originally was and closes the record. Once the approval is granted, the value is automatically changed. Hope that helps.0 -
Hey there,georgetheod7 wrote: »What I want to achieve is to setup an approval workflow for Vendors where the initial value of the field will not change until the change is approved.
I don't think this is possible with the standard-functionality.
To achieve this goal you would have to create a second instance (copy) of the Customer-table in which the users are performing the desired changes. When the record has been approved, the data would have to be copied into the original Customer-table (Table 18 - which is used by the business processes).georgetheod7 wrote: »However when I do it this way when the approver goes on the Record that needs to be approved the Approve function is not there even though the record is displayed normally in the Approval entries table with Open status...
Search for "Requests to Approve".
Cheers,
My blog - https://www.HannesHolst.com/0 -
I was a little bit confused by this post, so I will put my notes.
1)
This is definitely possible, I did the following test workflow and it works.georgetheod7 wrote: »What I want to achieve is to setup an approval workflow for Vendors where the initial value of the field will not change until the change is approved.
However,
2) The "An approval request is approved." event was not on the lookup list, so I had to enter the line manually (after some guessing).
3) Be sure to check the Enabled checkbox
4) It is not possible to see the not-yet-approved changes on Vendor Card, they are in the Requests for Approval window. If it is one field change, then the "Details" field is helpful. If many fields have been changed - I don't know.
Hope this can be a helpful post.
0 -
@aseigle did you manage to find a solution ?0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
