<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1">
    <property name="createdBy">Eclipse BIRT Designer Version 4.4.2.v201410272105 Build &lt;4.4.2.v20150217-1805></property>
    <list-property name="propertyBindings">
        <structure>
            <property name="name">odaDriverClass</property>
            <property name="id">7</property>
            <expression name="value" type="javascript">params["DefaultDriver"].value</expression>
        </structure>
        <structure>
            <property name="name">odaURL</property>
            <property name="id">7</property>
            <expression name="value" type="javascript">params["DBName"].value</expression>
        </structure>
        <structure>
            <property name="name">odaUser</property>
            <property name="id">7</property>
            <expression name="value" type="javascript">params["UserName"].value</expression>
        </structure>
        <structure>
            <property name="name">odaPassword</property>
            <property name="id">7</property>
            <expression name="value" type="javascript">params["Password"].value</expression>
        </structure>
        <structure>
            <property name="name">odaAutoCommit</property>
            <property name="id">7</property>
        </structure>
        <structure>
            <property name="name">odaIsolationMode</property>
            <property name="id">7</property>
        </structure>
        <structure>
            <property name="name">odaJndiName</property>
            <property name="id">7</property>
        </structure>
        <structure>
            <property name="name">OdaConnProfileName</property>
            <property name="id">7</property>
        </structure>
        <structure>
            <property name="name">OdaConnProfileStorePath</property>
            <property name="id">7</property>
        </structure>
    </list-property>
    <property name="units">in</property>
    <property name="iconFile">/templates/blank_report.gif</property>
    <property name="bidiLayoutOrientation">ltr</property>
    <property name="imageDPI">96</property>
    <parameters>
        <scalar-parameter name="RawMaterialRequirementId" id="8">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="isRequired">true</property>
            <property name="dataType">decimal</property>
            <property name="distinct">true</property>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="concealValue">false</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="Locale" id="9">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">fr</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="DBName" id="10">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="UserName" id="11">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="Password" id="12">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="AttachmentPath" id="13">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant"></value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="DefaultDriver" id="14">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">org.postgresql.Driver</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
    </parameters>
    <data-sources>
        <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="Data Source" id="7">
            <list-property name="privateDriverProperties">
                <ex-property>
                    <name>metadataBidiFormatStr</name>
                    <value>ILYNN</value>
                </ex-property>
                <ex-property>
                    <name>disabledMetadataBidiFormatStr</name>
                </ex-property>
                <ex-property>
                    <name>contentBidiFormatStr</name>
                    <value>ILYNN</value>
                </ex-property>
                <ex-property>
                    <name>disabledContentBidiFormatStr</name>
                </ex-property>
            </list-property>
            <property name="odaDriverClass">org.postgresql.Driver</property>
            <property name="odaURL">jdbc:postgresql://localhost:5432/</property>
        </oda-data-source>
    </data-sources>
    <data-sets>
        <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="RawMaterialLineDS" id="15">
            <list-property name="computedColumns">
                <structure>
                    <property name="name">missingQty</property>
                    <expression name="expression">row["missingNegativeQty"] > 0 ? row["missingNegativeQty"]  : 0</expression>
                    <property name="dataType">decimal</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">product</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">product</text-property>
                    <text-property name="heading">product</text-property>
                </structure>
                <structure>
                    <property name="columnName">stockLocation</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">stockLocation</text-property>
                    <text-property name="heading">stockLocation</text-property>
                </structure>
                <structure>
                    <property name="columnName">manuf_order_seq</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">manuf_order_seq</text-property>
                    <text-property name="heading">manuf_order_seq</text-property>
                </structure>
                <structure>
                    <property name="columnName">neededQty</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">neededQty</text-property>
                    <text-property name="heading">neededQty</text-property>
                </structure>
                <structure>
                    <property name="columnName">missingNegativeQty</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">missingNegativeQty</text-property>
                    <text-property name="heading">missingNegativeQty</text-property>
                </structure>
                <structure>
                    <property name="columnName">availableStockLocation</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">availableStockLocation</text-property>
                    <text-property name="heading">availableStockLocation</text-property>
                </structure>
                <structure>
                    <property name="columnName">availableQty</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">availableQty</text-property>
                    <text-property name="heading">availableQty</text-property>
                </structure>
                <structure>
                    <property name="columnName">label_to_printing</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">label_to_printing</text-property>
                    <text-property name="heading">label_to_printing</text-property>
                </structure>
            </list-property>
            <list-property name="parameters">
                <structure>
                    <property name="name">param_1</property>
                    <property name="paramName">RawMaterialRequirementId</property>
                    <property name="dataType">decimal</property>
                    <property name="position">1</property>
                    <property name="isInput">true</property>
                    <property name="isOutput">false</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">product</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">stockLocation</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">manuf_order_seq</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">neededQty</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">missingNegativeQty</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">availableStockLocation</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">7</property>
                        <property name="name">availableQty</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">8</property>
                        <property name="name">label_to_printing</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">9</property>
                        <property name="name">missingQty</property>
                        <property name="dataType">decimal</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">Data Source</property>
            <list-property name="resultSet">
                <structure>
                    <property name="position">1</property>
                    <property name="name">product</property>
                    <property name="nativeName">product</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">stockLocation</property>
                    <property name="nativeName">stockLocation</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">manuf_order_seq</property>
                    <property name="nativeName">manuf_order_seq</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">neededQty</property>
                    <property name="nativeName">neededQty</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">missingNegativeQty</property>
                    <property name="nativeName">missingNegativeQty</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">availableStockLocation</property>
                    <property name="nativeName">availableStockLocation</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">7</property>
                    <property name="name">availableQty</property>
                    <property name="nativeName">availableQty</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">8</property>
                    <property name="name">label_to_printing</property>
                    <property name="nativeName">label_to_printing</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
            </list-property>
            <xml-property name="queryText"><![CDATA[SELECT
    Product.full_name as "product",
    ProductionStockLocation.name as "stockLocation",
    ManufOrder.manuf_order_seq,
    CASE ManufOrder.is_cons_pro_on_operation
      WHEN true THEN sum(StockMoveLine.qty)
      ELSE
        (CASE count(OperationOrder.id)
            WHEN 0 THEN sum(StockMoveLine.qty)
            ELSE sum(StockMoveLine.qty)/count(OperationOrder.id)
        END)
    END as "neededQty",
    (CASE ManufOrder.is_cons_pro_on_operation
      WHEN true THEN sum(StockMoveLine.qty)
      ELSE
        (CASE count(OperationOrder.id)
            WHEN 0 THEN sum(StockMoveLine.qty)
            ELSE sum(StockMoveLine.qty)/count(OperationOrder.id)
        END)
    END) - ProductionStockLocationLine.current_qty as "missingNegativeQty",
    StockLocation.name as "availableStockLocation",
    sum(StockLocationLine.current_qty)/count(StockMoveLine.qty) as "availableQty",
    Unit.label_to_printing
FROM
    production_raw_material_requirement RawMaterialRequirement
LEFT JOIN
    base_company Company
    on Company.id = RawMaterialRequirement.company
LEFT JOIN
    production_manuf_order ManufOrder
    on ManufOrder.company = Company.id
LEFT JOIN
	production_prod_process ProdProcess
	on ProdProcess.id = ManufOrder.prod_process
LEFT JOIN 
	stock_stock_location ProductionStockLocation
	on ProdProcess.stock_location = ProductionStockLocation.id
LEFT JOIN
	stock_stock_location_line ProductionStockLocationLine
	on ProductionStockLocationLine.stock_location = ProductionStockLocation.id
LEFT JOIN
    production_operation_order OperationOrder on OperationOrder.manuf_order = ManufOrder.id
LEFT JOIN
    stock_stock_move StockMove on (
    (ManufOrder.is_cons_pro_on_operation = false OR ManufOrder.is_cons_pro_on_operation IS NULL)
            AND StockMove.in_manuf_order = ManufOrder.id)
        OR (ManufOrder.is_cons_pro_on_operation = true
            AND StockMove.in_operation_order = OperationOrder.id)
LEFT JOIN
    stock_stock_move_line StockMoveLine on StockMoveLine.stock_move = StockMove.id
LEFT JOIN
    base_product Product
    on StockMoveLine.product = Product.id
LEFT JOIN
	base_unit Unit on Product.unit = Unit.id
LEFT JOIN
    production_raw_material_requirement_stock_location_set StockLocationSet
    on StockLocationSet.production_raw_material_requirement = RawMaterialRequirement.id
LEFT JOIN
    stock_stock_location StockLocation
    on StockLocation.id = StockLocationSet.stock_location_set
LEFT JOIN
    stock_stock_location_line StockLocationLine
    on StockLocationLine.stock_location = StockLocation.id
WHERE
    StockLocationLine.product = Product.id
    AND ProductionStockLocationLine.product = Product.id
    AND StockMove.status_select = 2
    AND (CURRENT_DATE + RawMaterialRequirement.duration) >= StockMove.estimated_date
    AND RawMaterialRequirement.id = ?
GROUP BY
    Product.full_name,
    ProductionStockLocation.name,
    ManufOrder.manuf_order_seq,
    ManufOrder.is_cons_pro_on_operation,
    ProductionStockLocationLine.current_qty,
    label_to_printing,
    StockLocation.name;
]]></xml-property>
            <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
  <Version>2.0</Version>
  <design:ResultSets derivedMetaData="true">
    <design:resultSetDefinitions>
      <design:resultSetColumns>
        <design:resultColumnDefinitions>
          <design:attributes>
            <design:identifier>
              <design:name>full_name</design:name>
              <design:position>1</design:position>
            </design:identifier>
            <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
            <design:precision>255</design:precision>
            <design:scale>0</design:scale>
            <design:nullability>Nullable</design:nullability>
            <design:uiHints>
              <design:displayName>full_name</design:displayName>
            </design:uiHints>
          </design:attributes>
          <design:usageHints>
            <design:label>full_name</design:label>
            <design:formattingHints>
              <design:displaySize>255</design:displaySize>
            </design:formattingHints>
          </design:usageHints>
        </design:resultColumnDefinitions>
        <design:resultColumnDefinitions>
          <design:attributes>
            <design:identifier>
              <design:name>name</design:name>
              <design:position>2</design:position>
            </design:identifier>
            <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
            <design:precision>255</design:precision>
            <design:scale>0</design:scale>
            <design:nullability>NotNullable</design:nullability>
            <design:uiHints>
              <design:displayName>name</design:displayName>
            </design:uiHints>
          </design:attributes>
          <design:usageHints>
            <design:label>name</design:label>
            <design:formattingHints>
              <design:displaySize>255</design:displaySize>
            </design:formattingHints>
          </design:usageHints>
        </design:resultColumnDefinitions>
        <design:resultColumnDefinitions>
          <design:attributes>
            <design:identifier>
              <design:name>manuf_order_seq</design:name>
              <design:position>3</design:position>
            </design:identifier>
            <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
            <design:precision>255</design:precision>
            <design:scale>0</design:scale>
            <design:nullability>Nullable</design:nullability>
            <design:uiHints>
              <design:displayName>manuf_order_seq</design:displayName>
            </design:uiHints>
          </design:attributes>
          <design:usageHints>
            <design:label>manuf_order_seq</design:label>
            <design:formattingHints>
              <design:displaySize>255</design:displaySize>
            </design:formattingHints>
          </design:usageHints>
        </design:resultColumnDefinitions>
        <design:resultColumnDefinitions>
          <design:attributes>
            <design:identifier>
              <design:name>neededQty</design:name>
              <design:position>4</design:position>
            </design:identifier>
            <design:nativeDataTypeCode>2</design:nativeDataTypeCode>
            <design:precision>0</design:precision>
            <design:scale>0</design:scale>
            <design:nullability>Unknown</design:nullability>
            <design:uiHints>
              <design:displayName>neededQty</design:displayName>
            </design:uiHints>
          </design:attributes>
          <design:usageHints>
            <design:label>neededQty</design:label>
            <design:formattingHints>
              <design:displaySize>131089</design:displaySize>
            </design:formattingHints>
          </design:usageHints>
        </design:resultColumnDefinitions>
        <design:resultColumnDefinitions>
          <design:attributes>
            <design:identifier>
              <design:name>availableQty</design:name>
              <design:position>5</design:position>
            </design:identifier>
            <design:nativeDataTypeCode>2</design:nativeDataTypeCode>
            <design:precision>0</design:precision>
            <design:scale>0</design:scale>
            <design:nullability>Unknown</design:nullability>
            <design:uiHints>
              <design:displayName>availableQty</design:displayName>
            </design:uiHints>
          </design:attributes>
          <design:usageHints>
            <design:label>availableQty</design:label>
            <design:formattingHints>
              <design:displaySize>131089</design:displaySize>
            </design:formattingHints>
          </design:usageHints>
        </design:resultColumnDefinitions>
      </design:resultSetColumns>
      <design:criteria/>
    </design:resultSetDefinitions>
  </design:ResultSets>
