A random thing to try - what if you were to create a variable of the proper type
On type - select Choose Type (use filter - be patient…form is SLOOOW) Select MtlTagTableset
Add custom code block (for temp testing, we’ll manaully set some values)
var ParamRow = MtlTagDS.MtlTagsParam.NewRow();
ParamRow.RowMod = "A";
ParamRow["TotalQty"] = 1;
//add the rest
//basically you are entering this from your working trace to test
MtlTagDS.MtlTagsParam.Add(ParamRow);
var rs = MtlTagDS.ReportStyle.NewRow();
//same here, emulate what you see in working trace
MtlTagDS.ReportStyle.Add(rs);
Cross fingers - something prints?
Never done this before - but I always enjoy a challenge