diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-09-11 13:57:58 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-09-11 13:57:58 +0700 |
| commit | 04318fc87516d28d05aeb2d4dd77f32e6114e776 (patch) | |
| tree | 656d10550aaa7866f3a6daf1ff31052f9210e5ad /calculate_lob_category_v2_local.ktr | |
| parent | 1e46fb14c7b94b1716362870eec3431426d41cb2 (diff) | |
update calculate lob x category
Diffstat (limited to 'calculate_lob_category_v2_local.ktr')
| -rw-r--r-- | calculate_lob_category_v2_local.ktr | 5221 |
1 files changed, 5221 insertions, 0 deletions
diff --git a/calculate_lob_category_v2_local.ktr b/calculate_lob_category_v2_local.ktr new file mode 100644 index 0000000..c58f4fe --- /dev/null +++ b/calculate_lob_category_v2_local.ktr @@ -0,0 +1,5221 @@ +<?xml version="1.0" encoding="UTF-8"?> +<transformation> + <info> + <name>calculate_lob_category_v2_local</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> + <field> + <id>EXECUTING_SERVER</id> + <enabled>N</enabled> + <name>EXECUTING_SERVER</name> + </field> + <field> + <id>EXECUTING_USER</id> + <enabled>N</enabled> + <name>EXECUTING_USER</name> + </field> + <field> + <id>CLIENT</id> + <enabled>N</enabled> + <name>CLIENT</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> + <metrics-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>METRICS_DATE</id> + <enabled>Y</enabled> + <name>METRICS_DATE</name> + </field> + <field> + <id>METRICS_CODE</id> + <enabled>Y</enabled> + <name>METRICS_CODE</name> + </field> + <field> + <id>METRICS_DESCRIPTION</id> + <enabled>Y</enabled> + <name>METRICS_DESCRIPTION</name> + </field> + <field> + <id>METRICS_SUBJECT</id> + <enabled>Y</enabled> + <name>METRICS_SUBJECT</name> + </field> + <field> + <id>METRICS_TYPE</id> + <enabled>Y</enabled> + <name>METRICS_TYPE</name> + </field> + <field> + <id>METRICS_VALUE</id> + <enabled>Y</enabled> + <name>METRICS_VALUE</name> + </field> + </metrics-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>2024/09/10 16:33:08.253</created_date> + <modified_user>-</modified_user> + <modified_date>2024/09/10 16:33:08.253</modified_date> + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> + <is_key_private>N</is_key_private> + </info> + <notepads> + </notepads> + <connection> + <name>dw bi indoteknik</name> + <server>localhost</server> + <type>POSTGRESQL</type> + <access>Native</access> + <database>dw_bi_indoteknik</database> + <port>5703</port> + <username>metabase</username> + <password>Encrypted 2be98dfba28d7bf86853c9f58cfc4f889</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>5703</attribute> + </attribute> + <attribute> + <code>PRESERVE_RESERVED_WORD_CASE</code> + <attribute>Y</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>SUPPORTS_TIMESTAMP_DATA_TYPE</code> + <attribute>Y</attribute> + </attribute> + <attribute> + <code>USE_POOLING</code> + <attribute>N</attribute> + </attribute> + </attributes> + </connection> + <order> + <hop> + <from>Calculator</from> + <to>Select values 2</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>Select values</from> + <to>Calculator</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>acc</from> + <to>acc_hore</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>acc_fy</from> + <to>acc</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>acc_hore</from> + <to>hore</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>acc_ly</from> + <to>office_acc</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>agri</from> + <to>agri_clean</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>agri_clean</from> + <to>clean</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>agri_fy</from> + <to>agri</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>agri_ly</from> + <to>machine_agri</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>chemic</from> + <to>chemic_meas</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>chemic_fy</from> + <to>chemic</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>chemic_ly</from> + <to>clean_chemic</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>chemic_meas</from> + <to>meas</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>clean</from> + <to>clean_chemic</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>clean_chemic</from> + <to>chemic</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>clean_fy</from> + <to>clean</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>clean_ly</from> + <to>agri_clean</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>elec</from> + <to>elec_log</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>elec_fy</from> + <to>elec</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>elec_log</from> + <to>log</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>elec_ly</from> + <to>meas_elec</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>hore</from> + <to>Select values</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>hore_fy</from> + <to>hore</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>hore_ly</from> + <to>acc_hore</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>log</from> + <to>log_office</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>log_fy</from> + <to>log</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>log_ly</from> + <to>elec_log</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>log_office</from> + <to>office</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>machine</from> + <to>machine_agri</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>machine_agri</from> + <to>agri</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>machine_fy</from> + <to>machine</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>machine_ly</from> + <to>tools_machine</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>meas</from> + <to>meas_elec</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>meas_elec</from> + <to>elec</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>meas_fy</from> + <to>meas</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>meas_ly</from> + <to>chemic_meas</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>office</from> + <to>office_acc</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>office_acc</from> + <to>acc</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>office_fy</from> + <to>office</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>office_ly</from> + <to>log_office</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>safety</from> + <to>safety_tools</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>safety_fy</from> + <to>safety</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>safety_ly</from> + <to>safety</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>safety_tools</from> + <to>tools</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>tools</from> + <to>tools_machine</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>tools_fy</from> + <to>tools</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>tools_ly</from> + <to>safety_tools</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>tools_machine</from> + <to>machine</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>Select values 2</from> + <to>Insert / update</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>Block this step until steps finish</from> + <to>Execute SQL script</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>Insert / update</from> + <to>Delay row</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>Delay row</from> + <to>marker</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>Dummy (do nothing)</from> + <to>Block this step until steps finish</to> + <enabled>Y</enabled> + </hop> + </order> + <step> + <name>Block this step until steps finish</name> + <type>BlockUntilStepsFinish</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <steps> + <step> + <name>marker</name> + <CopyNr>0</CopyNr> + </step> + </steps> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1104</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>Calculator</name> + <type>Calculator</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <failIfNoFile>Y</failIfNoFile> + <calculation> + <field_name>safety_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>safety_fy</field_a> + <field_b>safety_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>tools_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>tools_fy</field_a> + <field_b>tools_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>machine_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>machine_fy</field_a> + <field_b>machine_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>agri_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>agri_fy</field_a> + <field_b>agri_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>clean_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>clean_fy</field_a> + <field_b>clean_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>chemic_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>chemic_fy</field_a> + <field_b>chemic_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>meas_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>meas_fy</field_a> + <field_b>meas_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>elec_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>elec_fy</field_a> + <field_b>elec_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>log_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>log_fy</field_a> + <field_b>log_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>office_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>office_fy</field_a> + <field_b>office_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>acc_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>acc_fy</field_a> + <field_b>acc_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <calculation> + <field_name>hore_g</field_name> + <calc_type>PERCENT_1</calc_type> + <field_a>hore_fy</field_a> + <field_b>hore_ly</field_b> + <field_c/> + <value_type>None</value_type> + <value_length>-1</value_length> + <value_precision>-1</value_precision> + <remove>N</remove> + <conversion_mask/> + <decimal_symbol/> + <grouping_symbol/> + <currency_symbol/> + </calculation> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>224</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>Execute SQL script</name> + <type>ExecSQL</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <execute_each_row>Y</execute_each_row> + <single_statement>N</single_statement> + <replace_variables>N</replace_variables> + <quoteString>N</quoteString> + <sql>update t_lob_category_value_v2 set safety_ly = 0 where safety_ly is null; +update t_lob_category_value_v2 set safety_fy = 0 where safety_fy is null; +update t_lob_category_value_v2 set safety_g = 0 where safety_g is null; +update t_lob_category_value_v2 set tools_ly = 0 where tools_ly is null; +update t_lob_category_value_v2 set tools_fy = 0 where tools_fy is null; +update t_lob_category_value_v2 set tools_g = 0 where tools_g is null; +update t_lob_category_value_v2 set machine_ly = 0 where machine_ly is null; +update t_lob_category_value_v2 set machine_fy = 0 where machine_fy is null; +update t_lob_category_value_v2 set machine_g = 0 where machine_g is null; +update t_lob_category_value_v2 set agri_ly = 0 where agri_ly is null; +update t_lob_category_value_v2 set agri_fy = 0 where agri_fy is null; +update t_lob_category_value_v2 set agri_g = 0 where agri_g is null; +update t_lob_category_value_v2 set clean_ly = 0 where clean_ly is null; +update t_lob_category_value_v2 set clean_fy = 0 where clean_fy is null; +update t_lob_category_value_v2 set clean_g = 0 where clean_g is null; +update t_lob_category_value_v2 set chemic_ly = 0 where chemic_ly is null; +update t_lob_category_value_v2 set chemic_fy = 0 where chemic_fy is null; +update t_lob_category_value_v2 set chemic_g = 0 where chemic_g is null; +update t_lob_category_value_v2 set meas_ly = 0 where meas_ly is null; +update t_lob_category_value_v2 set meas_fy = 0 where meas_fy is null; +update t_lob_category_value_v2 set meas_g = 0 where meas_g is null; +update t_lob_category_value_v2 set elec_ly = 0 where elec_ly is null; +update t_lob_category_value_v2 set elec_fy = 0 where elec_fy is null; +update t_lob_category_value_v2 set elec_g = 0 where elec_g is null; +update t_lob_category_value_v2 set log_ly = 0 where log_ly is null; +update t_lob_category_value_v2 set log_fy = 0 where log_fy is null; +update t_lob_category_value_v2 set log_g = 0 where log_g is null; +update t_lob_category_value_v2 set office_ly = 0 where office_ly is null; +update t_lob_category_value_v2 set office_fy = 0 where office_fy is null; +update t_lob_category_value_v2 set office_g = 0 where office_g is null; +update t_lob_category_value_v2 set acc_ly = 0 where acc_ly is null; +update t_lob_category_value_v2 set acc_fy = 0 where acc_fy is null; +update t_lob_category_value_v2 set acc_g = 0 where acc_g is null; +update t_lob_category_value_v2 set hore_ly = 0 where hore_ly is null; +update t_lob_category_value_v2 set hore_fy = 0 where hore_fy is null; +update t_lob_category_value_v2 set hore_g = 0 where hore_g is null; +</sql> + <set_params>N</set_params> + <insert_field/> + <update_field/> + <delete_field/> + <read_field/> + <arguments> + </arguments> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>912</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>Insert / update</name> + <type>InsertUpdate</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <commit>100</commit> + <update_bypassed>N</update_bypassed> + <lookup> + <schema>public</schema> + <table>t_lob_category_value_v2</table> + <key> + <name>id</name> + <field>id</field> + <condition>=</condition> + <name2/> + </key> + <value> + <name>id</name> + <rename>id</rename> + <update>N</update> + </value> + <value> + <name>industry</name> + <rename>industry</rename> + <update>Y</update> + </value> + <value> + <name>safety_ly</name> + <rename>safety_ly</rename> + <update>Y</update> + </value> + <value> + <name>safety_fy</name> + <rename>safety_fy</rename> + <update>Y</update> + </value> + <value> + <name>tools_ly</name> + <rename>tools_ly</rename> + <update>Y</update> + </value> + <value> + <name>tools_fy</name> + <rename>tools_fy</rename> + <update>Y</update> + </value> + <value> + <name>machine_ly</name> + <rename>machine_ly</rename> + <update>Y</update> + </value> + <value> + <name>machine_fy</name> + <rename>machine_fy</rename> + <update>Y</update> + </value> + <value> + <name>agri_ly</name> + <rename>agri_ly</rename> + <update>Y</update> + </value> + <value> + <name>agri_fy</name> + <rename>agri_fy</rename> + <update>Y</update> + </value> + <value> + <name>clean_ly</name> + <rename>clean_ly</rename> + <update>Y</update> + </value> + <value> + <name>clean_fy</name> + <rename>clean_fy</rename> + <update>Y</update> + </value> + <value> + <name>chemic_ly</name> + <rename>chemic_ly</rename> + <update>Y</update> + </value> + <value> + <name>chemic_fy</name> + <rename>chemic_fy</rename> + <update>Y</update> + </value> + <value> + <name>meas_ly</name> + <rename>meas_ly</rename> + <update>Y</update> + </value> + <value> + <name>meas_fy</name> + <rename>meas_fy</rename> + <update>Y</update> + </value> + <value> + <name>elec_ly</name> + <rename>elec_ly</rename> + <update>Y</update> + </value> + <value> + <name>elec_fy</name> + <rename>elec_fy</rename> + <update>Y</update> + </value> + <value> + <name>log_ly</name> + <rename>log_ly</rename> + <update>Y</update> + </value> + <value> + <name>log_fy</name> + <rename>log_fy</rename> + <update>Y</update> + </value> + <value> + <name>office_ly</name> + <rename>office_ly</rename> + <update>Y</update> + </value> + <value> + <name>office_fy</name> + <rename>office_fy</rename> + <update>Y</update> + </value> + <value> + <name>acc_ly</name> + <rename>acc_ly</rename> + <update>Y</update> + </value> + <value> + <name>acc_fy</name> + <rename>acc_fy</rename> + <update>Y</update> + </value> + <value> + <name>hore_ly</name> + <rename>hore_ly</rename> + <update>Y</update> + </value> + <value> + <name>hore_fy</name> + <rename>hore_fy</rename> + <update>Y</update> + </value> + <value> + <name>safety_g</name> + <rename>safety_g</rename> + <update>Y</update> + </value> + <value> + <name>tools_g</name> + <rename>tools_g</rename> + <update>Y</update> + </value> + <value> + <name>machine_g</name> + <rename>machine_g</rename> + <update>Y</update> + </value> + <value> + <name>agri_g</name> + <rename>agri_g</rename> + <update>Y</update> + </value> + <value> + <name>clean_g</name> + <rename>clean_g</rename> + <update>Y</update> + </value> + <value> + <name>chemic_g</name> + <rename>chemic_g</rename> + <update>Y</update> + </value> + <value> + <name>meas_g</name> + <rename>meas_g</rename> + <update>Y</update> + </value> + <value> + <name>elec_g</name> + <rename>elec_g</rename> + <update>Y</update> + </value> + <value> + <name>log_g</name> + <rename>log_g</rename> + <update>Y</update> + </value> + <value> + <name>office_g</name> + <rename>office_g</rename> + <update>Y</update> + </value> + <value> + <name>acc_g</name> + <rename>acc_g</rename> + <update>Y</update> + </value> + <value> + <name>hore_g</name> + <rename>hore_g</rename> + <update>Y</update> + </value> + </lookup> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>496</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>Select values</name> + <type>SelectValues</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <fields> + <field> + <name>id</name> + </field> + <field> + <name>industry</name> + </field> + <field> + <name>safety_ly</name> + </field> + <field> + <name>safety_fy</name> + </field> + <field> + <name>tools_ly</name> + </field> + <field> + <name>tools_fy</name> + </field> + <field> + <name>machine_ly</name> + </field> + <field> + <name>machine_fy</name> + </field> + <field> + <name>agri_ly</name> + </field> + <field> + <name>agri_fy</name> + </field> + <field> + <name>clean_ly</name> + </field> + <field> + <name>clean_fy</name> + </field> + <field> + <name>chemic_ly</name> + </field> + <field> + <name>chemic_fy</name> + </field> + <field> + <name>meas_ly</name> + </field> + <field> + <name>meas_fy</name> + </field> + <field> + <name>elec_ly</name> + </field> + <field> + <name>elec_fy</name> + </field> + <field> + <name>log_ly</name> + </field> + <field> + <name>log_fy</name> + </field> + <field> + <name>office_ly</name> + </field> + <field> + <name>office_fy</name> + </field> + <field> + <name>acc_ly</name> + </field> + <field> + <name>acc_fy</name> + </field> + <field> + <name>hore_ly</name> + </field> + <field> + <name>hore_fy</name> + </field> + <select_unspecified>N</select_unspecified> + </fields> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>112</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>Select values 2</name> + <type>SelectValues</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <fields> + <field> + <name>id</name> + </field> + <field> + <name>industry</name> + </field> + <field> + <name>safety_ly</name> + </field> + <field> + <name>safety_fy</name> + </field> + <field> + <name>tools_ly</name> + </field> + <field> + <name>tools_fy</name> + </field> + <field> + <name>machine_ly</name> + </field> + <field> + <name>machine_fy</name> + </field> + <field> + <name>agri_ly</name> + </field> + <field> + <name>agri_fy</name> + </field> + <field> + <name>clean_ly</name> + </field> + <field> + <name>clean_fy</name> + </field> + <field> + <name>chemic_ly</name> + </field> + <field> + <name>chemic_fy</name> + </field> + <field> + <name>meas_ly</name> + </field> + <field> + <name>meas_fy</name> + </field> + <field> + <name>elec_ly</name> + </field> + <field> + <name>elec_fy</name> + </field> + <field> + <name>log_ly</name> + </field> + <field> + <name>log_fy</name> + </field> + <field> + <name>office_ly</name> + </field> + <field> + <name>office_fy</name> + </field> + <field> + <name>acc_ly</name> + </field> + <field> + <name>acc_fy</name> + </field> + <field> + <name>hore_ly</name> + </field> + <field> + <name>hore_fy</name> + </field> + <field> + <name>safety_g</name> + </field> + <field> + <name>tools_g</name> + </field> + <field> + <name>machine_g</name> + </field> + <field> + <name>agri_g</name> + </field> + <field> + <name>clean_g</name> + </field> + <field> + <name>chemic_g</name> + </field> + <field> + <name>meas_g</name> + </field> + <field> + <name>elec_g</name> + </field> + <field> + <name>log_g</name> + </field> + <field> + <name>office_g</name> + </field> + <field> + <name>acc_g</name> + </field> + <field> + <name>hore_g</name> + </field> + <select_unspecified>N</select_unspecified> + </fields> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>336</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>acc</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>office_acc</step1> + <step2>acc_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>320</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>acc_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2445 and rpi2.id = rpi.id) as acc_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>acc_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>acc_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>acc_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>acc_fy</origin> + <comments>acc_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>320</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>acc_hore</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>acc</step1> + <step2>hore_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>224</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>acc_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2445 and rpi2.id = rpi.id) as acc_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>acc_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>acc_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>acc_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>acc_ly</origin> + <comments>acc_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>416</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>agri</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>machine_agri</step1> + <step2>agri_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>816</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>agri_clean</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>agri</step1> + <step2>clean_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>912</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>agri_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2222 and rpi2.id = rpi.id) as agri_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>agri_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>agri_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>agri_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>agri_fy</origin> + <comments>agri_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>912</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>agri_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2222 and rpi2.id = rpi.id) as agri_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>agri_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>agri_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>agri_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>agri_ly</origin> + <comments>agri_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>816</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>chemic</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>clean_chemic</step1> + <step2>chemic_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1200</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>chemic_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2273 and rpi2.id = rpi.id) as chemic_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>chemic_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>chemic_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>chemic_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>chemic_fy</origin> + <comments>chemic_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1296</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>chemic_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2273 and rpi2.id = rpi.id) as chemic_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>chemic_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>chemic_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>chemic_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>chemic_ly</origin> + <comments>chemic_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1200</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>chemic_meas</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>chemic</step1> + <step2>meas_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1200</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>clean</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>agri_clean</step1> + <step2>clean_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1008</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>clean_chemic</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>clean</step1> + <step2>chemic_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1104</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>clean_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2246 and rpi2.id = rpi.id) as clean_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>clean_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>clean_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>clean_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>clean_fy</origin> + <comments>clean_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1104</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>clean_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2246 and rpi2.id = rpi.id) as clean_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>clean_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>clean_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>clean_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>clean_ly</origin> + <comments>clean_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1008</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>elec</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>meas_elec</step1> + <step2>elec_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>896</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>elec_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2354 and rpi2.id = rpi.id) as elec_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>elec_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>elec_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>elec_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>elec_fy</origin> + <comments>elec_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>896</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>elec_log</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>elec</step1> + <step2>log_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>800</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>elec_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2354 and rpi2.id = rpi.id) as elec_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>elec_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>elec_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>elec_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>elec_ly</origin> + <comments>elec_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>992</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>hore</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>acc_hore</step1> + <step2>hore_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>112</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>hore_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2477 and rpi2.id = rpi.id) as hore_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>hore_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>hore_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>hore_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>hore_fy</origin> + <comments>hore_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>112</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>hore_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2477 and rpi2.id = rpi.id) as hore_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>hore_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>hore_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>hore_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>hore_ly</origin> + <comments>hore_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>224</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>log</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>elec_log</step1> + <step2>log_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>704</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>log_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2394 and rpi2.id = rpi.id) as log_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>log_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>log_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>log_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>log_fy</origin> + <comments>log_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>704</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>log_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2394 and rpi2.id = rpi.id) as log_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>log_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>log_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>log_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>log_ly</origin> + <comments>log_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>800</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>log_office</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>log</step1> + <step2>office_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>608</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>machine</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>tools_machine</step1> + <step2>machine_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>576</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>machine_agri</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>machine</step1> + <step2>agri_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>704</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>machine_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2161 and rpi2.id = rpi.id) as machine_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>machine_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>machine_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>machine_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>machine_fy</origin> + <comments>machine_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>704</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>machine_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2161 and rpi2.id = rpi.id) as machine_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>machine_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>machine_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>machine_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>machine_ly</origin> + <comments>machine_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>576</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>meas</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>chemic_meas</step1> + <step2>meas_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1104</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>meas_elec</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>meas</step1> + <step2>elec_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>992</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>meas_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2315 and rpi2.id = rpi.id) as meas_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>meas_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>meas_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>meas_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>meas_fy</origin> + <comments>meas_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1104</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>meas_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2315 and rpi2.id = rpi.id) as meas_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>meas_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>meas_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>meas_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>meas_ly</origin> + <comments>meas_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1200</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>office</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>log_office</step1> + <step2>office_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>512</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>office_acc</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>office</step1> + <step2>acc_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>416</xloc> + <yloc>240</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>office_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2420 and rpi2.id = rpi.id) as office_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>office_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>office_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>office_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>office_fy</origin> + <comments>office_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>512</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>office_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2420 and rpi2.id = rpi.id) as office_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>office_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>office_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>office_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>office_ly</origin> + <comments>office_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>608</xloc> + <yloc>336</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>safety</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>safety_ly</step1> + <step2>safety_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>96</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>safety_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2040 and rpi2.id = rpi.id) as safety_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>safety_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>safety_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>safety_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>safety_fy</origin> + <comments>safety_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>224</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>safety_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2040 and rpi2.id = rpi.id) as safety_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>safety_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>safety_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>safety_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>safety_ly</origin> + <comments>safety_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>96</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>safety_tools</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>safety</step1> + <step2>tools_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>224</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>tools</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>safety_tools</step1> + <step2>tools_fy</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>352</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>tools_fy</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_current_year()::date and get_now()::date +and ppc.id = 2097 and rpi2.id = rpi.id) as tools_fy +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>tools_fy</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>tools_fy</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>tools_fy</name> + <length>-1</length> + <precision>-1</precision> + <origin>tools_fy</origin> + <comments>tools_fy</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>464</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>tools_ly</name> + <type>TableInput</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik</connection> + <sql>select rpi.id, coalesce(rpi.name, 'Unknown') as industry, +(select sum(aml.price_subtotal) +from account_move am +join res_partner rp on rp.id = am.partner_id +join account_move_line aml on aml.move_id = am.id +join product p on p.product_id = aml.product_id +left join res_partner_industry rpi2 on rpi2.id = rp.industry_id +left join product_public_category ppc on ppc.id = p.parent_category_id +where am.move_type = 'out_invoice' +and am.state = 'posted' +and am."date" between get_first_day_last_year()::date and get_now_last_year()::date +and ppc.id = 2097 and rpi2.id = rpi.id) as tools_ly +from res_partner_industry rpi +order by rpi.id</sql> + <limit>0</limit> + <lookup/> + <execute_each_row>N</execute_each_row> + <variables_active>N</variables_active> + <lazy_conversion_active>N</lazy_conversion_active> + <cached_row_meta_active>N</cached_row_meta_active> + <row-meta> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>id</name> + <length>9</length> + <precision>0</precision> + <origin>tools_ly</origin> + <comments>id</comments> + <conversion_Mask>####0;-####0</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>String</type> + <storagetype>normal</storagetype> + <name>industry</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>tools_ly</origin> + <comments>industry</comments> + <conversion_Mask/> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol>,</grouping_symbol> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + <value-meta> + <type>BigNumber</type> + <storagetype>normal</storagetype> + <name>tools_ly</name> + <length>-1</length> + <precision>-1</precision> + <origin>tools_ly</origin> + <comments>tools_ly</comments> + <conversion_Mask>######0.0###################;-######0.0###################</conversion_Mask> + <decimal_symbol>.</decimal_symbol> + <grouping_symbol/> + <currency_symbol/> + <trim_type>none</trim_type> + <case_insensitive>N</case_insensitive> + <collator_disabled>Y</collator_disabled> + <collator_strength>0</collator_strength> + <sort_descending>N</sort_descending> + <output_padding>N</output_padding> + <date_format_lenient>N</date_format_lenient> + <date_format_locale>en_ID</date_format_locale> + <date_format_timezone>Asia/Bangkok</date_format_timezone> + <lenient_string_to_number>N</lenient_string_to_number> + </value-meta> + </row-meta> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>352</xloc> + <yloc>64</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>tools_machine</name> + <type>MergeJoin</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <join_type>LEFT OUTER</join_type> + <step1>tools</step1> + <step2>machine_ly</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>id</key> + </keys_2> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>464</xloc> + <yloc>160</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>marker</name> + <type>Dummy</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>784</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>Delay row</name> + <type>Delay</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <timeout>10</timeout> + <scaletime>milliseconds</scaletime> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>640</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>Dummy (do nothing)</name> + <type>Dummy</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>1280</xloc> + <yloc>432</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> + <attributes/> +</transformation> |