</model:DesignValues>]]></xml-property>
        </oda-data-set>
        <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="RawMaterialDS" id="32">
            <property name="nullsOrdering">nulls lowest</property>
            <list-property name="columnHints"/>
            <list-property name="parameters">
                <structure>
                    <property name="name">param_1</property>
                    <property name="paramName">RawMaterialRequirementId</property>
                    <property name="nativeName"></property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">-5</property>
                    <property name="position">1</property>
                    <property name="isOptional">false</property>
                    <property name="isInput">true</property>
                    <property name="isOutput">false</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">code</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">name</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">company</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">logo_path</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">stockLocationNames</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">duration</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">7</property>
                        <property name="name">show_all_requirements</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">8</property>
                        <property name="name">show_requirements_bymo</property>
                        <property name="dataType">integer</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">Data Source</property>
            <list-property name="resultSet">
                <structure>
                    <property name="position">1</property>
                    <property name="name">code</property>
                    <property name="nativeName">code</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">name</property>
                    <property name="nativeName">name</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">company</property>
                    <property name="nativeName">company</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">logo_path</property>
                    <property name="nativeName">logo_path</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">stockLocationNames</property>
                    <property name="nativeName">stockLocationNames</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">duration</property>
                    <property name="nativeName">duration</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">7</property>
                    <property name="name">show_all_requirements</property>
                    <property name="nativeName">show_all_requirements</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">8</property>
                    <property name="name">show_requirements_bymo</property>
                    <property name="nativeName">show_requirements_bymo</property>
                    <property name="dataType">integer</property>
                </structure>
            </list-property>
            <xml-property name="queryText"><![CDATA[SELECT
    RawMaterialRequirement.code,
    RawMaterialRequirement.name,
    Company.name as "company",
    Metafile.file_path AS "logo_path",
    string_agg(StockLocation.name, ', ') AS "stockLocationNames",
    RawMaterialRequirement.duration,
    RawMaterialRequirement.show_all_requirements,
    RawMaterialRequirement.show_requirements_bymo
FROM
	production_raw_material_requirement RawMaterialRequirement
LEFT JOIN
    base_company Company
    ON (Company.id = RawMaterialRequirement.company)
LEFT JOIN
    meta_file Metafile
    ON (Metafile.id = Company.logo)
LEFT JOIN
    production_raw_material_requirement_stock_location_set StockLocationSet
    ON StockLocationSet.production_raw_material_requirement = RawMaterialRequirement.id
LEFT JOIN
    stock_stock_location StockLocation
    ON StockLocation.id = StockLocationSet.stock_location_set
WHERE
    RawMaterialRequirement.id = ?
GROUP BY RawMaterialRequirement.code,RawMaterialRequirement.name, Metafile.file_path, RawMaterialRequirement.duration, Company.name,
         RawMaterialRequirement.show_all_requirements, RawMaterialRequirement.show_requirements_bymo
]]></xml-property>
        </oda-data-set>
        <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="TranslateDS" id="3805">
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">message_key</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">message_key</text-property>
                    <text-property name="heading">message_key</text-property>
                </structure>
                <structure>
                    <property name="columnName">translation</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">translation</text-property>
                    <text-property name="heading">translation</text-property>
                </structure>
            </list-property>
            <list-property name="parameters">
                <structure>
                    <property name="name">param_1</property>
                    <property name="nativeName"></property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                    <property name="position">1</property>
                    <property name="isInput">true</property>
                </structure>
                <structure>
                    <property name="name">param_2</property>
                    <property name="paramName">Locale</property>
                    <property name="nativeName"></property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                    <property name="position">2</property>
                    <property name="isInput">true</property>
                    <property name="isOutput">false</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">message_key</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">translation</property>
                        <property name="dataType">string</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">Data Source</property>
            <list-property name="resultSet">
                <structure>
                    <property name="position">1</property>
                    <property name="name">message_key</property>
                    <property name="nativeName">message_key</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">translation</property>
                    <property name="nativeName">translation</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
            </list-property>
            <xml-property name="queryText"><![CDATA[select LangTranslate.message_key, LangTranslate.message_value as "translation" 
from meta_translation as LangTranslate 
where LangTranslate.message_key = ? and LangTranslate.language = ?]]></xml-property>
            <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
  <Version>2.0</Version>
  <DataSetParameters>
    <parameter>
      <design:ParameterDefinition>
        <design:inOutMode>In</design:inOutMode>
        <design:attributes>
          <design:identifier>
            <design:name></design:name>
            <design:position>1</design:position>
          </design:identifier>
          <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
          <design:precision>0</design:precision>
          <design:scale>0</design:scale>
          <design:nullability>Unknown</design:nullability>
        </design:attributes>
      </design:ParameterDefinition>
    </parameter>
    <parameter>
      <design:ParameterDefinition>
        <design:inOutMode>In</design:inOutMode>
        <design:attributes>
          <design:identifier>
            <design:name></design:name>
            <design:position>2</design:position>
          </design:identifier>
          <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
          <design:precision>0</design:precision>
          <design:scale>0</design:scale>
          <design:nullability>Unknown</design:nullability>
        </design:attributes>
      </design:ParameterDefinition>
    </parameter>
  </DataSetParameters>
