From ddcbb5d3e4153700dfe88bf6e0c58fb0074eefbb Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Wed, 17 Dec 2025 13:55:04 +0700 Subject: fix connection db --- calculate_leadtime_po_to_mr.ktr | 174 +++++++++++++--------------------------- 1 file changed, 55 insertions(+), 119 deletions(-) (limited to 'calculate_leadtime_po_to_mr.ktr') diff --git a/calculate_leadtime_po_to_mr.ktr b/calculate_leadtime_po_to_mr.ktr index d5c0904..95e6361 100644 --- a/calculate_leadtime_po_to_mr.ktr +++ b/calculate_leadtime_po_to_mr.ktr @@ -442,59 +442,8 @@ Native dw_bi_indoteknik 5432 - odoo - Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3 - - - - - - FORCE_IDENTIFIERS_TO_LOWERCASE - N - - - FORCE_IDENTIFIERS_TO_UPPERCASE - N - - - IS_CLUSTERED - N - - - PORT_NUMBER - 5432 - - - PRESERVE_RESERVED_WORD_CASE - Y - - - QUOTE_ALL_FIELDS - N - - - SUPPORTS_BOOLEAN_DATA_TYPE - Y - - - SUPPORTS_TIMESTAMP_DATA_TYPE - N - - - USE_POOLING - N - - - - - dw bi indoteknik (localhost) - localhost - POSTGRESQL - Native - dw_bi_indoteknik - 5432 - postgres - Encrypted 2be98afc86aa7f2e4cb79ce10bec3fd89 + pdi + Encrypted 2be989bb20084ca95810197629d9ea18e @@ -822,6 +771,59 @@ if (new_po_to_arrival != null) { Y + + Modified JavaScript value 2 + ScriptValueMod + + Y + + 1 + + none + + + N + 9 + + + 0 + Script 1 + //Script here +var po_to_arrival_status = 'not achieve'; +if (new_po_to_arrival <= 48) +{ + po_to_arrival_status = 'achieve' +} +else{ + po_to_arrival_status = 'not achieve' +} + + + + + + po_to_arrival_status + po_to_arrival_status + String + -1 + -1 + N + + + + + + + + + + + + 960 + 80 + Y + + Select values SelectValues @@ -879,27 +881,21 @@ if (new_po_to_arrival != null) { po_confirm_date - received_good_date - purchase_line_id - purchase_id - received_id - parent_category - N @@ -931,31 +927,24 @@ if (new_po_to_arrival != null) { po_confirm_date - received_good_date - purchase_line_id - purchase_id - new_po_to_arrival - received_id - parent_category - N @@ -1565,59 +1554,6 @@ FROM filtered_hours; Y - - Modified JavaScript value 2 - ScriptValueMod - - Y - - 1 - - none - - - N - 9 - - - 0 - Script 1 - //Script here -var po_to_arrival_status = 'not achieve'; -if (new_po_to_arrival <= 48) -{ - po_to_arrival_status = 'achieve' -} -else{ - po_to_arrival_status = 'not achieve' -} - - - - - - po_to_arrival_status - po_to_arrival_status - String - -1 - -1 - N - - - - - - - - - - - - 960 - 80 - Y - - -- cgit v1.2.3