diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-11-20 13:35:24 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-11-20 13:35:24 +0700 |
| commit | 5e9bfc5cd95b01fad589c99de9cdeec1e01016b7 (patch) | |
| tree | a12257f351406c52db3faba656630f6b637a8fb7 /update_reserved_status.ktr | |
| parent | 88911da7b24709cc7764b2910cb30d52cb4ea4c5 (diff) | |
add log for check
Diffstat (limited to 'update_reserved_status.ktr')
| -rw-r--r-- | update_reserved_status.ktr | 99 |
1 files changed, 77 insertions, 22 deletions
diff --git a/update_reserved_status.ktr b/update_reserved_status.ktr index ea17180..dcff80a 100644 --- a/update_reserved_status.ktr +++ b/update_reserved_status.ktr @@ -497,6 +497,11 @@ <to>Update</to> <enabled>Y</enabled> </hop> + <hop> + <from>Update</from> + <to>Write to log</to> + <enabled>Y</enabled> + </hop> </order> <step> <name>Modified JavaScript value</name> @@ -555,6 +560,51 @@ else{ </GUI> </step> <step> + <name>Update</name> + <type>Update</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>erp indoteknik production (localhost)</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>stock_picking</table> + <key> + <name>picking_id</name> + <field>id</field> + <condition>=</condition> + <name2/> + </key> + <value> + <name>state_reserve</name> + <rename>reserve_state</rename> + </value> + </lookup> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>544</xloc> + <yloc>80</yloc> + <draw>Y</draw> + </GUI> + </step> + <step> <name>outstanding do</name> <type>TableInput</type> <description/> @@ -716,8 +766,8 @@ group by sp.id</sql> </GUI> </step> <step> - <name>Update</name> - <type>Update</type> + <name>Write to log</name> + <type>WriteToLog</type> <description/> <distribute>Y</distribute> <custom_distribution/> @@ -726,26 +776,31 @@ group by sp.id</sql> <method>none</method> <schema_name/> </partitioning> - <connection>erp indoteknik production (localhost)</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>stock_picking</table> - <key> + <loglevel>log_level_basic</loglevel> + <displayHeader>Y</displayHeader> + <limitRows>N</limitRows> + <limitRowsNumber>0</limitRowsNumber> + <logmessage/> + <fields> + <field> <name>picking_id</name> - <field>id</field> - <condition>=</condition> - <name2/> - </key> - <value> - <name>state_reserve</name> - <rename>reserve_state</rename> - </value> - </lookup> + </field> + <field> + <name>state</name> + </field> + <field> + <name>qty_need</name> + </field> + <field> + <name>qty_reserved</name> + </field> + <field> + <name>qty_done</name> + </field> + <field> + <name>reserve_state</name> + </field> + </fields> <attributes/> <cluster_schema/> <remotesteps> @@ -755,7 +810,7 @@ group by sp.id</sql> </output> </remotesteps> <GUI> - <xloc>544</xloc> + <xloc>688</xloc> <yloc>80</yloc> <draw>Y</draw> </GUI> |
