@pferrington @Epic_Santiago If you recall in 10.2.600 you delivered this amazing feature, and I’ve been using it, abusing it and overusing it!
However, it doesn’t work with an Updatable BAQ if I feed it params it keeps prompting for params. Do you have anything in your backlog to fix that bug or feature? If not, how can I push for it.
I think the only workaround now is to make a BPM on UBAQ under GetList and use BpmData to fill them in
BTW Thank You for also giving us the ability to pass Silent Params via BAQDataView. I’ve been using that as well
public void CreateBAQDV()
{
// Set up the BAQ(s) to be Called
MaterialBAQDV = new BAQDataView("CODE-IssuedExMaterial");
OperationBAQDV = new BAQDataView("CODE-IssuedExOperation");
// Add BAQ DataViews to the oTrans
oTrans.Add("MaterialBAQDV", MaterialBAQDV);
oTrans.Add("OperationBAQDV", OperationBAQDV);
// Set up the Strings (Field to Monitor, New Guid string, BAQ Parameter name)
Tuple<string, string, string>[] publishers =
{
Tuple.Create("PartTran.JobNum", Guid.NewGuid().ToString(), "JobNum"),
Tuple.Create("PartTran.AssemblySeq", Guid.NewGuid().ToString(), "AssemblySeq"),
Tuple.Create("PartTran.ActTranQty", Guid.NewGuid().ToString(), "ChangeQty"),
Tuple.Create("PartTran.DispUOM", Guid.NewGuid().ToString(), "OriginalUOM"),
Tuple.Create("PartTran.ActTransUOM", Guid.NewGuid().ToString(), "ChangeUOM"),
Tuple.Create("PartTran.PartNum", Guid.NewGuid().ToString(), "PartNum")
};
// Set up the Publisher Columns with the Guids
IPublisher pub1 = oTrans.GetPublisher(publishers[0].Item1);
if (pub1 == null)
{
foreach (var row in publishers)
{
oTrans.PublishColumnChange(row.Item1, row.Item2);
}
}
// Add the BAQ Parameters(BAQ Parameter Name, Comment, GUID Associated with the PublishColumnChange
foreach (var row in publishers)
{
this.MaterialBAQDV.AddBAQParameter(new BAQViewParameter(row.Item3, "", row.Item2));
this.OperationBAQDV.AddBAQParameter(new BAQViewParameter(row.Item3, "", row.Item2));
}
}