{
supplierSourceBAQDV = new BAQDataView("TEAGLE-CustomerSupplier");
oTrans.Add("SupplierSourceBAQDV", supplierSourceBAQDV);
string pub1Binding = "OrderHed.CustNum";
IPublisher pub1 = oTrans.GetPublisher(pub1Binding);
if (pub1 == null)
{
string pubName = Guid.NewGuid().ToString();
oTrans.PublishColumnChange(pub1Binding, pubName);
pub1 = oTrans.GetPublisher(pub1Binding);
}
if (pub1 != null)
supplierSourceBAQDV.SubscribeToPublisher(pub1.PublishName, "Customer_CustNum");
}
The fields may not match your needs you may need to change that, create a BAQ with the two columns you want to display and go from there. Very simple.
Also check out @Carson his videos explains it. Epicor BAQ DataView - YouTube