<?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.8.0.v201806261756</property>
    <list-property name="propertyBindings">
        <structure>
            <property name="name">queryText</property>
            <property name="id">3692</property>
        </structure>
        <structure>
            <property name="name">queryTimeOut</property>
            <property name="id">3692</property>
        </structure>
        <structure>
            <property name="name">rowFetchSize</property>
            <property name="id">3692</property>
        </structure>
        <structure>
            <property name="name">odaURL</property>
            <property name="id">209</property>
            <expression name="value" type="javascript">params["DBName"].value</expression>
        </structure>
        <structure>
            <property name="name">odaUser</property>
            <property name="id">209</property>
            <expression name="value" type="javascript">params["UserName"].value</expression>
        </structure>
        <structure>
            <property name="name">odaPassword</property>
            <property name="id">209</property>
            <expression name="value" type="javascript">params["Password"].value</expression>
        </structure>
        <structure>
            <property name="name">odaDriverClass</property>
            <property name="id">209</property>
            <expression name="value" type="javascript">params["DefaultDriver"].value</expression>
        </structure>
    </list-property>
    <property name="units">cm</property>
    <method name="beforeFactory"><![CDATA[if(params["HeaderHeight"].value != 0 ) {
reportContext.getDesignHandle().findMasterPage("Simple MasterPage").setProperty("headerHeight",params["HeaderHeight"].value+"cm");
}
if(params["FooterHeight"].value != 0) {
reportContext.getDesignHandle().findMasterPage("Simple MasterPage").setProperty("footerHeight",params["FooterHeight"].value+"cm");
}]]></method>
    <property name="layoutPreference">auto layout</property>
    <property name="bidiLayoutOrientation">ltr</property>
    <property name="imageDPI">96</property>
    <parameters>
        <scalar-parameter name="StockProductionRequestId" id="3265">
            <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>
            <simple-property-list name="defaultValue">
                <value type="constant">1</value>
            </simple-property-list>
            <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="3740">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="isRequired">true</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">en</value>
            </simple-property-list>
            <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="DBName" id="3828">
            <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">jdbc:postgresql://localhost:5432/axelor-open-suite</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="UserName" id="3829">
            <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">axelor</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="Password" id="3675">
            <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="3838">
            <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="3819">
            <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>
        <scalar-parameter name="HeaderHeight" id="5372">
            <property name="valueType">static</property>
            <property name="dataType">decimal</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="FooterHeight" id="5373">
            <property name="valueType">static</property>
            <property name="dataType">decimal</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>
    </parameters>
    <data-sources>
        <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="Data Source" id="209">
            <list-property name="privateDriverProperties">
                <ex-property>
                    <name>disabledMetadataBidiFormatStr</name>
                </ex-property>
                <ex-property>
                    <name>disabledContentBidiFormatStr</name>
                </ex-property>
                <ex-property>
                    <name>contentBidiFormatStr</name>
                    <value>ILYNN</value>
                </ex-property>
                <ex-property>
                    <name>metadataBidiFormatStr</name>
                    <value>ILYNN</value>
                </ex-property>
            </list-property>
            <property name="odaDriverClass">org.postgresql.Driver</property>
            <property name="odaURL">jdbc:postgresql://localhost:5432/bdd_sophal</property>
            <property name="odaUser">postgres</property>
            <encrypted-property name="odaPassword" encryptionID="base64">SWpsdj1iQl5oU0dAUFYkLDlqa2hIek8qNzQ=</encrypted-property>
        </oda-data-source>
    </data-sources>
    <data-sets>
        <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="StockProductionRequestDS" id="3692">
            <property name="nullsOrdering">nulls lowest</property>
            <list-property name="computedColumns">
                <structure>
                    <property name="name">user_name</property>
                    <expression name="expression">if(row["last_modified_by"] == null)row["createdBy"]
