Alrighty so I'm trying to create a button that inactivates an account on click.
The idea would be: if I click the button on the inactive/active button, it'll execute a plsql function in the background that'll active/inactivate the account.
Now - here's where it gets iffy:
- How do I pass along the value of the Activity Date down to my PLSQL code?
BEGIN
pkg.activate('active', <ACTVITIY_DATE>);
END;
- How do I get the button to work so it activates the code on click?
Was going to be my plan and do a jQuery that executes code. Would this work?