811 lines
29 KiB
XML
811 lines
29 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<transformation>
|
|
<info>
|
|
<name>account_journal</name>
|
|
<description/>
|
|
<extended_description/>
|
|
<trans_version/>
|
|
<trans_type>Normal</trans_type>
|
|
<directory>/</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>2012/12/22 19:55:46.266</created_date>
|
|
<modified_user>-</modified_user>
|
|
<modified_date>2012/12/22 19:55:46.266</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>Table input</from><to>source</to><enabled>N</enabled> </hop> <hop> <from>create_uid</from><to>write_uid</to><enabled>Y</enabled> </hop> <hop> <from>rename_id</from><to>create_uid</to><enabled>Y</enabled> </hop> <hop> <from>source</from><to>rename_id</to><enabled>Y</enabled> </hop> <hop> <from>Select values</from><to>Table output</to><enabled>N</enabled> </hop> <hop> <from>Select values</from><to>target</to><enabled>Y</enabled> </hop> <hop> <from>Select values 2</from><to>Table output</to><enabled>N</enabled> </hop> <hop> <from>target</from><to>Select values 2</to><enabled>N</enabled> </hop> <hop> <from>write_uid</from><to>journal_type</to><enabled>Y</enabled> </hop> <hop> <from>target_account</from><to>union 2</to><enabled>Y</enabled> </hop> <hop> <from>union 2</from><to>exist</to><enabled>Y</enabled> </hop> <hop> <from>union 2</from><to>not_exist</to><enabled>Y</enabled> </hop> <hop> <from>journal_type</from><to>target_account</to><enabled>Y</enabled> </hop> <hop> <from>prep</from><to>union</to><enabled>Y</enabled> </hop> <hop> <from>union</from><to>mapping</to><enabled>Y</enabled> </hop> <hop> <from>exist</from><to>prep</to><enabled>Y</enabled> </hop> <hop> <from>account_journal_id</from><to>prep2</to><enabled>Y</enabled> </hop> <hop> <from>account_journal_id</from><to>wait</to><enabled>Y</enabled> </hop> <hop> <from>not_exist</from><to>account_journal_id</to><enabled>Y</enabled> </hop> <hop> <from>prep2</from><to>union</to><enabled>Y</enabled> </hop> <hop> <from>wait</from><to>Add constants</to><enabled>Y</enabled> </hop> <hop> <from>Add constants</from><to>Select values</to><enabled>Y</enabled> </hop> </order>
|
|
<step>
|
|
<name>Select values</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>N</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> <meta> <name>account_journal_id</name>
|
|
<rename>id</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> <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>centralisation</name>
|
|
<rename>centralised</rename>
|
|
<type>Boolean</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>1037</xloc>
|
|
<yloc>200</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>Select values 2</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>N</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields> <field> <name>id</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>create_uid</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>create_date</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>write_date</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>write_uid</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>default_debit_account_id</name>
|
|
<rename>code</rename>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>active</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>update_posted</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>name</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>type</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>centralised</name>
|
|
<rename/>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <select_unspecified>N</select_unspecified>
|
|
</fields> <cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>1199</xloc>
|
|
<yloc>129</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>Table input</name>
|
|
<type>TableInput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>source</connection>
|
|
<sql>SELECT * FROM account_journal;</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>60</xloc>
|
|
<yloc>116</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>Table output</name>
|
|
<type>TableOutput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>target</connection>
|
|
<schema/>
|
|
<table>account_journal</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>1202</xloc>
|
|
<yloc>222</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>account_journal_id</name>
|
|
<type>Sequence</type>
|
|
<description/>
|
|
<distribute>N</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<valuename>account_journal_id</valuename>
|
|
<use_database>Y</use_database>
|
|
<connection>target</connection>
|
|
<schema/>
|
|
<seqname>account_journal_id_seq</seqname>
|
|
<use_counter>N</use_counter>
|
|
<counter_name/>
|
|
<start_at>1</start_at>
|
|
<increment_by>1</increment_by>
|
|
<max_value>999999999</max_value>
|
|
<cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>741</xloc>
|
|
<yloc>202</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>286</xloc>
|
|
<yloc>111</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>exist</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>
|
|
<leftvalue>target_account_journal_id</leftvalue>
|
|
<function>IS NOT NULL</function>
|
|
<rightvalue/>
|
|
</condition>
|
|
</compare>
|
|
<cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>639</xloc>
|
|
<yloc>33</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>journal_type</name>
|
|
<type>ValueMapper</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<field_to_use>type</field_to_use>
|
|
<target_field/>
|
|
<non_match_default>general</non_match_default>
|
|
<fields>
|
|
<field>
|
|
<source_value>purchase</source_value>
|
|
<target_value>expense</target_value>
|
|
</field>
|
|
<field>
|
|
<source_value>cash</source_value>
|
|
<target_value>cash</target_value>
|
|
</field>
|
|
<field>
|
|
<source_value>general</source_value>
|
|
<target_value>general</target_value>
|
|
</field>
|
|
<field>
|
|
<source_value>sale</source_value>
|
|
<target_value>revenue</target_value>
|
|
</field>
|
|
</fields>
|
|
<cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>473</xloc>
|
|
<yloc>112</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>mapping</name>
|
|
<type>TableOutput</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<connection>target</connection>
|
|
<schema>migration</schema>
|
|
<table>account_journal_mapping</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>923</xloc>
|
|
<yloc>29</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>not_exist</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>
|
|
<leftvalue>target_account_journal_id</leftvalue>
|
|
<function>IS NULL</function>
|
|
<rightvalue/>
|
|
</condition>
|
|
</compare>
|
|
<cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>639</xloc>
|
|
<yloc>200</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>prep</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields> <field> <name>openerp_id</name>
|
|
<rename>source</rename>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>target_account_journal_id</name>
|
|
<rename>target</rename>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <select_unspecified>N</select_unspecified>
|
|
</fields> <cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>731</xloc>
|
|
<yloc>32</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>prep2</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields> <field> <name>openerp_id</name>
|
|
<rename>source</rename>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <field> <name>account_journal_id</name>
|
|
<rename>target</rename>
|
|
<length>-2</length>
|
|
<precision>-2</precision>
|
|
</field> <select_unspecified>N</select_unspecified>
|
|
</fields> <cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>737</xloc>
|
|
<yloc>111</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>rename_id</name>
|
|
<type>SelectValues</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<fields> <select_unspecified>N</select_unspecified>
|
|
<meta> <name>id</name>
|
|
<rename>openerp_id</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>203</xloc>
|
|
<yloc>113</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>136</xloc>
|
|
<yloc>116</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>1100</xloc>
|
|
<yloc>153</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>target_account</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/>
|
|
<table>account_journal</table>
|
|
<orderby/>
|
|
<fail_on_multiple>N</fail_on_multiple>
|
|
<eat_row_on_failure>N</eat_row_on_failure>
|
|
<key>
|
|
<name>code</name>
|
|
<field>code</field>
|
|
<condition>=</condition>
|
|
<name2/>
|
|
</key>
|
|
<value>
|
|
<name>id</name>
|
|
<rename>target_account_journal_id</rename>
|
|
<default/>
|
|
<type>Integer</type>
|
|
</value>
|
|
</lookup>
|
|
<cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>562</xloc>
|
|
<yloc>109</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>union</name>
|
|
<type>Dummy</type>
|
|
<description/>
|
|
<distribute>N</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>807</xloc>
|
|
<yloc>27</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>union 2</name>
|
|
<type>Dummy</type>
|
|
<description/>
|
|
<distribute>N</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>637</xloc>
|
|
<yloc>111</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<step>
|
|
<name>wait</name>
|
|
<type>BlockUntilStepsFinish</type>
|
|
<description/>
|
|
<distribute>Y</distribute>
|
|
<copies>1</copies>
|
|
<partitioning>
|
|
<method>none</method>
|
|
<schema_name/>
|
|
</partitioning>
|
|
<steps>
|
|
<step>
|
|
<name>mapping</name>
|
|
<CopyNr>0</CopyNr>
|
|
</step>
|
|
</steps>
|
|
<cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>841</xloc>
|
|
<yloc>197</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>369</xloc>
|
|
<yloc>110</yloc>
|
|
<draw>Y</draw>
|
|
</GUI>
|
|
</step>
|
|
|
|
<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>active</name>
|
|
<type>Boolean</type>
|
|
<format/>
|
|
<currency/>
|
|
<decimal/>
|
|
<group/>
|
|
<nullif>True</nullif>
|
|
<length>-1</length>
|
|
<precision>-1</precision>
|
|
</field>
|
|
</fields>
|
|
<cluster_schema/>
|
|
<remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
|
|
<xloc>927</xloc>
|
|
<yloc>198</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>
|