kafkadb_openerpv42_tryton/bank/bank_account-party_party.ktr

783 lines
27 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<transformation>
<info>
<name>bank_account-party_party</name>
<description/>
<extended_description/>
<trans_version/>
<trans_type>Normal</trans_type>
<trans_status>0</trans_status>
<directory>&#47;</directory>
<parameters>
</parameters>
<log>
<trans-log-table><connection/>
<schema/>
<table/>
<size_limit_lines/>
<interval/>
<timeout_days/>
<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field></trans-log-table>
<perf-log-table><connection/>
<schema/>
<table/>
<interval/>
<timeout_days/>
<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>
<channel-log-table><connection/>
<schema/>
<table/>
<timeout_days/>
<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>
<step-log-table><connection/>
<schema/>
<table/>
<timeout_days/>
<field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>
</log>
<maxdate>
<connection/>
<table/>
<field/>
<offset>0.0</offset>
<maxdiff>0.0</maxdiff>
</maxdate>
<size_rowset>10000</size_rowset>
<sleep_time_empty>50</sleep_time_empty>
<sleep_time_full>50</sleep_time_full>
<unique_connections>N</unique_connections>
<feedback_shown>Y</feedback_shown>
<feedback_size>50000</feedback_size>
<using_thread_priorities>Y</using_thread_priorities>
<shared_objects_file/>
<capture_step_performance>N</capture_step_performance>
<step_performance_capturing_delay>1000</step_performance_capturing_delay>
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
<dependencies>
</dependencies>
<partitionschemas>
</partitionschemas>
<slaveservers>
</slaveservers>
<clusterschemas>
</clusterschemas>
<created_user>-</created_user>
<created_date>2013&#47;10&#47;04 13:34:50.353</created_date>
<modified_user>-</modified_user>
<modified_date>2013&#47;10&#47;04 13:34:50.353</modified_date>
</info>
<notepads>
</notepads>
<connection>
<name>source</name>
<server>${source_host}</server>
<type>POSTGRESQL</type>
<access>Native</access>
<database>${source}</database>
<port>${source_port}</port>
<username>${source_user}</username>
<password>${source_password}</password>
<servername/>
<data_tablespace/>
<index_tablespace/>
<attributes>
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
<attribute><code>PORT_NUMBER</code><attribute>${source_port}</attribute></attribute>
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
</attributes>
</connection>
<connection>
<name>target</name>
<server>${target_host}</server>
<type>POSTGRESQL</type>
<access>Native</access>
<database>${target}</database>
<port>${target_port}</port>
<username>${target_user}</username>
<password>${target_password}</password>
<servername/>
<data_tablespace/>
<index_tablespace/>
<attributes>
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
<attribute><code>PORT_NUMBER</code><attribute>${target_port}</attribute></attribute>
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
</attributes>
</connection>
<order>
<hop> <from>BankAccount values</from><to>target</to><enabled>Y</enabled> </hop> <hop> <from>target</from><to>BankAccountParty</to><enabled>N</enabled> </hop> <hop> <from>create_uid</from><to>write_uid</to><enabled>Y</enabled> </hop> <hop> <from>res_partner_bank</from><to>source</to><enabled>N</enabled> </hop> <hop> <from>Filter rows</from><to>create_uid</to><enabled>Y</enabled> </hop> <hop> <from>Add constants</from><to>Set field value</to><enabled>Y</enabled> </hop> <hop> <from>Set field value</from><to>Filter rows</to><enabled>Y</enabled> </hop> <hop> <from>write_uid</from><to>BankAccount values</to><enabled>Y</enabled> </hop> <hop> <from>Calculator</from><to>Set field value 2</to><enabled>Y</enabled> </hop> <hop> <from>source</from><to>party</to><enabled>Y</enabled> </hop> <hop> <from>party</from><to>Calculator</to><enabled>Y</enabled> </hop> <hop> <from>Select values</from><to>Add constants</to><enabled>Y</enabled> </hop> <hop> <from>Filter rows 2 2</from><to>Strings cut 2</to><enabled>N</enabled> </hop> <hop> <from>Filter rows 2 2</from><to>bank 2</to><enabled>N</enabled> </hop> <hop> <from>Strings cut 2</from><to>prep</to><enabled>Y</enabled> </hop> <hop> <from>prep</from><to>bank_by_account 2</to><enabled>Y</enabled> </hop> <hop> <from>Replace in string</from><to>Strings cut 2</to><enabled>Y</enabled> </hop> <hop> <from>bank_by_account 2</from><to>Select values</to><enabled>Y</enabled> </hop> <hop> <from>Set field value 2</from><to>Replace in string</to><enabled>Y</enabled> </hop> </order>
<step>
<name>Add constants</name>
<type>Constant</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>account</name>
<type>Integer</type>
<format/>
<currency/>
<decimal/>
<group/>
<nullif/>
<length>-1</length>
<precision>-1</precision>
</field>
</fields>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>721</xloc>
<yloc>134</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>BankAccount values</name>
<type>SelectValues</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields> <select_unspecified>N</select_unspecified>
<remove> <name>create_uid</name>
</remove> <remove> <name>write_uid</name>
</remove> <remove> <name>target_bank</name>
</remove> <meta> <name>write_uid_target</name>
<rename>write_uid</rename>
<type>Integer</type>
<length>-2</length>
<precision>-2</precision>
<conversion_mask/>
<date_format_lenient>false</date_format_lenient>
<encoding/>
<decimal_symbol/>
<grouping_symbol/>
<currency_symbol/>
<storage_type/>
</meta> <meta> <name>create_uid_target</name>
<rename>create_uid</rename>
<type>Integer</type>
<length>-2</length>
<precision>-2</precision>
<conversion_mask/>
<date_format_lenient>false</date_format_lenient>
<encoding/>
<decimal_symbol/>
<grouping_symbol/>
<currency_symbol/>
<storage_type/>
</meta> </fields> <cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>1137</xloc>
<yloc>133</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>BankAccountParty</name>
<type>TableOutput</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>target</connection>
<schema/>
<table>&quot;bank_account-party_party&quot;</table>
<commit>1000</commit>
<truncate>N</truncate>
<ignore_errors>N</ignore_errors>
<use_batch>N</use_batch>
<specify_fields>N</specify_fields>
<partitioning_enabled>N</partitioning_enabled>
<partitioning_field/>
<partitioning_daily>N</partitioning_daily>
<partitioning_monthly>Y</partitioning_monthly>
<tablename_in_field>N</tablename_in_field>
<tablename_field/>
<tablename_in_table>Y</tablename_in_table>
<return_keys>N</return_keys>
<return_field/>
<fields>
</fields>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>1316</xloc>
<yloc>132</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>Calculator</name>
<type>Calculator</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<calculation><field_name>number</field_name>
<calc_type>GET_ONLY_DIGITS</calc_type>
<field_a>acc_number</field_a>
<field_b/>
<field_c/>
<value_type>String</value_type>
<value_length>-1</value_length>
<value_precision>-1</value_precision>
<remove>N</remove>
<conversion_mask/>
<decimal_symbol/>
<grouping_symbol/>
<currency_symbol/>
</calculation>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>268</xloc>
<yloc>136</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>Filter rows</name>
<type>FilterRows</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<send_true_to/>
<send_false_to/>
<compare>
<condition>
<negated>N</negated>
<conditions>
<condition>
<negated>N</negated>
<leftvalue>owner</leftvalue>
<function>IS NOT NULL</function>
<rightvalue/>
</condition>
<condition>
<negated>N</negated>
<operator>AND</operator>
<leftvalue>target_bank</leftvalue>
<function>IS NOT NULL</function>
<rightvalue/>
</condition>
</conditions>
</condition>
</compare>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>894</xloc>
<yloc>134</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>Select values</name>
<type>SelectValues</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields> <select_unspecified>N</select_unspecified>
<remove> <name>bank_by_account</name>
</remove> </fields> <cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>721</xloc>
<yloc>57</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>Set field value</name>
<type>SetValueField</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>account</name>
<replaceby>id</replaceby>
</field>
</fields>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>811</xloc>
<yloc>133</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>Set field value 2</name>
<type>SetValueField</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<name>acc_number</name>
<replaceby>number</replaceby>
</field>
</fields>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>348</xloc>
<yloc>136</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>create_uid</name>
<type>DBLookup</type>
<description/>
<distribute>Y</distribute>
<copies>4</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>target</connection>
<cache>Y</cache>
<cache_load_all>Y</cache_load_all>
<cache_size>0</cache_size>
<lookup>
<schema>migration</schema>
<table>user_mapping</table>
<orderby/>
<fail_on_multiple>N</fail_on_multiple>
<eat_row_on_failure>N</eat_row_on_failure>
<key>
<name>create_uid</name>
<field>source</field>
<condition>=</condition>
<name2/>
</key>
<value>
<name>target</name>
<rename>create_uid_target</rename>
<default/>
<type>Integer</type>
</value>
</lookup>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>973</xloc>
<yloc>133</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>party</name>
<type>DBLookup</type>
<description/>
<distribute>Y</distribute>
<copies>4</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>target</connection>
<cache>Y</cache>
<cache_load_all>Y</cache_load_all>
<cache_size>0</cache_size>
<lookup>
<schema>migration</schema>
<table>party_party_mapping</table>
<orderby/>
<fail_on_multiple>N</fail_on_multiple>
<eat_row_on_failure>N</eat_row_on_failure>
<key>
<name>partner_id</name>
<field>source</field>
<condition>=</condition>
<name2/>
</key>
<value>
<name>target</name>
<rename>owner</rename>
<default/>
<type>Integer</type>
</value>
</lookup>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>201</xloc>
<yloc>135</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>res_partner_bank</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>source</connection>
<sql>SELECT * FROM res_partner_bank</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
<variables_active>N</variables_active>
<lazy_conversion_active>N</lazy_conversion_active>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>37</xloc>
<yloc>134</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>source</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>128</xloc>
<yloc>135</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>target</name>
<type>Dummy</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>1229</xloc>
<yloc>132</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>write_uid</name>
<type>DBLookup</type>
<description/>
<distribute>Y</distribute>
<copies>4</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>target</connection>
<cache>Y</cache>
<cache_load_all>Y</cache_load_all>
<cache_size>0</cache_size>
<lookup>
<schema>migration</schema>
<table>user_mapping</table>
<orderby/>
<fail_on_multiple>N</fail_on_multiple>
<eat_row_on_failure>N</eat_row_on_failure>
<key>
<name>write_uid</name>
<field>source</field>
<condition>=</condition>
<name2/>
</key>
<value>
<name>target</name>
<rename>write_uid_target</rename>
<default/>
<type>Integer</type>
</value>
</lookup>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>1042</xloc>
<yloc>134</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>Filter rows 2 2</name>
<type>FilterRows</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<send_true_to>bank</send_true_to>
<send_false_to>Strings cut</send_false_to>
<compare>
<condition>
<negated>N</negated>
<leftvalue>bank</leftvalue>
<function>IS NOT NULL</function>
<rightvalue/>
</condition>
</compare>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>538</xloc>
<yloc>136</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>Strings cut 2</name>
<type>StringCut</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<in_stream_name>acc_number</in_stream_name>
<out_stream_name>bank_by_account</out_stream_name>
<cut_from>0</cut_from>
<cut_to>4</cut_to>
</field>
<field>
<in_stream_name>acc_number</in_stream_name>
<out_stream_name>bank_by_iban</out_stream_name>
<cut_from>0</cut_from>
<cut_to>8</cut_to>
</field>
</fields>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>435</xloc>
<yloc>55</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>bank 2</name>
<type>DBLookup</type>
<description/>
<distribute>Y</distribute>
<copies>4</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>target</connection>
<cache>Y</cache>
<cache_load_all>Y</cache_load_all>
<cache_size>0</cache_size>
<lookup>
<schema>migration</schema>
<table>bank_mapping</table>
<orderby/>
<fail_on_multiple>N</fail_on_multiple>
<eat_row_on_failure>N</eat_row_on_failure>
<key>
<name>bank</name>
<field>source</field>
<condition>=</condition>
<name2/>
</key>
<value>
<name>target</name>
<rename>target_bank</rename>
<default/>
<type>Integer</type>
</value>
</lookup>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>639</xloc>
<yloc>133</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>bank_by_account 2</name>
<type>DBLookup</type>
<description/>
<distribute>Y</distribute>
<copies>4</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>target</connection>
<cache>N</cache>
<cache_load_all>N</cache_load_all>
<cache_size>0</cache_size>
<lookup>
<schema/>
<table>bank</table>
<orderby/>
<fail_on_multiple>N</fail_on_multiple>
<eat_row_on_failure>N</eat_row_on_failure>
<key>
<name>bank_by_account</name>
<field>bank_code</field>
<condition>=</condition>
<name2/>
</key>
<value>
<name>id</name>
<rename>target_bank</rename>
<default/>
<type>Integer</type>
</value>
</lookup>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>636</xloc>
<yloc>56</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>prep</name>
<type>ScriptValueMod</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<compatible>N</compatible>
<optimizationLevel>9</optimizationLevel>
<jsScripts> <jsScript> <jsScript_type>0</jsScript_type>
<jsScript_name>Script 1</jsScript_name>
<jsScript_script>&#47;&#47;Script here
if (substr(bank_by_iban, 0, 2) == &apos;ES&apos;) {
var bank_by_account = substr(bank_by_iban, 4, 4)
}
&#47;&#47;Script here
if (acc_number == null &amp;&amp; iban != null) {
var bank_by_account = substr(iban, 4, 4)
}
if (substr(bank_by_iban, 0, 2) == &apos;ES&apos;) {
var bank_by_account = substr(bank_by_iban, 4, 4)
}
</jsScript_script>
</jsScript> </jsScripts> <fields> <field> <name>bank_by_account</name>
<rename>bank_by_account</rename>
<type>String</type>
<length>-1</length>
<precision>-1</precision>
<replace>Y</replace>
</field> </fields> <cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>531</xloc>
<yloc>55</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
<name>Replace in string</name>
<type>ReplaceString</type>
<description/>
<distribute>Y</distribute>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<fields>
<field>
<in_stream_name>acc_number</in_stream_name>
<out_stream_name/>
<use_regex>no</use_regex>
<replace_string> </replace_string>
<replace_by_string/>
<replace_field_by_string/>
<whole_word>no</whole_word>
<case_sensitive>no</case_sensitive>
</field>
<field>
<in_stream_name>acc_number</in_stream_name>
<out_stream_name/>
<use_regex>no</use_regex>
<replace_string>-</replace_string>
<replace_by_string/>
<replace_field_by_string/>
<whole_word>no</whole_word>
<case_sensitive>no</case_sensitive>
</field>
</fields>
<cluster_schema/>
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
<xloc>445</xloc>
<yloc>136</yloc>
<draw>Y</draw>
</GUI>
</step>
<step_error_handling>
</step_error_handling>
<slave-step-copy-partition-distribution>
</slave-step-copy-partition-distribution>
<slave_transformation>N</slave_transformation>
</transformation>