Topic: Sequencing Header2() in reports
The FrontReport method Header2() uses the property $formData which gets populated in it's method SetCommonData(). Therefore in all the reports, the SetCommonData() method and it's dependant data must be called before the header2() method is called. It is the Header2() method that calls the doctext.inc and header2.inc file which need the elements of the $formData property.
The $formData property is primarily a single dimension array with fields from various tables and variables.
If the same field name is culled from several tables and populated into the said property, then only the last one prevails.