diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-01-23 11:21:53 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-01-23 11:21:53 +0700 |
| commit | 9c2b9c6ef30aa49b9117156e57259a8581cb2660 (patch) | |
| tree | 0fe329a79153538c82a052d4ac7a460597dc8c94 | |
| parent | 1ce6599f3ae54692c106581d1f7e7ac0fe85049b (diff) | |
import include price in purchase pricelist
| -rw-r--r-- | import_adempiere_to_data_warehouse.ktr | 2 | ||||
| -rw-r--r-- | import_purchase_pricelist.ktr | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/import_adempiere_to_data_warehouse.ktr b/import_adempiere_to_data_warehouse.ktr index 8a444a3..f96f2b1 100644 --- a/import_adempiere_to_data_warehouse.ktr +++ b/import_adempiere_to_data_warehouse.ktr @@ -2025,7 +2025,7 @@ where reference_number is not null</sql> </output> </remotesteps> <GUI> - <xloc>1200</xloc> + <xloc>1088</xloc> <yloc>400</yloc> <draw>Y</draw> </GUI> diff --git a/import_purchase_pricelist.ktr b/import_purchase_pricelist.ktr index 5e869ca..2b9c883 100644 --- a/import_purchase_pricelist.ktr +++ b/import_purchase_pricelist.ktr @@ -557,10 +557,10 @@ </partitioning> <connection>erp indoteknik production (localhost)</connection> <sql>select pp.id, pp.product_id, pp.vendor_id, rp.name as vendor, pp.product_price, pp.write_date, -pp.system_price, pp.system_last_update, pp.human_last_update +pp.system_price, pp.system_last_update, pp.human_last_update, pp.include_price from purchase_pricelist pp join res_partner rp on rp.id = pp.vendor_id -where pp.write_date >= (now() - '10 days'::interval)</sql> +--where pp.write_date >= (now() - '10 days'::interval)</sql> <limit>0</limit> <lookup/> <execute_each_row>N</execute_each_row> @@ -858,6 +858,11 @@ where pp.write_date >= (now() - '10 days'::interval)</sql> <rename>human_last_update</rename> <update>Y</update> </value> + <value> + <name>include_price</name> + <rename>include_price</rename> + <update>Y</update> + </value> </lookup> <attributes/> <cluster_schema/> |
