From 46742d881f0b2fabfbaaf5e823cea113625dbfa3 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Sun, 1 Oct 2023 16:30:39 +0700 Subject: remake again pricelist --- import_purchase_order.ktr | 228 +++++++++++++++++++++++----------------------- 1 file changed, 114 insertions(+), 114 deletions(-) (limited to 'import_purchase_order.ktr') diff --git a/import_purchase_order.ktr b/import_purchase_order.ktr index f297a94..e548fbd 100644 --- a/import_purchase_order.ktr +++ b/import_purchase_order.ktr @@ -544,119 +544,6 @@ Y - - dw Insert / update po - InsertUpdate - - Y - - 1 - - none - - - dw bi indoteknik (localhost) - 100 - N - - public - purchase_order_dw
- - line_id - line_id - = - - - - po_date - po_date - Y - - - line_date - line_date - Y - - - documentno - documentno - Y - - - state - state - Y - - - partner_id - partner_id - Y - - - vendor - vendor - Y - - - product_id - product_id - Y - - - qty - qty - Y - - - price_unit - price_unit - Y - - - price_subtotal - price_subtotal - Y - - - line_id - line_id - N - - - year_month - year_month - Y - - - year_date - year_date - Y - - - month_date - month_date - Y - - - day_date - day_date - Y - -
- - - - - - - - - - 432 - 96 - Y - -
Table input TableInput @@ -680,7 +567,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 @@ -1071,6 +958,119 @@ where pol.write_date >= (now() - '5 days'::interval) Y + + dw Insert / update po + InsertUpdate + + Y + + 1 + + none + + + dw bi indoteknik (localhost) + 100 + N + + public + purchase_order_dw
+ + line_id + line_id + = + + + + po_date + po_date + Y + + + line_date + line_date + Y + + + documentno + documentno + Y + + + state + state + Y + + + partner_id + partner_id + Y + + + vendor + vendor + Y + + + product_id + product_id + Y + + + qty + qty + Y + + + price_unit + price_unit + Y + + + price_subtotal + price_subtotal + Y + + + line_id + line_id + N + + + year_month + year_month + Y + + + year_date + year_date + Y + + + month_date + month_date + Y + + + day_date + day_date + Y + +
+ + + + + + + + + + 432 + 96 + Y + +
-- cgit v1.2.3