

  that.result.metaData[3].name = 'Aufwand<br/>PT';

  that.result.metaData[7].name = 'Planstunden<br/>JHE 2017';

  that.result.metaData[8].name = 'Iststunden<br/>JHE 2017';

  that.result.bottomtext = "Bestätigung Projektleiter: <table border=\"1\"><tr>";

  that.kps = {};

  for (that.pi=0; that.pi<that.result.rows.length; that.pi++) {

    if (that.result.rows[that.pi][0]=="Summe") continue;

    if (that.result.rows[that.pi][0]=="-----") continue;

    if (that.kps[that.result.rows[that.pi][0]]) continue;

    that.kps[that.result.rows[that.pi][0]] = "KNOWN";

    that.result.bottomtext += "<td>"+that.result.rows[that.pi][0]+"</td><td>____________________</td>";

  }

  that.result.bottomtext += "</tr><table>";

  that.result.bottomtext += "<p style=\"font-size: 40%\">(1) ... Gesamte geplante (und bestellte) Mengen für das Jahr 2017</p>";

that.wminfo = aux.select_result_data(that.result,{select:{cmd:"select", colnum:6, where:"rowvalue[0]=='Summe'"}});

that.BANRlist = functions.ExtractBANRsFromKostAufteil(that.result);

that.result.title = "Kostenaufteilung Detailübersicht Johannes Hell "+that.wminfo.rows[0][0]+" (BA "+that.BANRlist+")";

that.query.title = that.result.title;