diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-09-10 14:10:37 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-09-10 14:10:37 +0700 |
| commit | cb7ba8989c44850768fe36d163ce1c66469ef310 (patch) | |
| tree | 029ca23ca9c7205905ea1487577a92df0ecfcb51 /calculate_pareto_status.ktr | |
| parent | 6346bf568b0469c15f165b868130b3d786f23703 (diff) | |
test
Diffstat (limited to 'calculate_pareto_status.ktr')
| -rw-r--r-- | calculate_pareto_status.ktr | 722 |
1 files changed, 358 insertions, 364 deletions
diff --git a/calculate_pareto_status.ktr b/calculate_pareto_status.ktr index 6f09421..36745cb 100644 --- a/calculate_pareto_status.ktr +++ b/calculate_pareto_status.ktr @@ -430,7 +430,7 @@ <created_date>2024/09/09 13:54:25.692</created_date> <modified_user>-</modified_user> <modified_date>2024/09/09 13:54:25.692</modified_date> - <key_for_session_key/> + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> <is_key_private>N</is_key_private> </info> <notepads> @@ -630,8 +630,8 @@ </hop> </order> <step> - <name>partner</name> - <type>TableInput</type> + <name>Append streams</name> + <type>Append</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -640,65 +640,8 @@ <method>none</method> <schema_name/> </partitioning> - <connection>dw bi indoteknik</connection> - <sql>select id, name -from res_partner -where pareto_status = 'NP' -order by 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>Table input</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>name</name> - <length>2147483647</length> - <precision>-1</precision> - <origin>Table input</origin> - <comments>name</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> - </row-meta> + <head_name>pareto repeating</head_name> + <tail_name>potensi pareto repeating</tail_name> <attributes/> <cluster_schema/> <remotesteps> @@ -708,14 +651,14 @@ order by id</sql> </output> </remotesteps> <GUI> - <xloc>160</xloc> - <yloc>208</yloc> + <xloc>816</xloc> + <yloc>320</yloc> <draw>Y</draw> </GUI> </step> <step> - <name>data</name> - <type>TableInput</type> + <name>Append streams 2</name> + <type>Append</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -724,92 +667,8 @@ order by id</sql> <method>none</method> <schema_name/> </partitioning> - <connection>dw bi indoteknik</connection> - <sql>select am.partner_id, sum(coalesce(am.amount_untaxed, 0)) as value, count(am."name") as trx -from account_move am -where 1=1 -and am.move_type = 'out_invoice' -and am.state = 'posted' -and am.date >= (now() - '365 days'::interval) -group by am.partner_id -order by am.partner_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>partner_id</name> - <length>9</length> - <precision>0</precision> - <origin>data</origin> - <comments>partner_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>BigNumber</type> - <storagetype>normal</storagetype> - <name>value</name> - <length>-1</length> - <precision>-1</precision> - <origin>data</origin> - <comments>value</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> - <value-meta> - <type>Integer</type> - <storagetype>normal</storagetype> - <name>trx</name> - <length>15</length> - <precision>0</precision> - <origin>data</origin> - <comments>trx</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> - </row-meta> + <head_name>Append streams</head_name> + <tail_name>pareto non repeating</tail_name> <attributes/> <cluster_schema/> <remotesteps> @@ -819,14 +678,14 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>288</xloc> - <yloc>96</yloc> + <xloc>816</xloc> + <yloc>432</yloc> <draw>Y</draw> </GUI> </step> <step> - <name>Merge join</name> - <type>MergeJoin</type> + <name>Append streams 3</name> + <type>Append</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -835,15 +694,8 @@ order by am.partner_id</sql> <method>none</method> <schema_name/> </partitioning> - <join_type>INNER</join_type> - <step1>partner</step1> - <step2>data</step2> - <keys_1> - <key>id</key> - </keys_1> - <keys_2> - <key>partner_id</key> - </keys_2> + <head_name>Append streams 2</head_name> + <tail_name>non pareto</tail_name> <attributes/> <cluster_schema/> <remotesteps> @@ -853,8 +705,8 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>288</xloc> - <yloc>208</yloc> + <xloc>816</xloc> + <yloc>544</yloc> <draw>Y</draw> </GUI> </step> @@ -924,45 +776,6 @@ order by am.partner_id</sql> </GUI> </step> <step> - <name>pareto repeating</name> - <type>Constant</type> - <description/> - <distribute>Y</distribute> - <custom_distribution/> - <copies>1</copies> - <partitioning> - <method>none</method> - <schema_name/> - </partitioning> - <fields> - <field> - <name>status</name> - <type>String</type> - <format/> - <currency/> - <decimal/> - <group/> - <nullif>PR</nullif> - <length>-1</length> - <precision>-1</precision> - <set_empty_string>N</set_empty_string> - </field> - </fields> - <attributes/> - <cluster_schema/> - <remotesteps> - <input> - </input> - <output> - </output> - </remotesteps> - <GUI> - <xloc>608</xloc> - <yloc>208</yloc> - <draw>Y</draw> - </GUI> - </step> - <step> <name>Filter rows 2</name> <type>FilterRows</type> <description/> @@ -1044,45 +857,6 @@ order by am.partner_id</sql> </GUI> </step> <step> - <name>potensi pareto repeating</name> - <type>Constant</type> - <description/> - <distribute>Y</distribute> - <custom_distribution/> - <copies>1</copies> - <partitioning> - <method>none</method> - <schema_name/> - </partitioning> - <fields> - <field> - <name>status</name> - <type>String</type> - <format/> - <currency/> - <decimal/> - <group/> - <nullif>PPR</nullif> - <length>-1</length> - <precision>-1</precision> - <set_empty_string>N</set_empty_string> - </field> - </fields> - <attributes/> - <cluster_schema/> - <remotesteps> - <input> - </input> - <output> - </output> - </remotesteps> - <GUI> - <xloc>608</xloc> - <yloc>320</yloc> - <draw>Y</draw> - </GUI> - </step> - <step> <name>Filter rows 3</name> <type>FilterRows</type> <description/> @@ -1148,8 +922,8 @@ order by am.partner_id</sql> </GUI> </step> <step> - <name>pareto non repeating</name> - <type>Constant</type> + <name>Merge join</name> + <type>MergeJoin</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -1158,20 +932,15 @@ order by am.partner_id</sql> <method>none</method> <schema_name/> </partitioning> - <fields> - <field> - <name>status</name> - <type>String</type> - <format/> - <currency/> - <decimal/> - <group/> - <nullif>PNR</nullif> - <length>-1</length> - <precision>-1</precision> - <set_empty_string>N</set_empty_string> - </field> - </fields> + <join_type>INNER</join_type> + <step1>partner</step1> + <step2>data</step2> + <keys_1> + <key>id</key> + </keys_1> + <keys_2> + <key>partner_id</key> + </keys_2> <attributes/> <cluster_schema/> <remotesteps> @@ -1181,16 +950,16 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>608</xloc> - <yloc>432</yloc> + <xloc>288</xloc> + <yloc>208</yloc> <draw>Y</draw> </GUI> </step> <step> - <name>non pareto</name> - <type>Constant</type> + <name>Select values</name> + <type>SelectValues</type> <description/> - <distribute>Y</distribute> + <distribute>N</distribute> <custom_distribution/> <copies>1</copies> <partitioning> @@ -1199,17 +968,24 @@ order by am.partner_id</sql> </partitioning> <fields> <field> + <name>id</name> + </field> + <field> + <name>name</name> + </field> + <field> + <name>partner_id</name> + </field> + <field> + <name>value</name> + </field> + <field> + <name>trx</name> + </field> + <field> <name>status</name> - <type>String</type> - <format/> - <currency/> - <decimal/> - <group/> - <nullif>NP</nullif> - <length>-1</length> - <precision>-1</precision> - <set_empty_string>N</set_empty_string> </field> + <select_unspecified>N</select_unspecified> </fields> <attributes/> <cluster_schema/> @@ -1220,14 +996,14 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>608</xloc> + <xloc>992</xloc> <yloc>544</yloc> <draw>Y</draw> </GUI> </step> <step> - <name>Append streams</name> - <type>Append</type> + <name>Update</name> + <type>Update</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -1236,8 +1012,26 @@ order by am.partner_id</sql> <method>none</method> <schema_name/> </partitioning> - <head_name>pareto repeating</head_name> - <tail_name>potensi pareto repeating</tail_name> + <connection>erp indoteknik production</connection> + <skip_lookup>N</skip_lookup> + <commit>100</commit> + <use_batch>N</use_batch> + <error_ignored>N</error_ignored> + <ignore_flag_field/> + <lookup> + <schema>public</schema> + <table>res_partner</table> + <key> + <name>id</name> + <field>id</field> + <condition>=</condition> + <name2/> + </key> + <value> + <name>pareto_status</name> + <rename>status</rename> + </value> + </lookup> <attributes/> <cluster_schema/> <remotesteps> @@ -1247,14 +1041,14 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>816</xloc> - <yloc>320</yloc> + <xloc>1120</xloc> + <yloc>544</yloc> <draw>Y</draw> </GUI> </step> <step> - <name>Append streams 2</name> - <type>Append</type> + <name>Update 2</name> + <type>Update</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -1263,8 +1057,26 @@ order by am.partner_id</sql> <method>none</method> <schema_name/> </partitioning> - <head_name>Append streams</head_name> - <tail_name>pareto non repeating</tail_name> + <connection>dw bi indoteknik</connection> + <skip_lookup>N</skip_lookup> + <commit>100</commit> + <use_batch>N</use_batch> + <error_ignored>N</error_ignored> + <ignore_flag_field/> + <lookup> + <schema>public</schema> + <table>res_partner</table> + <key> + <name>id</name> + <field>id</field> + <condition>=</condition> + <name2/> + </key> + <value> + <name>pareto_status</name> + <rename>status</rename> + </value> + </lookup> <attributes/> <cluster_schema/> <remotesteps> @@ -1274,14 +1086,14 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>816</xloc> - <yloc>432</yloc> + <xloc>992</xloc> + <yloc>416</yloc> <draw>Y</draw> </GUI> </step> <step> - <name>Append streams 3</name> - <type>Append</type> + <name>data</name> + <type>TableInput</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -1290,8 +1102,92 @@ order by am.partner_id</sql> <method>none</method> <schema_name/> </partitioning> - <head_name>Append streams 2</head_name> - <tail_name>non pareto</tail_name> + <connection>dw bi indoteknik</connection> + <sql>select am.partner_id, sum(coalesce(am.amount_untaxed, 0)) as value, count(am."name") as trx +from account_move am +where 1=1 +and am.move_type = 'out_invoice' +and am.state = 'posted' +and am.date >= (now() - '365 days'::interval) +group by am.partner_id +order by am.partner_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>partner_id</name> + <length>9</length> + <precision>0</precision> + <origin>data</origin> + <comments>partner_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>BigNumber</type> + <storagetype>normal</storagetype> + <name>value</name> + <length>-1</length> + <precision>-1</precision> + <origin>data</origin> + <comments>value</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> + <value-meta> + <type>Integer</type> + <storagetype>normal</storagetype> + <name>trx</name> + <length>15</length> + <precision>0</precision> + <origin>data</origin> + <comments>trx</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> + </row-meta> <attributes/> <cluster_schema/> <remotesteps> @@ -1301,16 +1197,16 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>816</xloc> - <yloc>544</yloc> + <xloc>288</xloc> + <yloc>96</yloc> <draw>Y</draw> </GUI> </step> <step> - <name>Select values</name> - <type>SelectValues</type> + <name>non pareto</name> + <type>Constant</type> <description/> - <distribute>N</distribute> + <distribute>Y</distribute> <custom_distribution/> <copies>1</copies> <partitioning> @@ -1319,30 +1215,95 @@ order by am.partner_id</sql> </partitioning> <fields> <field> - <name>id</name> - <rename/> - </field> - <field> - <name>name</name> - <rename/> - </field> - <field> - <name>partner_id</name> - <rename/> - </field> - <field> - <name>value</name> - <rename/> + <name>status</name> + <type>String</type> + <format/> + <currency/> + <decimal/> + <group/> + <nullif>NP</nullif> + <length>-1</length> + <precision>-1</precision> + <set_empty_string>N</set_empty_string> </field> + </fields> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>608</xloc> + <yloc>544</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>pareto non repeating</name> + <type>Constant</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <fields> <field> - <name>trx</name> - <rename/> + <name>status</name> + <type>String</type> + <format/> + <currency/> + <decimal/> + <group/> + <nullif>PNR</nullif> + <length>-1</length> + <precision>-1</precision> + <set_empty_string>N</set_empty_string> </field> + </fields> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>608</xloc> + <yloc>432</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> + <name>pareto repeating</name> + <type>Constant</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <fields> <field> <name>status</name> - <rename/> + <type>String</type> + <format/> + <currency/> + <decimal/> + <group/> + <nullif>PR</nullif> + <length>-1</length> + <precision>-1</precision> + <set_empty_string>N</set_empty_string> </field> - <select_unspecified>N</select_unspecified> </fields> <attributes/> <cluster_schema/> @@ -1353,14 +1314,14 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>992</xloc> - <yloc>544</yloc> + <xloc>608</xloc> + <yloc>208</yloc> <draw>Y</draw> </GUI> </step> <step> - <name>Update</name> - <type>Update</type> + <name>partner</name> + <type>TableInput</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -1369,26 +1330,65 @@ order by am.partner_id</sql> <method>none</method> <schema_name/> </partitioning> - <connection>erp indoteknik production</connection> - <skip_lookup>N</skip_lookup> - <commit>100</commit> - <use_batch>N</use_batch> - <error_ignored>N</error_ignored> - <ignore_flag_field/> - <lookup> - <schema>public</schema> - <table>res_partner</table> - <key> + <connection>dw bi indoteknik</connection> + <sql>select id, name +from res_partner +where pareto_status is null +order by 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> - <field>id</field> - <condition>=</condition> - <name2/> - </key> - <value> - <name>pareto_status</name> - <rename>status</rename> - </value> - </lookup> + <length>9</length> + <precision>0</precision> + <origin>partner</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>name</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>partner</origin> + <comments>name</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> + </row-meta> <attributes/> <cluster_schema/> <remotesteps> @@ -1398,14 +1398,14 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>1120</xloc> - <yloc>544</yloc> + <xloc>160</xloc> + <yloc>208</yloc> <draw>Y</draw> </GUI> </step> <step> - <name>Update 2</name> - <type>Update</type> + <name>potensi pareto repeating</name> + <type>Constant</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -1414,26 +1414,20 @@ order by am.partner_id</sql> <method>none</method> <schema_name/> </partitioning> - <connection>dw bi indoteknik</connection> - <skip_lookup>N</skip_lookup> - <commit>100</commit> - <use_batch>N</use_batch> - <error_ignored>N</error_ignored> - <ignore_flag_field/> - <lookup> - <schema>public</schema> - <table>res_partner</table> - <key> - <name>id</name> - <field>id</field> - <condition>=</condition> - <name2/> - </key> - <value> - <name>pareto_status</name> - <rename>status</rename> - </value> - </lookup> + <fields> + <field> + <name>status</name> + <type>String</type> + <format/> + <currency/> + <decimal/> + <group/> + <nullif>PPR</nullif> + <length>-1</length> + <precision>-1</precision> + <set_empty_string>N</set_empty_string> + </field> + </fields> <attributes/> <cluster_schema/> <remotesteps> @@ -1443,8 +1437,8 @@ order by am.partner_id</sql> </output> </remotesteps> <GUI> - <xloc>992</xloc> - <yloc>416</yloc> + <xloc>608</xloc> + <yloc>320</yloc> <draw>Y</draw> </GUI> </step> |
