Hi,
I have a custom checkbox called "Hold" in Vendor form. If a particular vendor is put on hold , all the bills for that vendor has to be put on hold (Payment hold checkbox in the Bill page has to checked)
I understand we can do it through scripting. I am a newbie for Suite script and this is my first script. Please help.
My approach is that,
1. On save of Vendor record, a script has to be invoked.
2. The script checks if the Vendor is put on hold.
3. If yes, a saved search is invoked to pull the list of all bills for that vendor.
4. For each bill the Payment Hold checkbox has to be checked.
But I am not sure how to invoke the functions and api. Any pointers will be appreciated.
TIA.