diff options
Diffstat (limited to 'import_brand.ktr')
| -rw-r--r-- | import_brand.ktr | 148 |
1 files changed, 88 insertions, 60 deletions
diff --git a/import_brand.ktr b/import_brand.ktr index 88e2be7..cc956af 100644 --- a/import_brand.ktr +++ b/import_brand.ktr @@ -430,7 +430,7 @@ <created_date>2023/08/09 15:22:50.719</created_date> <modified_user>-</modified_user> <modified_date>2023/08/09 15:22:50.719</modified_date> - <key_for_session_key/> + <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> <is_key_private>N</is_key_private> </info> <notepads> @@ -545,6 +545,69 @@ </hop> </order> <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>brand</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>name</name> + <rename>x_name</rename> + <update>Y</update> + </value> + <value> + <name>type</name> + <rename>x_manufacture_level</rename> + <update>Y</update> + </value> + <value> + <name>parent</name> + <rename>parent</rename> + <update>Y</update> + </value> + <value> + <name>pricing_group</name> + <rename>pricing_group</rename> + <update>Y</update> + </value> + </lookup> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>272</xloc> + <yloc>96</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> <name>Table input</name> <type>TableInput</type> <description/> @@ -557,7 +620,7 @@ </partitioning> <connection>erp indoteknik production</connection> <sql>select id, x_name, x_manufacture_level, -(select x_name from x_manufactures xm2 where xm2.id = xm.parent_id) as parent +(select x_name from x_manufactures xm2 where xm2.id = xm.parent_id) as parent, pricing_group from x_manufactures xm where xm.write_date >= (now() - '15 days'::interval)</sql> <limit>0</limit> @@ -659,6 +722,29 @@ where xm.write_date >= (now() - '15 days'::interval)</sql> <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>pricing_group</name> + <length>2147483647</length> + <precision>-1</precision> + <origin>Table input</origin> + <comments>pricing_group</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_US</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/> @@ -674,64 +760,6 @@ where xm.write_date >= (now() - '15 days'::interval)</sql> <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>brand</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>name</name> - <rename>x_name</rename> - <update>Y</update> - </value> - <value> - <name>type</name> - <rename>x_manufacture_level</rename> - <update>Y</update> - </value> - <value> - <name>parent</name> - <rename>parent</rename> - <update>Y</update> - </value> - </lookup> - <attributes/> - <cluster_schema/> - <remotesteps> - <input> - </input> - <output> - </output> - </remotesteps> - <GUI> - <xloc>272</xloc> - <yloc>96</yloc> - <draw>Y</draw> - </GUI> - </step> <step_error_handling> </step_error_handling> <slave-step-copy-partition-distribution> |
