Forum Discussion
RohitAgarwal
8 years agoQrew Cadet
Going in every application and then approving looks tedious.
Assume you have more than 4 and for every application, you want to approve leave application.
Why not create a custom script that allows you to update all application on a single click.
- create a page showing all your application along with a checkbox.
- which ever checkbox is checked collect rid for that checkbox and write API edit record in order to update leave taking balanced w.r.t rid you collected.
let me know if this solution looks good to you.
It will save a lot of time.
Assume you have more than 4 and for every application, you want to approve leave application.
Why not create a custom script that allows you to update all application on a single click.
- create a page showing all your application along with a checkbox.
- which ever checkbox is checked collect rid for that checkbox and write API edit record in order to update leave taking balanced w.r.t rid you collected.
let me know if this solution looks good to you.
It will save a lot of time.
- GauravSharma38 years agoQrew CommanderSounds good. :)
Can you please guide me more in achieving this?
Thanks,
Gaurav - RohitAgarwal8 years agoQrew CadetYeah Sure,
Step 1 - Make API do query call in order to get all your projects or application whatever you say along with the Record ID.
2- Display in a table associated with the check box.
3- Then on click of button check how many check boxes are selected if none leave error message else, Suppose two check boxes are selected get the RID for these 2 check boxes and store in an array.
4- loop through that array in order to make API EDIT Record w.r.t individual RID.
5- Done.
see attached picture for better understanding.