SetFont('Arial','',8) SetDrawColor(128,128,128) SetFillColor(255,255,255) Cell(40,4,'Bestellvorschlag',1,0,'L',0) Cell(20,4,'{app.datum}',1,0,'L',0) Cell(20,4,'Seite '.$this->PageNo(),1,0,'L',0) Cell(100,4,'{firma}',1,0,'L',0) Ln() Ln() SetDrawColor(128,128,128) SetFillColor(204,204,204) Cell(25,5,'Artikel-Nr',1,0,'L',1) Cell(70,5,'Bezeichnung/Text',1,0,'L',1) Cell(15,5,'Bestand',1,0,'R',1) Cell(15,5,'AufMenge',1,0,'R',1) Cell(15,5,'Vorschlag',1,0,'R',1) Cell(15,5,'BestMenge',1,0,'R',1) Cell(25,5,'Lieferant',1,0,'L',1) Ln() SetFont('Arial','',8) SetDrawColor(128,128,128) SetFillColor(255,255,255) Cell(40,4,'Bestellvorschlag',1,0,'L',0) Cell(20,4,'{app.datum}',1,0,'L',0) Cell(20,4,'Seite '.$this->PageNo(),1,0,'L',0) Cell(100,4,'{firma}',1,0,'L',0) Ln() Ln() SetDrawColor(128,128,128) SetFillColor(204,204,204) Cell(25,5,'Artikel-Nr',1,0,'L',1) Cell(70,5,'Bezeichnung/Text',1,0,'L',1) Cell(15,5,'Bestand',1,0,'R',1) Cell(15,5,'AufMenge',1,0,'R',1) Cell(15,5,'Vorschlag',1,0,'R',1) Cell(15,5,'BestMenge',1,0,'R',1) Cell(25,5,'Lieferant',1,0,'L',1) Ln() SetFillColor(204,204,204) Cell(140,5,'',1,0,'L',1) SetFillColor(204,204,204) Cell(95,5,'Anzahl Artikel: '.$this->GetVar("sumitems","int"),1,0,'L',1) Cell(85,5,'',1,0,'L',1) SetDrawColor(128,128,128) Cell(25,5,'{a.produktid}',1,0,'L',0) CellMax(70,5,'{bezeichnung} {a.bezeichnung}',1,0,'L',0) Cell(15,5,'{lbestand:num}',1,0,'R',0) Cell(15,5,'{amenge:num}',1,0,'R',0) Cell(15,5,'{vbmenge:num}',1,0,'R',0) Cell(15,5,'{bmenge:num}',1,0,'R',0) CellMax(25,5,'{liefname}',1,0,'L',0) SaveVar("sumitems",1,1) Ln()