On the Sales Order form I want to create a dropdown list that populates the customer’s name from our cntcust BO based on the customer in the loaded sales order.
It is pulling all customer names. I’m not sure how to do that.
bool recSelected;
string whereClause = string.Empty;
System.Data.DataSet dsCustCntAdapter = Ice.UI.FormFunctions.SearchFunctions.listLookup(this.oTrans, “CustCntAdapter”, out recSelected, false, whereClause);
if (recSelected)
{
// Set EpiUltraCombo Properties
this.epiUltraComboC2.ValueMember = “EMailAddress”;
this.epiUltraComboC2.DataSource = dsCustCntAdapter;
this.epiUltraComboC2.DisplayMember = “Name”;
string[] fields1 = new string[] {
“Name”};
this.epiUltraComboC2.SetColumnFilter(fields1);