From 35d738ff58f301ec80eb2e91c0704dfe35e3fcc7 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Fri, 7 Jun 2024 11:29:02 +0700 Subject: import match payment invoice --- import_all_data_bi_indoteknik.kjb | 48 +++++++++++ import_match_payment_invoice.ktr | 164 ++++++++++++++++++++++++++++++++++++-- run_single_ktr.sh | 2 +- 3 files changed, 206 insertions(+), 8 deletions(-) diff --git a/import_all_data_bi_indoteknik.kjb b/import_all_data_bi_indoteknik.kjb index 229b379..fb951ab 100644 --- a/import_all_data_bi_indoteknik.kjb +++ b/import_all_data_bi_indoteknik.kjb @@ -1463,6 +1463,45 @@ 416 + + match payment invoice + + TRANS + + filename + + /home/stephan/transformation-job-bi/import_match_payment_invoice.ktr + + N + N + N + N + N + N + + + N + N + Basic + N + + N + Y + N + N + N + Pentaho local + N + + Y + + N + Y + 0 + 160 + 528 + + @@ -1735,6 +1774,15 @@ Y N + + account payment + match payment invoice + 0 + 0 + Y + Y + N + diff --git a/import_match_payment_invoice.ktr b/import_match_payment_invoice.ktr index 92c59c7..11e4155 100644 --- a/import_match_payment_invoice.ktr +++ b/import_match_payment_invoice.ktr @@ -427,14 +427,65 @@ - - 2024/03/06 15:36:02.956 + 2024/06/07 11:20:43.357 - - 2024/03/06 15:36:02.956 + 2024/06/07 11:20:43.357 N + + dw bi indoteknik (localhost) + localhost + POSTGRESQL + 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 + + + erp indoteknik production (localhost) 10.148.0.3 @@ -487,6 +538,11 @@ + + Table input + Insert / update + Y + Table input @@ -500,15 +556,109 @@ erp indoteknik production (localhost) - select * from v_match_payment_invoice -order by payment_id desc ---limit 100 + select * from v_match_payment_invoice 0 N N N N + + + Integer + normal + payment_id + 9 + 0 + Table input + payment_id + ####0;-####0 + . + , + + none + N + Y + 0 + N + N + N + en_ID + Asia/Bangkok + N + + + Integer + normal + invoice_id + 9 + 0 + Table input + invoice_id + ####0;-####0 + . + , + + none + N + Y + 0 + N + N + N + en_ID + Asia/Bangkok + N + + + + + + + + + + + + 288 + 128 + Y + + + + Insert / update + InsertUpdate + + Y + + 1 + + none + + + dw bi indoteknik (localhost) + 100 + N + + public + v_match_payment_invoice
+ + payment_id + payment_id + = + + + + payment_id + payment_id + N + + + invoice_id + invoice_id + Y + +
@@ -518,8 +668,8 @@ order by payment_id desc - 240 - 80 + 448 + 128 Y
diff --git a/run_single_ktr.sh b/run_single_ktr.sh index 362a6f9..9bc976c 100644 --- a/run_single_ktr.sh +++ b/run_single_ktr.sh @@ -1 +1 @@ -sh /home/stephan/data-integration/pan.sh -level="Debug" -file="/home/stephan/transformation-job-bi/import_payment_term.ktr" > "/home/stephan/transformation-job-bi/log/run_single_ktr.log" +sh /home/stephan/data-integration/pan.sh -level="Debug" -file="/home/stephan/transformation-job-bi/import_match_payment_invoice.ktr" > "/home/stephan/transformation-job-bi/log/run_single_ktr.log" -- cgit v1.2.3