diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-09-22 15:27:13 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-09-22 15:27:13 +0700 |
| commit | 3266d46d2e2e0f6360a663f9d76284b44d109906 (patch) | |
| tree | 482bbb7e29075a3daedef35949e29fd4c3bdbe7d /cbd_locked_new.ktr | |
| parent | f2e80de2d300659c481b6090469e4ac9ba673961 (diff) | |
(andri) previous payment term
Diffstat (limited to 'cbd_locked_new.ktr')
| -rw-r--r-- | cbd_locked_new.ktr | 149 |
1 files changed, 97 insertions, 52 deletions
diff --git a/cbd_locked_new.ktr b/cbd_locked_new.ktr index a65fa8c..df7f4d1 100644 --- a/cbd_locked_new.ktr +++ b/cbd_locked_new.ktr @@ -499,22 +499,27 @@ <enabled>Y</enabled> </hop> <hop> - <from>Merge join</from> - <to>Constraint Variable</to> + <from>Constraint Variable</from> + <to>Calculator res id</to> <enabled>Y</enabled> </hop> <hop> - <from>Update Value Ref PPT</from> - <to>Update CBD Lock</to> + <from>Calculator res id</from> + <to>Update Previous PT & CBD Locked</to> <enabled>Y</enabled> </hop> <hop> - <from>Constraint Variable</from> - <to>Calculator res id</to> + <from>Merge join</from> + <to>Select values</to> <enabled>Y</enabled> </hop> <hop> - <from>Calculator res id</from> + <from>Select values</from> + <to>Constraint Variable</to> + <enabled>Y</enabled> + </hop> + <hop> + <from>Update Previous PT & CBD Locked</from> <to>Update Value Ref PPT</to> <enabled>Y</enabled> </hop> @@ -670,51 +675,6 @@ </GUI> </step> <step> - <name>Update CBD Lock</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>Y</error_ignored> - <ignore_flag_field/> - <lookup> - <schema>public</schema> - <table>res_partner</table> - <key> - <name>partner_id</name> - <field>id</field> - <condition>=</condition> - <name2/> - </key> - <value> - <name>is_cbd_locked</name> - <rename>is_cbd_locked</rename> - </value> - </lookup> - <attributes/> - <cluster_schema/> - <remotesteps> - <input> - </input> - <output> - </output> - </remotesteps> - <GUI> - <xloc>752</xloc> - <yloc>176</yloc> - <draw>Y</draw> - </GUI> - </step> - <step> <name>Update Value Ref PPT</name> <type>Update</type> <description/> @@ -1094,6 +1054,91 @@ order by apt.id; <draw>Y</draw> </GUI> </step> + <step> + <name>Update Previous PT & CBD Locked</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>Y</error_ignored> + <ignore_flag_field/> + <lookup> + <schema>public</schema> + <table>res_partner</table> + <key> + <name>partner_id</name> + <field>id</field> + <condition>=</condition> + <name2/> + </key> + <value> + <name>previous_payment_term_id</name> + <rename>previous_pt</rename> + </value> + <value> + <name>is_cbd_locked</name> + <rename>is_cbd_locked</rename> + </value> + </lookup> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>752</xloc> + <yloc>176</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>invoice_payment_term_id</name> + <rename>previous_pt</rename> + </field> + <field> + <name>partner_id</name> + <rename/> + </field> + <select_unspecified>N</select_unspecified> + </fields> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>400</xloc> + <yloc>32</yloc> + <draw>Y</draw> + </GUI> + </step> <step_error_handling> </step_error_handling> <slave-step-copy-partition-distribution> |
