I’ve made a dashboard with a column of buttons, so the user can open the call log for that quote:
The code for the button:
private void myGrid_ClickCellButton(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
{
if (e.Cell.Column.Key == "Calculated_Button")
{
Erp.UI.App.CRMCallEntry.CRMCallArgs callargs = new Erp.UI.App.CRMCallEntry.CRMCallArgs(
"QuoteHed",
e.Cell.Row.Cells["QuoteHed_QuoteNum"].Value.ToString(),
"",
"",
e.Cell.Row.Cells["CRMCall1_CallSeqNum"].Value.ToString(),
e.Cell.Row.Cells["Customer_CustID"].Value.ToString()
);
ProcessCaller.LaunchCallbackForm(oTrans, "CRGO6100", callargs);
}
}
The button correctly opens the call log form, but none of the existing records show. What do I need to do to get the records pulled in automatically?