else row["last_modified_by"]</expression>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">id</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">id</text-property>
                    <text-property name="heading">id</text-property>
                </structure>
                <structure>
                    <property name="columnName">logo_path</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">logo_path</text-property>
                    <text-property name="heading">logo_path</text-property>
                </structure>
                <structure>
                    <property name="columnName">logo_height</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">logo_height</text-property>
                    <text-property name="heading">logo_height</text-property>
                </structure>
                <structure>
                    <property name="columnName">logo_width</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">logo_width</text-property>
                    <text-property name="heading">logo_width</text-property>
                </structure>
                <structure>
                    <property name="columnName">pdf_header</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">pdf_header</text-property>
                    <text-property name="heading">pdf_header</text-property>
                </structure>
                <structure>
                    <property name="columnName">pdf_footer</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">pdf_footer</text-property>
                    <text-property name="heading">pdf_footer</text-property>
                </structure>
                <structure>
                    <property name="columnName">last_modified_by</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">last_modified_by</text-property>
                    <text-property name="heading">last_modified_by</text-property>
                </structure>
                <structure>
                    <property name="columnName">createdBy</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">createdBy</text-property>
                    <text-property name="heading">createdBy</text-property>
                </structure>
            </list-property>
            <list-property name="filter"/>
            <list-property name="parameters">
                <structure>
                    <property name="name">param_1</property>
                    <property name="paramName">StockProductionRequestId</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">id</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">logo_path</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">logo_height</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">logo_width</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">created_on</property>
                        <property name="dataType">date-time</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">stock_production_request_seq</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">7</property>
                        <property name="name">pdf_header</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">8</property>
                        <property name="name">pdf_footer</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">9</property>
                        <property name="name">last_modified_by</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">10</property>
                        <property name="name">createdBy</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">11</property>
                        <property name="name">user_name</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">id</property>
                    <property name="nativeName">id</property>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">logo_path</property>
                    <property name="nativeName">logo_path</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">logo_height</property>
                    <property name="nativeName">logo_height</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">logo_width</property>
                    <property name="nativeName">logo_width</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">created_on</property>
                    <property name="nativeName">created_on</property>
                    <property name="dataType">date-time</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">stock_production_request_seq</property>
                    <property name="nativeName">stock_production_request_seq</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">7</property>
                    <property name="name">pdf_header</property>
                    <property name="nativeName">pdf_header</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">8</property>
                    <property name="name">pdf_footer</property>
                    <property name="nativeName">pdf_footer</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">9</property>
                    <property name="name">last_modified_by</property>
                    <property name="nativeName">last_modified_by</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">10</property>
                    <property name="name">createdBy</property>
                    <property name="nativeName">createdBy</property>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <xml-property name="queryText"><![CDATA[select 
sspr.id, 
MetaFile.file_path as logo_path,
Company.height as logo_height,
Company.width as logo_width,
sspr.created_on, 
sspr.stock_production_request_seq, 
PrintingSetting.pdf_header,
PrintingSetting.pdf_footer,
AuthUser.full_name as last_modified_by,
AuthUserCreate.full_name as "createdBy"
from stock_stock_production_request  sspr
left outer join base_company as Company on (sspr.company = Company.id)
left outer join meta_file as MetaFile on (MetaFile.id = Company.logo)
left outer join auth_user as AuthUser on (sspr.updated_by = AuthUser.id)
left outer join auth_user as AuthUserCreate on (sspr.created_by = AuthUserCreate.id)
left outer join base_printing_settings as PrintingSetting on (sspr.printing_settings = PrintingSetting.id)
where sspr.id = ?]]></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>id</design:name>
              <design:position>1</design:position>
            </design:identifier>
            <design:nativeDataTypeCode>-5</design:nativeDataTypeCode>
            <design:precision>19</design:precision>
            <design:scale>0</design:scale>
            <design:nullability>NotNullable</design:nullability>
            <design:uiHints>
              <design:displayName>id</design:displayName>
            </design:uiHints>
          </design:attributes>
          <design:usageHints>
            <design:label>id</design:label>
            <design:formattingHints>
              <design:displaySize>20</design:displaySize>
            </design:formattingHints>
          </design:usageHints>
        </design:resultColumnDefinitions>
        <design:resultColumnDefinitions>
          <design:attributes>
            <design:identifier>
              <design:name>status_select</design:name>
              <design:position>3</design:position>
            </design:identifier>
            <design:nativeDataTypeCode>4</design:nativeDataTypeCode>
            <design:precision>10</design:precision>
            <design:scale>0</design:scale>
            <design:nullability>Nullable</design:nullability>
            <design:uiHints>
              <design:displayName>status_select</design:displayName>
            </design:uiHints>
          </design:attributes>
          <design:usageHints>
            <design:label>status_select</design:label>
            <design:formattingHints>
              <design:displaySize>11</design:displaySize>
            </design:formattingHints>
          </design:usageHints>
        </design:resultColumnDefinitions>
        <design:resultColumnDefinitions>
          <design:attributes>
            <design:identifier>
              <design:name>title_select</design:name>
              <design:position>4</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>title_select</design:displayName>
            </design:uiHints>
          </design:attributes>
          <design:usageHints>
            <design:label>title_select</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>5</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>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>first_name</design:name>
              <design:position>6</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>first_name</design:displayName>
            </design:uiHints>
          </design:attributes>
          <design:usageHints>
            <design:label>first_name</design:label>
            <design:formattingHints>
              <design:displaySize>255</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="TranslateDS" id="3799">
            <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="isOptional">false</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="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">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">key</property>
                    <property name="nativeName">key</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">translation</property>
                    <property name="nativeName">translation</property>
                    <property name="dataType">string</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:inputAttributes>
          <design:elementAttributes/>
        </design:inputAttributes>
      </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:inputAttributes>
          <design:elementAttributes/>
        </design:inputAttributes>
      </design:ParameterDefinition>
    </parameter>
  </DataSetParameters>
