I usually start w/ making the button & using the wizard to create the event. Then throw in code depending on what I want.
Call a Form:
private void xOpenMemo_Click(object sender, System.EventArgs args)
Trigger a BPM:
Private Sub epiButtonC1_Click(ByVal sender As Object, ByVal args As System.EventArgs)
Dim objUD05 As New Epicor.Mfg.BO.UD05(MainController.Session.ConnectionPool)
Dim UD05ds As New Epicor.Mfg.BO.UD05Dataset
Dim output As string
UD05ds = objUD05.getByID("Reports","","","","")
IF UD05ds.UD05.Rows(0)("Checkbox03") = True THEN
UD05ds.UD05.Rows(0)("Checkbox03") = FALSE
ELSE IF UD05ds.UD05.Rows(0)("Checkbox03") = FALSE THEN
UD05ds.UD05.Rows(0)("Checkbox03") = True
Catch ex AS exception
From: email@example.com [mailto:firstname.lastname@example.org]
On Behalf Of ryan@...
Sent: Thursday, October 17, 2013 8:36 AM
Subject: [Vantage] Launch a dashboard from a button
Good morning... Epicor 9.05.702
How might one go about launching a dashboard (or perhaps other things) from a custom button slapped on Quote Entry and Sales Order Entry? (This may answer another question regarding putting buttons on dashboard trackers)
I imagine it's a C# modification, but is it possible to to do this with the wizard tools or can someone supply a brief code snippet of what I'd need?
Also a step-by-step something like:
1. Create button on screen...
4. It works!