</model:DesignValues>]]></xml-property>
        </oda-data-set>
    </data-sets>
    <styles>
        <style name="report" id="4">
            <property name="fontFamily">sans-serif</property>
            <property name="fontSize">10pt</property>
        </style>
        <style name="crosstab" id="5">
            <property name="borderBottomColor">#CCCCCC</property>
            <property name="borderBottomStyle">solid</property>
            <property name="borderBottomWidth">1pt</property>
            <property name="borderLeftColor">#CCCCCC</property>
            <property name="borderLeftStyle">solid</property>
            <property name="borderLeftWidth">1pt</property>
            <property name="borderRightColor">#CCCCCC</property>
            <property name="borderRightStyle">solid</property>
            <property name="borderRightWidth">1pt</property>
            <property name="borderTopColor">#CCCCCC</property>
            <property name="borderTopStyle">solid</property>
            <property name="borderTopWidth">1pt</property>
        </style>
        <style name="crosstab-cell" id="6">
            <property name="borderBottomColor">#CCCCCC</property>
            <property name="borderBottomStyle">solid</property>
            <property name="borderBottomWidth">1pt</property>
            <property name="borderLeftColor">#CCCCCC</property>
            <property name="borderLeftStyle">solid</property>
            <property name="borderLeftWidth">1pt</property>
            <property name="borderRightColor">#CCCCCC</property>
            <property name="borderRightStyle">solid</property>
            <property name="borderRightWidth">1pt</property>
            <property name="borderTopColor">#CCCCCC</property>
            <property name="borderTopStyle">solid</property>
            <property name="borderTopWidth">1pt</property>
        </style>
    </styles>
    <page-setup>
        <simple-master-page name="Simple MasterPage" id="2">
            <property name="type">a4</property>
            <property name="orientation">landscape</property>
            <property name="headerHeight">0in</property>
            <property name="footerHeight">1cm</property>
            <page-footer>
                <grid id="4235">
                    <property name="dataSet">RawMaterialDS</property>
                    <list-property name="boundDataColumns">
                        <structure>
                            <property name="name">code</property>
                            <text-property name="displayName">code</text-property>
                            <expression name="expression" type="javascript">dataSetRow["code"]</expression>
                            <property name="dataType">string</property>
                        </structure>
                        <structure>
                            <property name="name">name</property>
                            <text-property name="displayName">name</text-property>
                            <expression name="expression" type="javascript">dataSetRow["name"]</expression>
                            <property name="dataType">string</property>
                        </structure>
                    </list-property>
                    <column id="4250">
                        <property name="width">15%</property>
                    </column>
                    <column id="4247"/>
                    <column id="4828">
                        <property name="width">15%</property>
                    </column>
                    <column id="4236">
                        <property name="width">5%</property>
                    </column>
                    <column id="4237">
                        <property name="width">2%</property>
                    </column>
                    <column id="4238">
                        <property name="width">5%</property>
                    </column>
                    <row id="4239">
                        <property name="verticalAlign">middle</property>
                        <cell id="4249">
                            <image id="4733">
                                <property name="height">44px</property>
                                <property name="width">107px</property>
                                <property name="dataSet">RawMaterialDS</property>
                                <list-property name="visibility">
                                    <structure>
                                        <property name="format">all</property>
                                        <expression name="valueExpr" type="javascript">row["logo_path"] == null</expression>
                                    </structure>
                                </list-property>
                                <list-property name="boundDataColumns">
                                    <structure>
                                        <property name="name">logo_path</property>
                                        <text-property name="displayName">logo_path</text-property>
                                        <expression name="expression" type="javascript">dataSetRow["logo_path"]</expression>
                                        <property name="dataType">string</property>
                                    </structure>
                                </list-property>
                                <property name="source">file</property>
                                <property name="proportionalScale">true</property>
                                <expression name="uri" type="javascript">params["AttachmentPath"].value+row["logo_path"]</expression>
                            </image>
                        </cell>
                        <cell id="4246">
                            <text id="4248">
                                <property name="fontSize">9pt</property>
                                <property name="fontWeight">normal</property>
                                <property name="textAlign">center</property>
                                <property name="dataSet">TranslateDS</property>
                                <list-property name="paramBindings">
                                    <structure>
                                        <property name="paramName">param_1</property>
                                        <simple-property-list name="expression">
                                            <value type="javascript">'RawMaterialRequirement.title'</value>
                                        </simple-property-list>
                                    </structure>
                                </list-property>
                                <list-property name="boundDataColumns">
                                    <structure>
                                        <property name="name">message_key</property>
                                        <text-property name="displayName">message_key</text-property>
                                        <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                        <property name="dataType">string</property>
                                    </structure>
                                    <structure>
                                        <property name="name">translation</property>
                                        <text-property name="displayName">translation</text-property>
                                        <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                        <property name="dataType">string</property>
                                    </structure>
                                </list-property>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF>(row["translation"] || row["en_translation"]) + " " + row._outer["code"] + " - " + row._outer["name"]</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                        <cell id="4827">
                            <text id="4826">
                                <property name="fontSize">9pt</property>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF format="d MMM y kk:mm">BirtDateTime.now()</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                        <cell id="4240">
                            <auto-text id="4241">
                                <property name="fontSize">9pt</property>
                                <property name="textAlign">right</property>
                                <property name="type">page-number</property>
                            </auto-text>
                        </cell>
                        <cell id="4242">
                            <text id="4243">
                                <property name="fontSize">9pt</property>
                                <property name="textAlign">center</property>
                                <property name="contentType">plain</property>
                                <text-property name="content"><![CDATA[/]]></text-property>
                            </text>
                        </cell>
                        <cell id="4244">
                            <auto-text id="4245">
                                <property name="fontSize">9pt</property>
                                <property name="textAlign">left</property>
                                <property name="type">total-page</property>
                            </auto-text>
                        </cell>
                    </row>
                </grid>
            </page-footer>
        </simple-master-page>
    </page-setup>
    <body>
        <grid name="mainGrid" id="16">
            <property name="width">11.135416666666666in</property>
            <property name="dataSet">RawMaterialDS</property>
            <list-property name="boundDataColumns">
                <structure>
                    <property name="name">logo_path</property>
                    <text-property name="displayName">logo_path</text-property>
                    <expression name="expression" type="javascript">dataSetRow["logo_path"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">stockLocationNames</property>
                    <text-property name="displayName">stockLocationNames</text-property>
                    <expression name="expression" type="javascript">dataSetRow["stockLocationNames"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">duration</property>
                    <text-property name="displayName">duration</text-property>
                    <expression name="expression" type="javascript">dataSetRow["duration"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="name">company</property>
                    <text-property name="displayName">company</text-property>
                    <expression name="expression" type="javascript">dataSetRow["company"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">show_all_requirements</property>
                    <text-property name="displayName">show_all_requirements</text-property>
                    <expression name="expression" type="javascript">dataSetRow["show_all_requirements"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">code</property>
                    <text-property name="displayName">code</text-property>
                    <expression name="expression" type="javascript">dataSetRow["code"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">duration_1</property>
                    <text-property name="displayName">duration</text-property>
                    <expression name="expression" type="javascript">dataSetRow["duration"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">name</property>
                    <text-property name="displayName">name</text-property>
                    <expression name="expression" type="javascript">dataSetRow["name"]</expression>
                    <property name="dataType">string</property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">show_requirements_bymo</property>
                    <text-property name="displayName">show_requirements_bymo</text-property>
                    <expression name="expression" type="javascript">dataSetRow["show_requirements_bymo"]</expression>
                    <property name="dataType">boolean</property>
                    <property name="allowExport">true</property>
                </structure>
            </list-property>
            <column id="4091">
                <property name="width">1.8020833333333333in</property>
            </column>
            <column id="17">
                <property name="width">2.65625in</property>
            </column>
            <column id="18">
                <property name="width">2.2291666666666665in</property>
            </column>
            <column id="19">
                <property name="width">1.3958333333333333in</property>
            </column>
            <column id="4098">
                <property name="width">3.0520833333333335in</property>
            </column>
            <row id="20">
                <cell id="4085">
                    <property name="colSpan">5</property>
                    <property name="rowSpan">1</property>
                    <property name="textAlign">center</property>
                    <text id="3804">
                        <property name="fontSize">18pt</property>
                        <property name="fontWeight">bold</property>
                        <property name="dataSet">TranslateDS</property>
                        <list-property name="paramBindings">
                            <structure>
                                <property name="paramName">param_1</property>
                                <simple-property-list name="expression">
                                    <value type="javascript">'RawMaterialRequirement.title'</value>
                                </simple-property-list>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">message_key</property>
                                <text-property name="displayName">message_key</text-property>
                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">translation</property>
                                <text-property name="displayName">translation</text-property>
                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>(row["translation"] || row["en_translation"]) + " " + row._outer["code"]</VALUE-OF><br>
<VALUE-OF>row._outer["name"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
            </row>
            <row id="24">
                <cell id="4086"/>
                <cell id="25"/>
                <cell id="26"/>
                <cell id="27"/>
                <cell id="4093"/>
            </row>
            <row id="28">
                <cell id="4087">
                    <text id="4080">
                        <property name="fontWeight">bold</property>
                        <property name="marginTop">1pt</property>
                        <property name="marginLeft">2pt</property>
                        <property name="textAlign">left</property>
                        <property name="dataSet">TranslateDS</property>
                        <list-property name="paramBindings">
                            <structure>
                                <property name="paramName">param_1</property>
                                <simple-property-list name="expression">
                                    <value type="javascript">"RawMaterialRequirement.company"</value>
                                </simple-property-list>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">key</property>
                                <text-property name="displayName">key</text-property>
                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">translation</property>
                                <text-property name="displayName">translation</text-property>
                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>:]]></text-property>
                    </text>
                </cell>
                <cell id="29">
                    <text id="4099">
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["company"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
                <cell id="30"/>
                <cell id="31">
                    <text id="4081">
                        <property name="fontWeight">bold</property>
                        <property name="marginTop">1pt</property>
                        <property name="marginLeft">2pt</property>
                        <property name="textAlign">left</property>
                        <property name="dataSet">TranslateDS</property>
                        <list-property name="paramBindings">
                            <structure>
                                <property name="paramName">param_1</property>
                                <simple-property-list name="expression">
                                    <value type="javascript">"RawMaterialRequirement.from"</value>
                                </simple-property-list>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">key</property>
                                <text-property name="displayName">key</text-property>
                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">translation</property>
                                <text-property name="displayName">translation</text-property>
                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>:]]></text-property>
                    </text>
                </cell>
                <cell id="4094">
                    <text id="4101">
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF format="dd/MM/YYYY">new Date()</VALUE-OF>]]></text-property>
                    </text>
                </cell>
            </row>
            <row id="3806">
                <cell id="4088"/>
                <cell id="3807"/>
                <cell id="3808"/>
                <cell id="3809"/>
                <cell id="4095"/>
            </row>
            <row id="3810">
                <cell id="4089">
                    <text id="4084">
                        <property name="fontWeight">bold</property>
                        <property name="marginTop">1pt</property>
                        <property name="marginLeft">2pt</property>
                        <property name="textAlign">left</property>
                        <property name="dataSet">TranslateDS</property>
                        <list-property name="paramBindings">
                            <structure>
                                <property name="paramName">param_1</property>
                                <simple-property-list name="expression">
                                    <value type="javascript">"RawMaterialRequirement.stockLocations"</value>
                                </simple-property-list>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">key</property>
                                <text-property name="displayName">key</text-property>
                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">translation</property>
                                <text-property name="displayName">translation</text-property>
                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>:]]></text-property>
                    </text>
                </cell>
                <cell id="3811">
                    <property name="colSpan">2</property>
                    <property name="rowSpan">1</property>
                    <text id="4100">
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["stockLocationNames"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
                <cell id="4150">
                    <text id="4152">
                        <property name="fontWeight">bold</property>
                        <property name="marginTop">1pt</property>
                        <property name="marginLeft">2pt</property>
                        <property name="textAlign">left</property>
                        <property name="dataSet">TranslateDS</property>
                        <list-property name="paramBindings">
                            <structure>
                                <property name="paramName">param_1</property>
                                <simple-property-list name="expression">
                                    <value type="javascript">"RawMaterialRequirement.to"</value>
                                </simple-property-list>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">key</property>
                                <text-property name="displayName">key</text-property>
                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">translation</property>
                                <text-property name="displayName">translation</text-property>
                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>:]]></text-property>
                    </text>
                </cell>
                <cell id="4151">
                    <text id="4153">
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF format="dd/MM/YYYY">function addDays(date, days) {
  var result = new Date(date);
  result.setDate(result.getDate() + days);
  return result;
}