</model:DesignValues>]]></xml-property>
        </oda-data-set>
        <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="StockProductionRequestLineDs" id="3422">
            <property name="nullsOrdering">nulls lowest</property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">sspr_id</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">sspr_id</text-property>
                    <text-property name="heading">sspr_id</text-property>
                </structure>
                <structure>
                    <property name="columnName">id</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">id</text-property>
                    <property name="onColumnLayout">false</property>
                    <text-property name="heading">id</text-property>
                </structure>
                <structure>
                    <property name="columnName">product_code</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">product_code</text-property>
                    <property name="onColumnLayout">false</property>
                    <text-property name="heading">product_code</text-property>
                </structure>
                <structure>
                    <property name="columnName">product_name</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">product_name</text-property>
                    <property name="onColumnLayout">false</property>
                    <text-property name="heading">product_name</text-property>
                </structure>
                <structure>
                    <property name="columnName">qty</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">qty</text-property>
                    <property name="onColumnLayout">false</property>
                    <text-property name="heading">qty</text-property>
                </structure>
                <structure>
                    <property name="columnName">unit_code</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">unit_code</text-property>
                    <property name="onColumnLayout">false</property>
                    <text-property name="heading">unit_code</text-property>
                </structure>
                <structure>
                    <property name="columnName">description</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">description</text-property>
                    <property name="onColumnLayout">false</property>
                    <text-property name="heading">description</text-property>
                </structure>
            </list-property>
            <list-property name="filter"/>
            <list-property name="parameters">
                <structure>
                    <property name="name">param_1</property>
                    <property name="paramName">StockProductionRequestId</property>
                    <property name="nativeName"></property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">-5</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">sspr_id</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">id</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">product_code</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">product_name</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">qty</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">unit_code</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">7</property>
                        <property name="name">description</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">sspr_id</property>
                    <property name="nativeName">sspr_id</property>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">id</property>
                    <property name="nativeName">id</property>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">product_code</property>
                    <property name="nativeName">product_code</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">product_name</property>
                    <property name="nativeName">product_name</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">qty</property>
                    <property name="nativeName">qty</property>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">unit_code</property>
                    <property name="nativeName">unit_code</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">7</property>
                    <property name="name">description</property>
                    <property name="nativeName">description</property>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <xml-property name="queryText"><![CDATA[select 
sspr.id as sspr_id, 
ssprline.id, 
Product.code as product_code, 
ssprline.product_name as product_name,
ssprline.real_qty as qty, 
Unit.name as unit_code, 
ssprline.description

from stock_stock_production_request   as sspr
inner join stock_stock_production_request_line as ssprline on (ssprline.stock_production_request = sspr.id)
left join base_product as Product on (ssprline.product = Product.id)
left join base_unit as Unit on (ssprline.unit = Unit.id)
where sspr.id = ? and ssprline.real_qty > 0
order by ssprline.sequence]]></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-cell" 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" 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="topMargin">0.47625cm</property>
            <property name="leftMargin">0.4in</property>
            <property name="rightMargin">0.15625in</property>
            <property name="headerHeight">0in</property>
            <property name="footerHeight">0.2in</property>
            <page-footer>
                <grid id="5275">
                    <property name="marginTop">0pt</property>
                    <property name="dataSet">StockProductionRequestDS</property>
                    <list-property name="boundDataColumns">
                        <structure>
                            <property name="name">pdf_footer</property>
                            <text-property name="displayName">pdf_footer</text-property>
                            <expression name="expression" type="javascript">dataSetRow["pdf_footer"]</expression>
                            <property name="dataType">string</property>
                        </structure>
                        <structure>
                            <property name="name">type_select</property>
                            <text-property name="displayName">type_select</text-property>
                            <expression name="expression" type="javascript">dataSetRow["type_select"]</expression>
                            <property name="dataType">integer</property>
                        </structure>
                        <structure>
                            <property name="name">to_address_str</property>
                            <text-property name="displayName">to_address_str</text-property>
                            <expression name="expression" type="javascript">dataSetRow["to_address_str"]</expression>
                            <property name="dataType">string</property>
                        </structure>
                    </list-property>
                    <column id="5287"/>
                    <column id="5276">
                        <property name="width">7%</property>
                    </column>
                    <column id="5277">
                        <property name="width">3%</property>
                    </column>
                    <column id="5278">
                        <property name="width">7%</property>
                    </column>
                    <row id="5375">
                        <property name="borderBottomStyle">none</property>
                        <property name="borderLeftStyle">none</property>
                        <property name="borderRightStyle">none</property>
                        <property name="borderTopStyle">none</property>
                        <cell id="5376">
                            <property name="colSpan">4</property>
                            <property name="rowSpan">1</property>
                            <text id="5309">
                                <property name="fontWeight">normal</property>
                                <property name="textUnderline">underline</property>
                                <property name="marginLeft">0pt</property>
                                <property name="marginBottom">1pt</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">'StockMove.deliveryAddress'</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"]</VALUE-OF> :]]></text-property>
                            </text>
                            <text id="5333">
                                <structure name="toc"/>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF format="HTML">if (row["type_select"] == 2) {
    row["to_address_str"].replace(/\n/g, "<br>")
} else if (row["type_select"] == 3) {
    row["from_address_str"].replace(/\n/g, "<br>")
} else if (row["type_select"] == 1) {
	row["to_stock_location_address"].replace(/\n/g, "<br>")
}</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                    </row>
                    <row id="5279">
                        <property name="borderTopStyle">solid</property>
                        <property name="borderTopWidth">thin</property>
                        <cell id="5286">
                            <text id="3729">
                                <property name="fontSize">xx-small</property>
                                <property name="marginTop">1pt</property>
                                <property name="textAlign">left</property>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF format="html">row["pdf_footer"]</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                        <cell id="5280">
                            <auto-text id="5281">
                                <property name="textAlign">right</property>
                                <property name="type">page-number</property>
                            </auto-text>
                        </cell>
                        <cell id="5282">
                            <property name="textAlign">center</property>
                            <text id="5283">
                                <property name="contentType">plain</property>
                                <text-property name="content"><![CDATA[/]]></text-property>
                            </text>
                        </cell>
                        <cell id="5284">
                            <auto-text id="5285">
                                <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 id="5231">
            <property name="height">15.927916666666667cm</property>
            <property name="dataSet">StockProductionRequestDS</property>
            <list-property name="boundDataColumns">
                <structure>
                    <property name="name">id</property>
                    <text-property name="displayName">id</text-property>
                    <expression name="expression" type="javascript">dataSetRow["id"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
                <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">real_date</property>
                    <text-property name="displayName">real_date</text-property>
                    <expression name="expression" type="javascript">dataSetRow["real_date"]</expression>
                    <property name="dataType">date</property>
                </structure>
                <structure>
                    <property name="name">type_select</property>
                    <text-property name="displayName">type_select</text-property>
                    <expression name="expression" type="javascript">dataSetRow["type_select"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">stock_move_seq</property>
                    <text-property name="displayName">stock_move_seq</text-property>
                    <expression name="expression" type="javascript">dataSetRow["stock_move_seq"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">title_select</property>
                    <text-property name="displayName">title_select</text-property>
                    <expression name="expression" type="javascript">dataSetRow["title_select"]</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>
                </structure>
                <structure>
                    <property name="name">first_name</property>
                    <text-property name="displayName">first_name</text-property>
                    <expression name="expression" type="javascript">dataSetRow["first_name"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">partner_type_select</property>
                    <text-property name="displayName">partner_type_select</text-property>
                    <expression name="expression" type="javascript">dataSetRow["partner_type_select"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">partner_seq</property>
                    <text-property name="displayName">partner_seq</text-property>
                    <expression name="expression" type="javascript">dataSetRow["partner_seq"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">from_address_str</property>
                    <text-property name="displayName">from_address_str</text-property>
                    <expression name="expression" type="javascript">dataSetRow["from_address_str"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">to_address_str</property>
                    <text-property name="displayName">to_address_str</text-property>
                    <expression name="expression" type="javascript">dataSetRow["to_address_str"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">is_ispm_required</property>
                    <text-property name="displayName">is_ispm_required</text-property>
                    <expression name="expression" type="javascript">dataSetRow["is_ispm_required"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">countryName</property>
                    <text-property name="displayName">countryName</text-property>
                    <expression name="expression" type="javascript">dataSetRow["countryName"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">pdf_header</property>
                    <text-property name="displayName">pdf_header</text-property>
                    <expression name="expression" type="javascript">dataSetRow["pdf_header"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">last_modified_by</property>
                    <text-property name="displayName">last_modified_by</text-property>
                    <expression name="expression" type="javascript">dataSetRow["last_modified_by"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">createdBy</property>
                    <text-property name="displayName">createdBy</text-property>
                    <expression name="expression" type="javascript">dataSetRow["createdBy"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">num_of_packages</property>
                    <text-property name="displayName">num_of_packages</text-property>
                    <expression name="expression" type="javascript">dataSetRow["num_of_packages"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">tracking_number</property>
                    <text-property name="displayName">tracking_number</text-property>
                    <expression name="expression" type="javascript">dataSetRow["tracking_number"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">num_of_palettes</property>
                    <text-property name="displayName">num_of_palettes</text-property>
                    <expression name="expression" type="javascript">dataSetRow["num_of_palettes"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">gross_mass</property>
                    <text-property name="displayName">gross_mass</text-property>
                    <expression name="expression" type="javascript">dataSetRow["gross_mass"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="name">origin</property>
                    <text-property name="displayName">origin</text-property>
                    <expression name="expression" type="javascript">dataSetRow["origin"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">externalReference</property>
                    <text-property name="displayName">externalReference</text-property>
                    <expression name="expression" type="javascript">dataSetRow["externalReference"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">display_partner_seq_on_printing</property>
                    <text-property name="displayName">display_partner_seq_on_printing</text-property>
                    <expression name="expression" type="javascript">dataSetRow["display_partner_seq_on_printing"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">note</property>
                    <text-property name="displayName">note</text-property>
                    <expression name="expression" type="javascript">dataSetRow["note"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">user_name</property>
                    <text-property name="displayName">user_name</text-property>
                    <expression name="expression" type="javascript">dataSetRow["user_name"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">pdf_footer</property>
                    <text-property name="displayName">pdf_footer</text-property>
                    <expression name="expression" type="javascript">dataSetRow["pdf_footer"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">display_line_details_on_printing</property>
                    <text-property name="displayName">display_line_details_on_printing</text-property>
                    <expression name="expression" type="javascript">dataSetRow["display_line_details_on_printing"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">display_track_nbr_on_picking_printing</property>
                    <text-property name="displayName">display_track_nbr_on_picking_printing</text-property>
                    <expression name="expression" type="javascript">dataSetRow["display_track_nbr_on_picking_printing"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">to_stock_location_address</property>
                    <text-property name="displayName">to_stock_location_address</text-property>
                    <expression name="expression" type="javascript">dataSetRow["to_stock_location_address"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">from_stock_location_name</property>
                    <text-property name="displayName">from_stock_location_name</text-property>
                    <expression name="expression" type="javascript">dataSetRow["from_stock_location_name"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">to_stock_location_name</property>
                    <text-property name="displayName">to_stock_location_name</text-property>
                    <expression name="expression" type="javascript">dataSetRow["to_stock_location_name"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">display_line_details_on_printing_1</property>
                    <text-property name="displayName">display_line_details_on_printing</text-property>
                    <expression name="expression" type="javascript">dataSetRow["display_line_details_on_printing"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">display_track_nbr_on_picking_printing_1</property>
                    <text-property name="displayName">display_track_nbr_on_picking_printing</text-property>
                    <expression name="expression" type="javascript">dataSetRow["display_track_nbr_on_picking_printing"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">invoicingAddress</property>
                    <text-property name="displayName">invoicingAddress</text-property>
                    <expression name="expression" type="javascript">dataSetRow["invoicingAddress"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">picking_edit_date</property>
                    <text-property name="displayName">picking_edit_date</text-property>
                    <expression name="expression" type="javascript">dataSetRow["picking_edit_date"]</expression>
                    <property name="dataType">date</property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">logo_height</property>
                    <text-property name="displayName">logo_height</text-property>
                    <expression name="expression" type="javascript">if(dataSetRow["logo_height"]>0){dataSetRow["logo_height"]+'px'}else{'60px'}</expression>
                    <property name="dataType">string</property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">logo_width</property>
                    <text-property name="displayName">logo_width</text-property>
                    <expression name="expression" type="javascript">if(dataSetRow["logo_width"]>0){dataSetRow["logo_width"]+'px'}else{'154px'}</expression>
                    <property name="dataType">string</property>
                    <property name="allowExport">true</property>
                </structure>
            </list-property>
            <structure name="toc"/>
            <column id="5232"/>
            <column id="5233">
                <property name="width">3.8893750000000002cm</property>
            </column>
            <column id="5234">
                <property name="width">1.4552083333333332cm</property>
            </column>
            <column id="5235">
                <property name="width">2cm</property>
            </column>
            <column id="5236">
                <property name="width">5.5cm</property>
            </column>
            <column id="5237"/>
            <row id="5238">
                <property name="verticalAlign">top</property>
                <property name="height">2.6722916666666667cm</property>
                <cell id="4537">
                    <property name="colSpan">2</property>
                    <property name="rowSpan">1</property>
                    <text id="5334">
                        <property name="fontSize">8pt</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">row["logo_path"] == null</expression>
                            </structure>
                        </list-property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<TABLE>
	<TR>
		<VALUE-OF format="HTML">
			"<TD><IMG src='"+params["AttachmentPath"].value+row["logo_path"]+"' alt='' height='"+row["logo_height"]+"' width='"+row["logo_width"]+"'/></TD>"
		</VALUE-OF>
	</TR>
</TABLE>]]></text-property>
                    </text>
                </cell>
                <cell id="4539">
                    <property name="colSpan">4</property>
                    <property name="rowSpan">1</property>
                    <text id="3804">
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF format="HTML">row["pdf_header"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
            </row>
            <row id="5252">
                <property name="height">0.5cm</property>
                <cell id="5253">
                    <property name="colSpan">6</property>
                    <property name="rowSpan">1</property>
                    <property name="borderBottomStyle">none</property>
                    <property name="borderLeftStyle">none</property>
                    <property name="borderRightStyle">none</property>
                    <property name="borderTopStyle">none</property>
                </cell>
            </row>
            <row id="4543">
                <cell id="4544">
                    <property name="colSpan">3</property>
                    <property name="rowSpan">1</property>
                    <property name="borderBottomStyle">solid</property>
                    <property name="borderBottomWidth">thin</property>
                    <property name="borderLeftStyle">solid</property>
                    <property name="borderLeftWidth">thin</property>
                    <property name="borderRightStyle">solid</property>
                    <property name="borderRightWidth">thin</property>
                    <property name="borderTopStyle">solid</property>
                    <property name="borderTopWidth">thin</property>
                    <text id="3423">
                        <property name="backgroundColor">#FFFFFF</property>
                        <property name="fontSize">11pt</property>
                        <property name="fontWeight">bold</property>
                        <property name="color">#000000</property>
                        <property name="marginLeft">0pt</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">if(row["type_select"] == "1"){
														'StockMove.internalMove'
														}else if(row["type_select"] == "2"){
														'StockMove.deliveryOrder'
														} else if(row["type_select"] == "3"){
														'StockMove.receptionOrder'
														}
													</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"]</VALUE-OF> N° <VALUE-OF>row._outer["stock_move_seq"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
                <cell id="4547"/>
                <cell id="4548">
                    <property name="colSpan">2</property>
                    <property name="rowSpan">1</property>
                </cell>
            </row>
            <row id="4550">
                <cell id="4551">
                    <property name="colSpan">3</property>
                    <property name="rowSpan">2</property>
                    <property name="borderBottomStyle">solid</property>
                    <property name="borderBottomWidth">thin</property>
                    <property name="borderLeftStyle">solid</property>
                    <property name="borderLeftWidth">thin</property>
                    <property name="borderRightStyle">solid</property>
                    <property name="borderRightWidth">thin</property>
                    <property name="borderTopStyle">solid</property>
                    <property name="borderTopWidth">thin</property>
                    <grid id="3650">
                        <column id="3651">
                            <property name="textAlign">left</property>
                        </column>
                        <row id="3652">
                            <property name="textAlign">left</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["picking_edit_date"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="3653">
                                <property name="borderBottomStyle">none</property>
                                <property name="borderLeftStyle">none</property>
                                <property name="borderRightStyle">none</property>
                                <property name="borderTopStyle">none</property>
                                <text id="3425">
                                    <property name="marginLeft">0pt</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">'StockMove.date'</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[<B><VALUE-OF>row["translation"]</VALUE-OF> </B>: <VALUE-OF format="^">"  "</VALUE-OF> <VALUE-OF format="dd/MM/yyyy">row._outer["picking_edit_date"]</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="5316">
                            <property name="textAlign">left</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["picking_edit_date"] != null</expression>
                                </structure>
                            </list-property>
                            <cell id="5317">
                                <property name="borderBottomStyle">none</property>
                                <property name="borderLeftStyle">none</property>
                                <property name="borderRightStyle">none</property>
                                <property name="borderTopStyle">none</property>
                                <text id="5318">
                                    <property name="marginLeft">0pt</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">'StockMove.date'</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[<B><VALUE-OF>row["translation"]</VALUE-OF> </B>: <VALUE-OF format="^">"  "</VALUE-OF> <VALUE-OF format="dd/MM/yyyy">BirtDateTime.now()</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="3654">
                            <property name="textAlign">left</property>
                            <cell id="3655">
                                <text id="3646">
                                    <property name="marginLeft">0pt</property>
                                    <property name="textAlign">left</property>
                                    <property name="dataSet">TranslateDS</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">row._outer["externalReference"] != null</expression>
                                        </structure>
                                    </list-property>
                                    <list-property name="paramBindings">
                                        <structure>
                                            <property name="paramName">param_1</property>
                                            <simple-property-list name="expression">
                                                <value type="javascript">if(row["type_select"] == "1"){
	'StockMove.reference'
}else if(row["type_select"] == "2"){
	'StockMove.purchaseOrder'
}else if(row["type_select"] == "3"){
	'StockMove.purchaseOrder'
}</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[<B><VALUE-OF>row["translation"]</VALUE-OF> </B> : <VALUE-OF>row._outer["origin"]</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="4521">
                            <property name="textAlign">left</property>
                            <cell id="4522">
                                <text id="4523">
                                    <property name="marginLeft">0pt</property>
                                    <property name="textAlign">left</property>
                                    <property name="dataSet">TranslateDS</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">row._outer["externalReference"] == null</expression>
                                        </structure>
                                    </list-property>
                                    <list-property name="paramBindings">
                                        <structure>
                                            <property name="paramName">param_1</property>
                                            <simple-property-list name="expression">
                                                <value type="javascript">if(row["type_select"] == "1"){
	'StockMove.reference'
}else if(row["type_select"] == "2"){
	'StockMove.purchaseOrder'
}else if(row["type_select"] == "3"){
	'StockMove.purchaseOrder'
}</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[<B><VALUE-OF>row["translation"]</VALUE-OF> </B> : <VALUE-OF>row._outer["origin"]</VALUE-OF> / <VALUE-OF>row._outer["externalReference"]</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="3656">
                            <property name="textAlign">left</property>
                            <cell id="3657">
                                <text id="4524">
                                    <property name="marginLeft">0pt</property>
                                    <property name="textAlign">left</property>
                                    <property name="dataSet">TranslateDS</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">!row._outer["display_partner_seq_on_printing"] || row._outer["partner_seq"] == null</expression>
                                        </structure>
                                    </list-property>
                                    <list-property name="paramBindings">
                                        <structure>
                                            <property name="paramName">param_1</property>
                                            <simple-property-list name="expression">
                                                <value type="javascript">if(row["type_select"] == "2"){
	'StockMove.customerPartnerSeq'
}else if(row["type_select"] == "3"){
	'StockMove.supplierPartnerSeq'
}</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[<B><VALUE-OF>row["translation"]</VALUE-OF> </B> : <VALUE-OF>row._outer["partner_seq"]</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="3658">
                            <cell id="3659">
                                <text id="4121">
                                    <property name="fontWeight">normal</property>
                                    <property name="dataSet">TranslateDS</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">!row._outer["is_ispm_required"]</expression>
                                        </structure>
                                    </list-property>
                                    <list-property name="paramBindings">
                                        <structure>
                                            <property name="paramName">param_1</property>
                                            <simple-property-list name="expression">
                                                <value type="javascript">'StockMove.ispm'</value>
                                            </simple-property-list>
                                        </structure>
                                    </list-property>
                                    <list-property name="boundDataColumns">
                                        <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"]</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="3660">
                            <cell id="3661">
                                <text id="4074">
                                    <property name="fontSize">10pt</property>
                                    <property name="textAlign">left</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">!row["tracking_number"]</expression>
                                        </structure>
                                    </list-property>
                                    <property name="contentType">html</property>
                                    <text-property name="content"><![CDATA[Tracking : <VALUE-OF>row["tracking_number"]</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="4075">
                            <cell id="4076">
                                <text id="4083">
                                    <property name="fontSize">10pt</property>
                                    <property name="textAlign">left</property>
                                    <property name="dataSet">TranslateDS</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">row._outer["num_of_packages"] == 0</expression>
                                        </structure>
                                    </list-property>
                                    <list-property name="paramBindings">
                                        <structure>
                                            <property name="paramName">param_1</property>
                                            <simple-property-list name="expression">
                                                <value type="javascript">'StockMove.numOfPackages'</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>
                                            <property name="allowExport">true</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"]</VALUE-OF><VALUE-OF format="^">" : "</VALUE-OF><VALUE-OF>row._outer["num_of_packages"]</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="4077">
                            <cell id="4078">
                                <text id="4084">
                                    <property name="fontSize">10pt</property>
                                    <property name="dataSet">TranslateDS</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">row._outer["num_of_palettes"] == 0</expression>
                                        </structure>
                                    </list-property>
                                    <list-property name="paramBindings">
                                        <structure>
                                            <property name="paramName">param_1</property>
                                            <simple-property-list name="expression">
                                                <value type="javascript">'StockMove.numOfPalettes'</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>
                                            <property name="allowExport">true</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"]</VALUE-OF><VALUE-OF format="^">" : "</VALUE-OF><VALUE-OF>row._outer["num_of_palettes"]</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="4079">
                            <cell id="4080">
                                <text id="4085">
                                    <property name="fontSize">10pt</property>
                                    <property name="textAlign">left</property>
                                    <property name="dataSet">TranslateDS</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">row._outer["gross_mass"] == 0</expression>
                                        </structure>
                                    </list-property>
                                    <list-property name="paramBindings">
                                        <structure>
                                            <property name="paramName">param_1</property>
                                            <simple-property-list name="expression">
                                                <value type="javascript">'StockMove.grossMass'</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>
                                            <property name="allowExport">true</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"]</VALUE-OF><VALUE-OF format="^">" : "</VALUE-OF><VALUE-OF>row._outer["gross_mass"]</VALUE-OF>]]></text-property>
                                </text>
                            </cell>
                        </row>
                        <row id="4081">
                            <cell id="4082"/>
                        </row>
                    </grid>
                </cell>
                <cell id="4554"/>
                <cell id="4555">
                    <property name="colSpan">2</property>
                    <property name="rowSpan">2</property>
                    <text id="3426">
                        <property name="fontWeight">bold</property>
                        <property name="marginLeft">0pt</property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>if(row["partner_type_select"] != "1"){
    if(row["title_select"]== "1"){"M."}
    else if(row["title_select"]=="2"){"Mme"}
    else if(row["title_select"]=="3"){"Mlle"}
    else if(row["title_select"]=="4"){"Dr"}
    else if(row["title_select"]=="5"){"Prof."}
}</VALUE-OF> 
<VALUE-OF format="^">"  "</VALUE-OF><VALUE-OF>row["name"]</VALUE-OF>
<VALUE-OF format="^">"  "</VALUE-OF><VALUE-OF>if(row["partner_type_select"] != "1"){
row["first_name"]
}</VALUE-OF>]]></text-property>
                    </text>
                    <text id="4093">
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF format="HTML">if (row["type_select"] == 2) {
    row["invoicingAddress"].replace(/\n/g, "<br>")
} else if (row["type_select"] == 3) {
    row["from_address_str"].replace(/\n/g, "<br>")
} else if (row["type_select"] == 1) {
	row["to_stock_location_address"].replace(/\n/g, "<br>")
}</VALUE-OF>]]></text-property>
                    </text>
                    <label id="3644">
                        <property name="fontSize">1pt</property>
                    </label>
                </cell>
            </row>
            <row id="4557">
                <cell id="4561"/>
            </row>
            <row id="4564">
                <cell id="4565"/>
                <cell id="4566"/>
                <cell id="4567"/>
                <cell id="4568"/>
                <cell id="4569"/>
                <cell id="4570"/>
            </row>
            <row id="4571">
                <property name="height">0.6614583333333334cm</property>
                <cell id="4572">
                    <property name="colSpan">6</property>
                    <property name="rowSpan">1</property>
                </cell>
            </row>
            <row id="4578">
                <cell id="4579">
                    <property name="colSpan">6</property>
                    <property name="rowSpan">1</property>
                    <property name="paddingLeft">0pt</property>
                    <table id="5377">
                        <property name="dataSet">StockProductionRequestLineDs</property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">product_code</property>
                                <text-property name="displayName">product_code</text-property>
                                <expression name="expression" type="javascript">dataSetRow["product_code"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">product_name</property>
                                <text-property name="displayName">product_name</text-property>
                                <expression name="expression" type="javascript">dataSetRow["product_name"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">qty</property>
                                <text-property name="displayName">qty</text-property>
                                <expression name="expression" type="javascript">dataSetRow["qty"]</expression>
                                <property name="dataType">decimal</property>
                            </structure>
                            <structure>
                                <property name="name">unit_code</property>
                                <text-property name="displayName">unit_code</text-property>
                                <expression name="expression" type="javascript">dataSetRow["unit_code"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">description</property>
                                <text-property name="displayName">description</text-property>
                                <expression name="expression" type="javascript">dataSetRow["description"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <column id="5406"/>
                        <column id="5407"/>
                        <column id="5408"/>
                        <column id="5409"/>
                        <column id="5410"/>
                        <header>
                            <row id="5378">
                                <cell id="5379">
                                    <label id="5380">
                                        <text-property name="text">product_code</text-property>
                                    </label>
                                </cell>
                                <cell id="5381">
                                    <label id="5382">
                                        <text-property name="text">product_name</text-property>
                                    </label>
                                </cell>
                                <cell id="5383">
                                    <label id="5384">
                                        <text-property name="text">qty</text-property>
                                    </label>
                                </cell>
                                <cell id="5385">
                                    <label id="5386">
                                        <text-property name="text">unit_code</text-property>
                                    </label>
                                </cell>
                                <cell id="5387">
                                    <label id="5388">
                                        <text-property name="text">description</text-property>
                                    </label>
                                </cell>
                            </row>
                        </header>
                        <detail>
                            <row id="5389">
                                <property name="textAlign">center</property>
                                <cell id="5390">
                                    <data id="5391">
                                        <property name="resultSetColumn">product_code</property>
                                    </data>
                                </cell>
                                <cell id="5392">
                                    <data id="5393">
                                        <property name="resultSetColumn">product_name</property>
                                    </data>
                                </cell>
                                <cell id="5394">
                                    <data id="5395">
                                        <property name="resultSetColumn">qty</property>
                                    </data>
                                </cell>
                                <cell id="5396">
                                    <data id="5397">
                                        <property name="resultSetColumn">unit_code</property>
                                    </data>
                                </cell>
                                <cell id="5398">
                                    <data id="5399">
                                        <property name="resultSetColumn">description</property>
                                    </data>
                                </cell>
                            </row>
                        </detail>
                        <footer>
                            <row id="5400">
                                <cell id="5401"/>
                                <cell id="5402"/>
                                <cell id="5403"/>
                                <cell id="5404"/>
                                <cell id="5405"/>
                            </row>
                        </footer>
                    </table>
                </cell>
            </row>
            <row id="4585">
                <property name="height">1.031875cm</property>
                <cell id="4586">
                    <property name="colSpan">6</property>
                    <property name="rowSpan">1</property>
                    <text id="4528">
                        <property name="marginTop">10pt</property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF format="HTML">if(row["note"] != null) row["note"].replace(/\<p|\<P/g, '<p style="margin-top: 0; margin-bottom:0.1em;" ').replace(/<!--\w+-->/gi,"")</VALUE-OF>]]></text-property>
                    </text>
                </cell>
            </row>
        </grid>
    </body>
</report>
