public void CreateTotalBilledBAQView()
{
baqViewTotalBilled = new BAQDataView("TotalOrdTotalInvByShipToNum");
oTrans.Add("TotalBilledBAQ",baqViewTotalBilled);
string pubBinding = "ShipTo.ShipToNum";
IPublisher pub = oTrans.GetPublisher(pubBinding);
if(pub == null)
{
oTrans.PublishColumnChange(pubBinding, "MyCustomPublish");
pub = oTrans.GetPublisher(pubBinding);
}
if(pub != null)
baqViewTotalBilled.SubscribeToPublisher(pub.PublishName, "TotalOrdTotalInvByShipToNum_ShipToNum");
}
PS I found a video on YouTube that happened to be made by you a few years ago and used that code as a template
The only other publisher I would add is Customer.CustID