Hey there,
I’ve added a method directive (post) to set the default sales rep on the CRM Call get new call. That works fine. But the combobox doesn’t update to the applied sales rep ID until you click on the box, then the right name is displayed.
I tried a refresh on the combobox like this:
private void edvCRMCall_EpiViewNotification(EpiDataView view, EpiNotifyArgs args)
{
// ** Argument Properties and Uses **
// view.dataView[args.Row]["FieldName"]
// args.Row, args.Column, args.Sender, args.NotifyType
// NotifyType.Initialize, NotifyType.AddRow, NotifyType.DeleteRow, NotifyType.InitLastView, NotifyType.InitAndResetTreeNodes
if ((args.NotifyType == EpiTransaction.NotifyType.Initialize))
{
if ((args.Row > -1))
{
cboSalesPerson.Refresh();
}
}
}
It hits the code, but the display name doesn’t change to match the sales rep ID on the record.
Have a suggestion?
Thanks,
Joe