<!DOCTYPE openRPTDef>
<report>
 <title>Projects Detailed List</title>
 <name>ProjectsList</name>
 <description>List of Projects and details</description>
 <grid>
  <snap/>
  <show/>
  <x>0.05</x>
  <y>0.05</y>
 </grid>
 <size>Letter</size>
 <portrait/>
 <topmargin>50</topmargin>
 <bottommargin>50</bottommargin>
 <rightmargin>50</rightmargin>
 <leftmargin>50</leftmargin>
 <querysource loadFromDb="true">
  <name>detail</name>
  <mqlgroup>projects</mqlgroup>
  <mqlname>detail</mqlname>
 </querysource>
 <rpthead>
  <height>55</height>
  <label>
   <rect>
    <x>395</x>
    <y>5</y>
    <width>350</width>
    <height>38</height>
   </rect>
   <font>
    <face>Arial</face>
    <size>18</size>
    <weight>bold</weight>
   </font>
   <right/>
   <vcenter/>
   <string>Project List</string>
  </label>
 </rpthead>
 <section>
  <name>section</name>
  <group>
   <name>project</name>
   <column>project</column>
   <head>
    <height>55</height>
    <label>
     <rect>
      <x>0</x>
      <y>5</y>
      <width>105</width>
      <height>20</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>normal</weight>
     </font>
     <right/>
     <vcenter/>
     <string>Project Number:</string>
    </label>
    <field>
     <rect>
      <x>115</x>
      <y>25</y>
      <width>415</width>
      <height>20</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>bold</weight>
     </font>
     <left/>
     <vcenter/>
     <data>
      <query>detail</query>
      <column>item</column>
     </data>
    </field>
    <field>
     <rect>
      <x>115</x>
      <y>5</y>
      <width>300</width>
      <height>20</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>bold</weight>
     </font>
     <left/>
     <vcenter/>
     <data>
      <query>detail</query>
      <column>name</column>
     </data>
    </field>
    <label>
     <rect>
      <x>25</x>
      <y>25</y>
      <width>80</width>
      <height>20</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>normal</weight>
     </font>
     <right/>
     <vcenter/>
     <string>Name:</string>
    </label>
    <label>
     <rect>
      <x>455</x>
      <y>5</y>
      <width>80</width>
      <height>20</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>normal</weight>
     </font>
     <right/>
     <vcenter/>
     <string>Project Type:</string>
    </label>
    <field>
     <rect>
      <x>540</x>
      <y>5</y>
      <width>205</width>
      <height>20</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>bold</weight>
     </font>
     <right/>
     <vcenter/>
     <data>
      <query>detail</query>
      <column>project_type</column>
     </data>
    </field>
    <field>
     <rect>
      <x>635</x>
      <y>25</y>
      <width>110</width>
      <height>20</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>bold</weight>
     </font>
     <right/>
     <vcenter/>
     <data>
      <query>detail</query>
      <column>status</column>
     </data>
    </field>
    <label>
     <rect>
      <x>535</x>
      <y>25</y>
      <width>95</width>
      <height>20</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>normal</weight>
     </font>
     <right/>
     <vcenter/>
     <string>Project Status:</string>
    </label>
    <line>
     <xstart>0</xstart>
     <ystart>5</ystart>
     <xend>750</xend>
     <yend>5</yend>
     <weight>2</weight>
    </line>
    <line>
     <xstart>0</xstart>
     <ystart>50</ystart>
     <xend>750</xend>
     <yend>50</yend>
     <weight>2</weight>
    </line>
   </head>
  </group>
  <group>
   <name>type</name>
   <column>section</column>
   <head>
    <height>53</height>
    <label>
     <rect>
      <x>395</x>
      <y>30</y>
      <width>135</width>
      <height>15</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>8</size>
      <weight>normal</weight>
     </font>
     <right/>
     <vcenter/>
     <string>Quantity Ordered / Billed</string>
    </label>
    <line>
     <xstart>0</xstart>
     <ystart>45</ystart>
     <xend>750</xend>
     <yend>45</yend>
     <weight>2</weight>
    </line>
    <label>
     <rect>
      <x>660</x>
      <y>30</y>
      <width>50</width>
      <height>15</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>8</size>
      <weight>normal</weight>
     </font>
     <right/>
     <vcenter/>
     <string>Value</string>
    </label>
    <label>
     <rect>
      <x>209</x>
      <y>30</y>
      <width>85</width>
      <height>15</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>8</size>
      <weight>normal</weight>
     </font>
     <left/>
     <vcenter/>
     <string>Status</string>
    </label>
    <line>
     <xstart>77</xstart>
     <ystart>45</ystart>
     <xend>77</xend>
     <yend>45</yend>
     <weight>0</weight>
    </line>
    <label>
     <rect>
      <x>30</x>
      <y>30</y>
      <width>174</width>
      <height>15</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>8</size>
      <weight>normal</weight>
     </font>
     <left/>
     <vcenter/>
     <string>Order Number - Line</string>
    </label>
    <label>
     <rect>
      <x>0</x>
      <y>5</y>
      <width>90</width>
      <height>16</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>bold</weight>
     </font>
     <left/>
     <vcenter/>
     <string>Order Type:</string>
    </label>
    <field>
     <rect>
      <x>90</x>
      <y>5</y>
      <width>610</width>
      <height>15</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>10</size>
      <weight>bold</weight>
     </font>
     <left/>
     <vcenter/>
     <data>
      <query>detail</query>
      <column>section_qtdisplayrole</column>
     </data>
    </field>
    <label>
     <rect>
      <x>305</x>
      <y>30</y>
      <width>95</width>
      <height>15</height>
     </rect>
     <font>
      <face>Arial</face>
      <size>8</size>
      <weight>normal</weight>
     </font>
     <left/>
     <vcenter/>
     <string>Item</string>
    </label>
   </head>
   <foot>
    <height>33</height>
    <line>
     <xstart>305</xstart>
     <ystart>5</ystart>
     <xend>750</xend>
     <yend>5</yend>
     <weight>0</weight>
    </line>
   </foot>
  </group>
  <detail>
   <key>
    <query>detail</query>
   </key>
   <height>18</height>
   <field>
    <rect>
     <x>305</x>
     <y>2</y>
     <width>135</width>
     <height>15</height>
    </rect>
    <font>
     <face>Arial</face>
     <size>8</size>
     <weight>bold</weight>
    </font>
    <left/>
    <vcenter/>
    <data>
     <query>detail</query>
     <column>item</column>
    </data>
   </field>
   <field>
    <rect>
     <x>210</x>
     <y>2</y>
     <width>85</width>
     <height>15</height>
    </rect>
    <font>
     <face>Arial</face>
     <size>8</size>
     <weight>bold</weight>
    </font>
    <left/>
    <vcenter/>
    <data>
     <query>detail</query>
     <column>status</column>
    </data>
   </field>
   <field>
    <rect>
     <x>445</x>
     <y>2</y>
     <width>85</width>
     <height>15</height>
    </rect>
    <font>
     <face>Arial</face>
     <size>8</size>
     <weight>bold</weight>
    </font>
    <right/>
    <vcenter/>
    <data>
     <query>detail</query>
     <column>f_qty</column>
    </data>
   </field>
   <field>
    <rect>
     <x>545</x>
     <y>2</y>
     <width>165</width>
     <height>15</height>
    </rect>
    <font>
     <face>Arial</face>
     <size>8</size>
     <weight>bold</weight>
    </font>
    <right/>
    <vcenter/>
    <data>
     <query>detail</query>
     <column>f_value</column>
    </data>
   </field>
   <field>
    <rect>
     <x>30</x>
     <y>2</y>
     <width>175</width>
     <height>15</height>
    </rect>
    <font>
     <face>Arial</face>
     <size>8</size>
     <weight>bold</weight>
    </font>
    <left/>
    <vcenter/>
    <data>
     <query>detail</query>
     <column>name</column>
    </data>
   </field>
  </detail>
 </section>
 <pgfoot>
  <height>41</height>
  <label>
   <rect>
    <x>610</x>
    <y>16</y>
    <width>85</width>
    <height>15</height>
   </rect>
   <font>
    <face>Arial</face>
    <size>8</size>
    <weight>normal</weight>
   </font>
   <right/>
   <vcenter/>
   <string>Page:</string>
  </label>
  <field>
   <rect>
    <x>700</x>
    <y>16</y>
    <width>40</width>
    <height>15</height>
   </rect>
   <font>
    <face>Arial</face>
    <size>8</size>
    <weight>bold</weight>
   </font>
   <left/>
   <vcenter/>
   <data>
    <query>Context Query</query>
    <column>page_number</column>
   </data>
  </field>
  <label>
   <rect>
    <x>0</x>
    <y>16</y>
    <width>85</width>
    <height>15</height>
   </rect>
   <font>
    <face>Arial</face>
    <size>8</size>
    <weight>normal</weight>
   </font>
   <left/>
   <vcenter/>
   <string>Report Date:</string>
  </label>
  <line>
   <xstart>0</xstart>
   <ystart>-11</ystart>
   <xend>750</xend>
   <yend>-11</yend>
   <weight>2</weight>
  </line>
  <field>
   <rect>
    <x>75</x>
    <y>16</y>
    <width>100</width>
    <height>15</height>
   </rect>
   <font>
    <face>Arial</face>
    <size>8</size>
    <weight>bold</weight>
   </font>
   <left/>
   <vcenter/>
   <data>
    <query>Context Query</query>
    <column>report_date</column>
   </data>
  </field>
 </pgfoot>
</report>
