I have a user event that adds a button to a page a...
# suitescript
g
I have a user event that adds a button to a page and has a function to run when the button is clicked...
Copy code
function beforeLoad(context) {
        context.form.addButton({
            id: 'custpage_send_routing_request_btn',
            label: 'Send VC Routing Request',
            functionName: 'sendVCRoutingRequest()'
        })
    }