From b355e154c605afea2d14ff7daa81c23af9b0ece5 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Mon, 25 Mar 2024 10:29:04 +0700 Subject: add import product category --- import_brand.ktr | 70 ++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 50 insertions(+), 20 deletions(-) (limited to 'import_brand.ktr') diff --git a/import_brand.ktr b/import_brand.ktr index fa669ce..d006f22 100644 --- a/import_brand.ktr +++ b/import_brand.ktr @@ -436,14 +436,14 @@ - dw bi indoteknik (localhost) + dw bi indoteknik localhost POSTGRESQL Native dw_bi_indoteknik - 5432 - odoo - Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3 + 5703 + metabase + Encrypted 2be98dfba28d7bf86853c9f58cfc4f889 @@ -462,7 +462,7 @@ PORT_NUMBER - 5432 + 5703 PRESERVE_RESERVED_WORD_CASE @@ -478,7 +478,7 @@ SUPPORTS_TIMESTAMP_DATA_TYPE - N + Y USE_POOLING @@ -487,12 +487,12 @@ - erp indoteknik production (localhost) - 10.148.0.3 + erp indoteknik production + localhost POSTGRESQL Native erp_indoteknik - 5432 + 5901 odoo Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3 @@ -513,7 +513,7 @@ PORT_NUMBER - 5432 + 5901 PRESERVE_RESERVED_WORD_CASE @@ -529,7 +529,7 @@ SUPPORTS_TIMESTAMP_DATA_TYPE - N + Y USE_POOLING @@ -555,10 +555,12 @@ none - erp indoteknik production (localhost) + erp indoteknik production select id, x_name, x_manufacture_level, (select x_name from x_manufactures xm2 where xm2.id = xm.parent_id) as parent, pricing_group, -(select name from product_public_category ppc where ppc.id in(select product_public_category_id from product_public_category_x_manufactures_rel where x_manufactures_id = xm.id limit 1)) as category +(select name from product_public_category ppc where ppc.id in(select product_public_category_id + from product_public_category_x_manufactures_rel where x_manufactures_id = xm.id limit 1)) as category, +override_vendor_id from x_manufactures xm where xm.write_date >= (now() - '15 days'::interval) 0 @@ -587,7 +589,7 @@ where xm.write_date >= (now() - '15 days'::interval) N N N - en_US + en_ID Asia/Bangkok N @@ -610,7 +612,7 @@ where xm.write_date >= (now() - '15 days'::interval) N N N - en_US + en_ID Asia/Bangkok N @@ -633,7 +635,7 @@ where xm.write_date >= (now() - '15 days'::interval) N N N - en_US + en_ID Asia/Bangkok N @@ -656,7 +658,7 @@ where xm.write_date >= (now() - '15 days'::interval) N N N - en_US + en_ID Asia/Bangkok N @@ -679,7 +681,7 @@ where xm.write_date >= (now() - '15 days'::interval) N N N - en_US + en_ID Asia/Bangkok N @@ -702,7 +704,30 @@ where xm.write_date >= (now() - '15 days'::interval) N N N - en_US + en_ID + Asia/Bangkok + N + + + Integer + normal + override_vendor_id + 9 + 0 + Table input + override_vendor_id + ####0;-####0 + . + , + + none + N + Y + 0 + N + N + N + en_ID Asia/Bangkok N @@ -732,7 +757,7 @@ where xm.write_date >= (now() - '15 days'::interval) none - dw bi indoteknik (localhost) + dw bi indoteknik 100 N @@ -774,6 +799,11 @@ where xm.write_date >= (now() - '15 days'::interval) category Y + + override_vendor_id + override_vendor_id + Y + -- cgit v1.2.3