addDays(new Date(), row["duration"])</VALUE-OF>]]></text-property>
                    </text>
                </cell>
            </row>
            <row id="3814">
                <property name="height">0.5cm</property>
                <cell id="4090"/>
                <cell id="3815"/>
                <cell id="3816"/>
                <cell id="3817"/>
                <cell id="4097"/>
            </row>
            <row id="4102">
                <cell id="4103">
                    <property name="colSpan">5</property>
                    <property name="rowSpan">1</property>
                    <table id="4108">
                        <property name="width">11.0625in</property>
                        <property name="dataSet">RawMaterialLineDS</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">!row._outer["show_requirements_bymo"]</expression>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">product</property>
                                <text-property name="displayName">product</text-property>
                                <expression name="expression" type="javascript">dataSetRow["product"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">stockLocation</property>
                                <text-property name="displayName">stockLocation</text-property>
                                <expression name="expression" type="javascript">dataSetRow["stockLocation"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">manuf_order_seq</property>
                                <text-property name="displayName">manuf_order_seq</text-property>
                                <expression name="expression" type="javascript">dataSetRow["manuf_order_seq"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">neededQty</property>
                                <text-property name="displayName">neededQty</text-property>
                                <expression name="expression" type="javascript">dataSetRow["neededQty"]</expression>
                                <property name="dataType">decimal</property>
                            </structure>
                            <structure>
                                <property name="name">availableQty</property>
                                <text-property name="displayName">availableQty</text-property>
                                <expression name="expression" type="javascript">dataSetRow["availableQty"]</expression>
                                <property name="dataType">decimal</property>
                            </structure>
                            <structure>
                                <property name="name">missingQty</property>
                                <text-property name="displayName">missingQty</text-property>
                                <expression name="expression" type="javascript">dataSetRow["missingQty"]</expression>
                                <property name="dataType">decimal</property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">missingNegativeQty</property>
                                <text-property name="displayName">missingNegativeQty</text-property>
                                <expression name="expression" type="javascript">dataSetRow["missingNegativeQty"]</expression>
                                <property name="dataType">decimal</property>
                            </structure>
                            <structure>
                                <property name="name">StockAvailable</property>
                                <text-property name="displayName">StockAvailable</text-property>
                                <property name="dataType">string</property>
                                <simple-property-list name="aggregateOn">
                                    <value>NewTableGroup1</value>
                                </simple-property-list>
                                <property name="aggregateFunction">CONCATENATE</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">row["availableStockLocation"]+': '+row["availableQty"]+' '+row["unit"]</expression>
                                    </structure>
                                    <structure>
                                        <property name="name">Separat&amp;or</property>
                                        <expression name="value" type="javascript">'\n'</expression>
                                    </structure>
                                    <structure>
                                        <property name="name">Ma&amp;x length</property>
                                    </structure>
                                    <structure>
                                        <property name="name">Sho&amp;w all values</property>
                                    </structure>
                                </list-property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">availableStockLocation</property>
                                <text-property name="displayName">availableStockLocation</text-property>
                                <expression name="expression" type="javascript">dataSetRow["availableStockLocation"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">neededQtySumByProduct</property>
                                <property name="dataType">float</property>
                                <simple-property-list name="aggregateOn">
                                    <value>NewTableGroup1</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">row["neededQty"]</expression>
                                    </structure>
                                </list-property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">missingQtySumByProduct</property>
                                <property name="dataType">float</property>
                                <simple-property-list name="aggregateOn">
                                    <value>NewTableGroup1</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">row["missingQty"]</expression>
                                    </structure>
                                </list-property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">countAvailableStockLocation</property>
                                <text-property name="displayName">countAvailableStockLocation</text-property>
                                <property name="dataType">integer</property>
                                <simple-property-list name="aggregateOn">
                                    <value>NewTableGroup2</value>
                                </simple-property-list>
                                <property name="aggregateFunction">COUNT</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">row["availableStockLocation"]</expression>
                                    </structure>
                                </list-property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">neededQtySum</property>
                                <expression name="expression" type="javascript">row["neededQtySumByProduct"]/row["countAvailableStockLocation"]</expression>
                                <property name="dataType">decimal</property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">missingQtySum</property>
                                <expression name="expression" type="javascript">Math.max(row["neededQtySum"] - row["neededQty"] + row["missingNegativeQty"],0)</expression>
                                <property name="dataType">decimal</property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">unit</property>
                                <text-property name="displayName">unit</text-property>
                                <expression name="expression" type="javascript">dataSetRow["label_to_printing"]</expression>
                                <property name="dataType">string</property>
                                <property name="allowExport">true</property>
                            </structure>
                        </list-property>
                        <list-property name="filter">
                            <structure>
                                <property name="operator">is-true</property>
                                <expression name="expr" type="javascript">row._outer["show_all_requirements"] || row["missingQtySumByProduct"] > 0</expression>
                                <property name="updateAggregation">true</property>
                            </structure>
                        </list-property>
                        <column id="4138">
                            <property name="width">15%</property>
                        </column>
                        <column id="4139">
                            <property name="width">15%</property>
                        </column>
                        <column id="4140">
                            <property name="width">9%</property>
                        </column>
                        <column id="4232">
                            <property name="width">11%</property>
                        </column>
                        <column id="4156">
                            <property name="width">9%</property>
                        </column>
                        <column id="4224">
                            <property name="width">11%</property>
                        </column>
                        <column id="4141"/>
                        <header>
                            <row id="4109">
                                <property name="borderBottomStyle">solid</property>
                                <property name="borderBottomWidth">medium</property>
                                <cell id="4112">
                                    <text id="4145">
                                        <property name="marginTop">1pt</property>
                                        <property name="marginLeft">2pt</property>
                                        <property name="textAlign">center</property>
                                        <property name="dataSet">TranslateDS</property>
                                        <list-property name="paramBindings">
                                            <structure>
                                                <property name="paramName">param_1</property>
                                                <simple-property-list name="expression">
                                                    <value type="javascript">"RawMaterialRequirement.stockLocation"</value>
                                                </simple-property-list>
                                            </structure>
                                        </list-property>
                                        <list-property name="boundDataColumns">
                                            <structure>
                                                <property name="name">key</property>
                                                <text-property name="displayName">key</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                            <structure>
                                                <property name="name">translation</property>
                                                <text-property name="displayName">translation</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                        </list-property>
                                        <property name="contentType">html</property>
                                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>]]></text-property>
                                    </text>
                                </cell>
                                <cell id="4114">
                                    <text id="4146">
                                        <property name="marginTop">1pt</property>
                                        <property name="marginLeft">2pt</property>
                                        <property name="textAlign">center</property>
                                        <property name="dataSet">TranslateDS</property>
                                        <list-property name="paramBindings">
                                            <structure>
                                                <property name="paramName">param_1</property>
                                                <simple-property-list name="expression">
                                                    <value type="javascript">"RawMaterialRequirement.manufOrder"</value>
                                                </simple-property-list>
                                            </structure>
                                        </list-property>
                                        <list-property name="boundDataColumns">
                                            <structure>
                                                <property name="name">key</property>
                                                <text-property name="displayName">key</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                            <structure>
                                                <property name="name">translation</property>
                                                <text-property name="displayName">translation</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                        </list-property>
                                        <property name="contentType">html</property>
                                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>]]></text-property>
                                    </text>
                                </cell>
                                <cell id="4116">
                                    <property name="colSpan">2</property>
                                    <property name="rowSpan">1</property>
                                    <text id="4147">
                                        <property name="marginTop">1pt</property>
                                        <property name="marginLeft">2pt</property>
                                        <property name="textAlign">center</property>
                                        <property name="dataSet">TranslateDS</property>
                                        <list-property name="paramBindings">
                                            <structure>
                                                <property name="paramName">param_1</property>
                                                <simple-property-list name="expression">
                                                    <value type="javascript">"RawMaterialRequirement.neededQuantity"</value>
                                                </simple-property-list>
                                            </structure>
                                        </list-property>
                                        <list-property name="boundDataColumns">
                                            <structure>
                                                <property name="name">key</property>
                                                <text-property name="displayName">key</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                            <structure>
                                                <property name="name">translation</property>
                                                <text-property name="displayName">translation</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                        </list-property>
                                        <property name="contentType">html</property>
                                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>]]></text-property>
                                    </text>
                                </cell>
                                <cell id="4154">
                                    <property name="colSpan">2</property>
                                    <property name="rowSpan">1</property>
                                    <text id="4157">
                                        <property name="marginTop">1pt</property>
                                        <property name="marginLeft">2pt</property>
                                        <property name="textAlign">center</property>
                                        <property name="dataSet">TranslateDS</property>
                                        <list-property name="paramBindings">
                                            <structure>
                                                <property name="paramName">param_1</property>
                                                <simple-property-list name="expression">
                                                    <value type="javascript">"RawMaterialRequirement.missingQuantity"</value>
                                                </simple-property-list>
                                            </structure>
                                        </list-property>
                                        <list-property name="boundDataColumns">
                                            <structure>
                                                <property name="name">key</property>
                                                <text-property name="displayName">key</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                            <structure>
                                                <property name="name">translation</property>
                                                <text-property name="displayName">translation</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                        </list-property>
                                        <property name="contentType">html</property>
                                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>]]></text-property>
                                    </text>
                                </cell>
                                <cell id="4118">
                                    <text id="4148">
                                        <property name="marginTop">1pt</property>
                                        <property name="marginLeft">2pt</property>
                                        <property name="textAlign">center</property>
                                        <property name="dataSet">TranslateDS</property>
                                        <list-property name="paramBindings">
                                            <structure>
                                                <property name="paramName">param_1</property>
                                                <simple-property-list name="expression">
                                                    <value type="javascript">"RawMaterialRequirement.available"</value>
                                                </simple-property-list>
                                            </structure>
                                        </list-property>
                                        <list-property name="boundDataColumns">
                                            <structure>
                                                <property name="name">key</property>
                                                <text-property name="displayName">key</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                            <structure>
                                                <property name="name">translation</property>
                                                <text-property name="displayName">translation</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                        </list-property>
                                        <property name="contentType">html</property>
                                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>]]></text-property>
                                    </text>
                                </cell>
                            </row>
                        </header>
                        <group id="4160">
                            <property name="groupName">NewTableGroup1</property>
                            <expression name="keyExpr" type="javascript">row["product"]</expression>
                            <structure name="toc">
                                <expression name="expressionValue" type="javascript">row["product"]</expression>
                            </structure>
                            <property name="repeatHeader">false</property>
                            <property name="hideDetail">false</property>
                            <header>
                                <row id="4161">
                                    <property name="borderBottomStyle">solid</property>
                                    <property name="borderBottomWidth">thin</property>
                                    <cell id="4162">
                                        <property name="colSpan">2</property>
                                        <property name="rowSpan">1</property>
                                        <data id="4175">
                                            <property name="fontWeight">bold</property>
                                            <property name="resultSetColumn">product</property>
                                        </data>
                                    </cell>
                                    <cell id="4165">
                                        <data id="4202">
                                            <property name="fontWeight">bold</property>
                                            <property name="textAlign">right</property>
                                            <property name="resultSetColumn">neededQtySum</property>
                                        </data>
                                    </cell>
                                    <cell id="4229">
                                        <data id="4234">
                                            <property name="fontWeight">bold</property>
                                            <property name="resultSetColumn">unit</property>
                                        </data>
                                    </cell>
                                    <cell id="4166">
                                        <data id="4203">
                                            <property name="fontWeight">bold</property>
                                            <property name="textAlign">right</property>
                                            <property name="resultSetColumn">missingQtySum</property>
                                        </data>
                                    </cell>
                                    <cell id="4221">
                                        <data id="4227">
                                            <property name="fontWeight">bold</property>
                                            <property name="resultSetColumn">unit</property>
                                        </data>
                                    </cell>
                                    <cell id="4167">
                                        <data id="4177">
                                            <property name="textAlign">right</property>
                                            <property name="resultSetColumn">StockAvailable</property>
                                        </data>
                                    </cell>
                                </row>
                            </header>
                            <footer>
                                <row id="4252">
                                    <property name="height">2mm</property>
                                    <cell id="4253"/>
                                    <cell id="4254"/>
                                    <cell id="4255"/>
                                    <cell id="4256"/>
                                    <cell id="4257"/>
                                    <cell id="4258"/>
                                    <cell id="4259"/>
                                </row>
                            </footer>
                        </group>
                        <group id="4178">
                            <property name="groupName">NewTableGroup2</property>
                            <expression name="keyExpr" type="javascript">row["stockLocation"]+row["manuf_order_seq"]+row["neededQty"]+row["missingQty"]</expression>
                            <property name="hideDetail">false</property>
                            <header>
                                <row id="4179">
                                    <cell id="4180">
                                        <property name="colSpan">1</property>
                                        <property name="rowSpan">1</property>
                                        <data id="4124">
                                            <property name="fontSize">9pt</property>
                                            <property name="resultSetColumn">stockLocation</property>
                                        </data>
                                    </cell>
                                    <cell id="4182">
                                        <data id="4126">
                                            <property name="fontSize">9pt</property>
                                            <property name="textAlign">center</property>
                                            <property name="resultSetColumn">manuf_order_seq</property>
                                        </data>
                                    </cell>
                                    <cell id="4183">
                                        <data id="4128">
                                            <property name="fontSize">9pt</property>
                                            <property name="textAlign">right</property>
                                            <property name="resultSetColumn">neededQty</property>
                                        </data>
                                    </cell>
                                    <cell id="4230">
                                        <data id="4233">
                                            <property name="fontSize">9pt</property>
                                            <property name="resultSetColumn">unit</property>
                                        </data>
                                    </cell>
                                    <cell id="4184">
                                        <data id="4159">
                                            <property name="fontSize">9pt</property>
                                            <property name="textAlign">right</property>
                                            <property name="resultSetColumn">missingQty</property>
                                        </data>
                                    </cell>
                                    <cell id="4222">
                                        <data id="4226">
                                            <property name="fontSize">9pt</property>
                                            <property name="resultSetColumn">unit</property>
                                        </data>
                                    </cell>
                                    <cell id="4185"/>
                                </row>
                            </header>
                        </group>
                    </table>
                    <table id="4829">
                        <property name="width">11.0625in</property>
                        <property name="dataSet">RawMaterialLineDS</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">row._outer["show_requirements_bymo"]</expression>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">product</property>
                                <text-property name="displayName">product</text-property>
                                <expression name="expression" type="javascript">dataSetRow["product"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">stockLocation</property>
                                <text-property name="displayName">stockLocation</text-property>
                                <expression name="expression" type="javascript">dataSetRow["stockLocation"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">manuf_order_seq</property>
                                <text-property name="displayName">manuf_order_seq</text-property>
                                <expression name="expression" type="javascript">dataSetRow["manuf_order_seq"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">neededQty</property>
                                <text-property name="displayName">neededQty</text-property>
                                <expression name="expression" type="javascript">dataSetRow["neededQty"]</expression>
                                <property name="dataType">decimal</property>
                            </structure>
                            <structure>
                                <property name="name">availableQty</property>
                                <text-property name="displayName">availableQty</text-property>
                                <expression name="expression" type="javascript">dataSetRow["availableQty"]</expression>
                                <property name="dataType">decimal</property>
                            </structure>
                            <structure>
                                <property name="name">missingQty</property>
                                <text-property name="displayName">missingQty</text-property>
                                <expression name="expression" type="javascript">dataSetRow["missingQty"]</expression>
                                <property name="dataType">decimal</property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">missingNegativeQty</property>
                                <text-property name="displayName">missingNegativeQty</text-property>
                                <expression name="expression" type="javascript">dataSetRow["missingNegativeQty"]</expression>
                                <property name="dataType">decimal</property>
                            </structure>
                            <structure>
                                <property name="name">StockAvailable</property>
                                <text-property name="displayName">StockAvailable</text-property>
                                <property name="dataType">string</property>
                                <simple-property-list name="aggregateOn">
                                    <value>NewTableGroup1</value>
                                </simple-property-list>
                                <property name="aggregateFunction">CONCATENATE</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">row["availableStockLocation"]+': '+row["availableQty"]+' '+row["unit"]</expression>
                                    </structure>
                                    <structure>
                                        <property name="name">Separat&amp;or</property>
                                        <expression name="value" type="javascript">'\n'</expression>
                                    </structure>
                                    <structure>
                                        <property name="name">Ma&amp;x length</property>
                                    </structure>
                                    <structure>
                                        <property name="name">Sho&amp;w all values</property>
                                    </structure>
                                </list-property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">availableStockLocation</property>
                                <text-property name="displayName">availableStockLocation</text-property>
                                <expression name="expression" type="javascript">dataSetRow["availableStockLocation"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">neededQtySumByProduct</property>
                                <property name="dataType">float</property>
                                <simple-property-list name="aggregateOn">
                                    <value>NewTableGroup1</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">row["neededQty"]</expression>
                                    </structure>
                                </list-property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">missingQtySumByProduct</property>
                                <property name="dataType">float</property>
                                <simple-property-list name="aggregateOn">
                                    <value>NewTableGroup1</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">row["missingQty"]</expression>
                                    </structure>
                                </list-property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">countAvailableStockLocation</property>
                                <text-property name="displayName">countAvailableStockLocation</text-property>
                                <property name="dataType">integer</property>
                                <simple-property-list name="aggregateOn">
                                    <value>NewTableGroup2</value>
                                </simple-property-list>
                                <property name="aggregateFunction">COUNT</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">row["availableStockLocation"]</expression>
                                    </structure>
                                </list-property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">neededQtySum</property>
                                <expression name="expression" type="javascript">row["neededQtySumByProduct"]/row["countAvailableStockLocation"]</expression>
                                <property name="dataType">decimal</property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">missingQtySum</property>
                                <expression name="expression" type="javascript">Math.max(row["neededQtySum"] - row["neededQty"] + row["missingNegativeQty"],0)</expression>
                                <property name="dataType">decimal</property>
                                <property name="allowExport">true</property>
                            </structure>
                            <structure>
                                <property name="name">unit</property>
                                <text-property name="displayName">unit</text-property>
                                <expression name="expression" type="javascript">dataSetRow["label_to_printing"]</expression>
                                <property name="dataType">string</property>
                                <property name="allowExport">true</property>
                            </structure>
                        </list-property>
                        <list-property name="filter">
                            <structure>
                                <property name="operator">is-true</property>
                                <expression name="expr" type="javascript">row._outer["show_all_requirements"] || row["missingQtySumByProduct"] > 0</expression>
                                <property name="updateAggregation">true</property>
                            </structure>
                        </list-property>
                        <column id="4878">
                            <property name="width">35%</property>
                        </column>
                        <column id="4880">
                            <property name="width">9%</property>
                        </column>
                        <column id="4881">
                            <property name="width">11%</property>
                        </column>
                        <column id="4882">
                            <property name="width">9%</property>
                        </column>
                        <column id="4883">
                            <property name="width">11%</property>
                        </column>
                        <column id="4884">
                            <property name="suppressDuplicates">true</property>
                            <property name="width">25%</property>
                        </column>
                        <header>
                            <row id="4830">
                                <property name="borderBottomStyle">solid</property>
                                <property name="borderBottomWidth">medium</property>
                                <cell id="4831">
                                    <text id="4832">
                                        <property name="marginTop">1pt</property>
                                        <property name="marginLeft">2pt</property>
                                        <property name="textAlign">center</property>
                                        <property name="dataSet">TranslateDS</property>
                                        <list-property name="paramBindings">
                                            <structure>
                                                <property name="paramName">param_1</property>
                                                <simple-property-list name="expression">
                                                    <value type="javascript">"RawMaterialRequirement.stockLocation"</value>
                                                </simple-property-list>
                                            </structure>
                                        </list-property>
                                        <list-property name="boundDataColumns">
                                            <structure>
                                                <property name="name">key</property>
                                                <text-property name="displayName">key</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                            <structure>
                                                <property name="name">translation</property>
                                                <text-property name="displayName">translation</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                        </list-property>
                                        <property name="contentType">html</property>
                                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>]]></text-property>
                                    </text>
                                </cell>
                                <cell id="4835">
                                    <property name="colSpan">2</property>
                                    <property name="rowSpan">1</property>
                                    <text id="4836">
                                        <property name="marginTop">1pt</property>
                                        <property name="marginLeft">2pt</property>
                                        <property name="textAlign">center</property>
                                        <property name="dataSet">TranslateDS</property>
                                        <list-property name="paramBindings">
                                            <structure>
                                                <property name="paramName">param_1</property>
                                                <simple-property-list name="expression">
                                                    <value type="javascript">"RawMaterialRequirement.neededQuantity"</value>
                                                </simple-property-list>
                                            </structure>
                                        </list-property>
                                        <list-property name="boundDataColumns">
                                            <structure>
                                                <property name="name">key</property>
                                                <text-property name="displayName">key</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                            <structure>
                                                <property name="name">translation</property>
                                                <text-property name="displayName">translation</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                        </list-property>
                                        <property name="contentType">html</property>
                                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>]]></text-property>
                                    </text>
                                </cell>
                                <cell id="4837">
                                    <property name="colSpan">2</property>
                                    <property name="rowSpan">1</property>
                                    <text id="4838">
                                        <property name="marginTop">1pt</property>
                                        <property name="marginLeft">2pt</property>
                                        <property name="textAlign">center</property>
                                        <property name="dataSet">TranslateDS</property>
                                        <list-property name="paramBindings">
                                            <structure>
                                                <property name="paramName">param_1</property>
                                                <simple-property-list name="expression">
                                                    <value type="javascript">"RawMaterialRequirement.missingQuantity"</value>
                                                </simple-property-list>
                                            </structure>
                                        </list-property>
                                        <list-property name="boundDataColumns">
                                            <structure>
                                                <property name="name">key</property>
                                                <text-property name="displayName">key</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                            <structure>
                                                <property name="name">translation</property>
                                                <text-property name="displayName">translation</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                        </list-property>
                                        <property name="contentType">html</property>
                                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>]]></text-property>
                                    </text>
                                </cell>
                                <cell id="4839">
                                    <text id="4840">
                                        <property name="marginTop">1pt</property>
                                        <property name="marginLeft">2pt</property>
                                        <property name="textAlign">center</property>
                                        <property name="dataSet">TranslateDS</property>
                                        <list-property name="paramBindings">
                                            <structure>
                                                <property name="paramName">param_1</property>
                                                <simple-property-list name="expression">
                                                    <value type="javascript">"RawMaterialRequirement.available"</value>
                                                </simple-property-list>
                                            </structure>
                                        </list-property>
                                        <list-property name="boundDataColumns">
                                            <structure>
                                                <property name="name">key</property>
                                                <text-property name="displayName">key</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["message_key"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                            <structure>
                                                <property name="name">translation</property>
                                                <text-property name="displayName">translation</text-property>
                                                <expression name="expression" type="javascript">dataSetRow["translation"]</expression>
                                                <property name="dataType">string</property>
                                            </structure>
                                        </list-property>
                                        <property name="contentType">html</property>
                                        <text-property name="content"><![CDATA[<VALUE-OF>row["translation"] || row["en_translation"]</VALUE-OF>]]></text-property>
                                    </text>
                                </cell>
                            </row>
                        </header>
                        <group id="4841">
                            <property name="groupName">NewTableGroup1</property>
                            <expression name="keyExpr" type="javascript">row["product"]</expression>
                            <structure name="toc">
                                <expression name="expressionValue" type="javascript">row["product"]</expression>
                            </structure>
                            <property name="repeatHeader">false</property>
                            <property name="hideDetail">false</property>
                            <header>
                                <row id="4842">
                                    <property name="borderBottomStyle">solid</property>
                                    <property name="borderBottomWidth">thin</property>
                                    <cell id="4843">
                                        <property name="colSpan">1</property>
                                        <property name="rowSpan">1</property>
                                        <data id="4844">
                                            <property name="fontWeight">bold</property>
                                            <property name="resultSetColumn">product</property>
                                        </data>
                                    </cell>
                                    <cell id="4845">
                                        <data id="4846">
                                            <property name="fontWeight">bold</property>
                                            <property name="textAlign">right</property>
                                            <property name="resultSetColumn">neededQtySum</property>
                                        </data>
                                    </cell>
                                    <cell id="4847">
                                        <data id="4848">
                                            <property name="fontWeight">bold</property>
                                            <property name="resultSetColumn">unit</property>
                                        </data>
                                    </cell>
                                    <cell id="4849">
                                        <data id="4850">
                                            <property name="fontWeight">bold</property>
                                            <property name="textAlign">right</property>
                                            <property name="resultSetColumn">missingQtySum</property>
                                        </data>
                                    </cell>
                                    <cell id="4851">
                                        <data id="4852">
                                            <property name="fontWeight">bold</property>
                                            <property name="resultSetColumn">unit</property>
                                        </data>
                                    </cell>
                                    <cell id="4853">
                                        <data id="4854">
                                            <property name="textAlign">right</property>
                                            <property name="resultSetColumn">StockAvailable</property>
                                        </data>
                                    </cell>
                                </row>
                            </header>
                            <footer>
                                <row id="4855">
                                    <property name="height">2mm</property>
                                    <cell id="4856"/>
                                    <cell id="4858"/>
                                    <cell id="4859"/>
                                    <cell id="4860"/>
                                    <cell id="4861"/>
                                    <cell id="4862"/>
                                </row>
                            </footer>
                        </group>
                        <group id="4863">
                            <property name="groupName">NewTableGroup2</property>
                            <expression name="keyExpr" type="javascript">row["stockLocation"]+row["manuf_order_seq"]+row["neededQty"]+row["missingQty"]</expression>
                            <property name="hideDetail">false</property>
                        </group>
                    </table>
                </cell>
            </row>
        </grid>
    </body>
</report>
