From 1ef99735feb84dbe33047fd54857cc4ae686f9cf Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Mon, 11 Sep 2023 15:19:28 +0700 Subject: recovery data --- import_brand.ktr | 2 +- import_pricelist.ktr | 122 ++++++++++++++++++++++----------------------- import_product_product.ktr | 2 +- import_purchase_order.ktr | 2 +- 4 files changed, 64 insertions(+), 64 deletions(-) diff --git a/import_brand.ktr b/import_brand.ktr index cc956af..e24b1a4 100644 --- a/import_brand.ktr +++ b/import_brand.ktr @@ -622,7 +622,7 @@ select id, x_name, x_manufacture_level, (select x_name from x_manufactures xm2 where xm2.id = xm.parent_id) as parent, pricing_group from x_manufactures xm -where xm.write_date >= (now() - '15 days'::interval) +--where xm.write_date >= (now() - '15 days'::interval) 0 N diff --git a/import_pricelist.ktr b/import_pricelist.ktr index 68442e5..16fa89f 100644 --- a/import_pricelist.ktr +++ b/import_pricelist.ktr @@ -430,7 +430,7 @@ 2023/08/09 15:49:32.100 - 2023/08/09 15:49:32.100 - + H4sIAAAAAAAAAAMAAAAAAAAAAAA= N @@ -544,6 +544,64 @@ Y + + Insert / update + InsertUpdate + + Y + + 1 + + none + + + dw bi indoteknik + 100 + N + + public + pricelist
+ + id + id + = + + + + id + id + N + + + product_id + product_id + Y + + + write_date + write_date + Y + + + price + price + Y + +
+ + + + + + + + + + 368 + 176 + Y + +
Table input TableInput @@ -557,8 +615,8 @@ erp indoteknik production select ppi.id, ppi.product_id, ppi.write_date, ppi.fixed_price as price -from product_pricelist_item ppi where ppi.pricelist_id = 1 and -ppi.write_date >= (now() - '5 days'::interval) +from product_pricelist_item ppi where ppi.pricelist_id = 1 +--and ppi.write_date >= (now() - '5 days'::interval) 0 N @@ -673,64 +731,6 @@ ppi.write_date >= (now() - '5 days'::interval) Y - - Insert / update - InsertUpdate - - Y - - 1 - - none - - - dw bi indoteknik - 100 - N - - public - pricelist
- - id - id - = - - - - id - id - N - - - product_id - product_id - Y - - - write_date - write_date - Y - - - price - price - Y - -
- - - - - - - - - - 368 - 176 - Y - -
diff --git a/import_product_product.ktr b/import_product_product.ktr index 640a1a5..d133eb3 100644 --- a/import_product_product.ktr +++ b/import_product_product.ktr @@ -697,7 +697,7 @@ pt.website_description as description, pt.weight from product_product pp join product_template pt on pt.id = pp.product_tmpl_id -where pp.write_date >= (now() - '5 days'::interval) +--where pp.write_date >= (now() - '5 days'::interval) 0 N diff --git a/import_purchase_order.ktr b/import_purchase_order.ktr index ee85cad..03bdb75 100644 --- a/import_purchase_order.ktr +++ b/import_purchase_order.ktr @@ -680,7 +680,7 @@ get_quarter(to_char(pol.write_date::timestamp with time zone, 'MM'::text)) from purchase_order po join res_partner rp on rp.id = po.partner_id join purchase_order_line pol on pol.order_id = po.id -where pol.write_date >= (now() - '5 days'::interval) +--where pol.write_date >= (now() - '5 days'::interval) 0 N -- cgit v1.2.3