From 27efd9b851cdfc990309a1ecb0613d9dd1f25be0 Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Tue, 6 Nov 2007 04:52:27 +0000 Subject: [PATCH] [ 1823186 ] New process to setup Posterita POS when Client do not is new http://sourceforge.net/tracker/index.php?func=detail&aid=1823186&group_id=176962&atid=928568 --- install/Adempiere/build.xml | 4 ++++ migration/330-trunk/031_FR_1823186.sql | 7 +++++-- migration/330-trunk/postgresql/031_FR_1823186.sql | 6 ++++-- posterita/build.xml | 1 + .../src/main/org/posterita}/process/SetupWebPOS.java | 2 +- 5 files changed, 15 insertions(+), 5 deletions(-) rename {base/src/org/adempiere => posterita/src/main/org/posterita}/process/SetupWebPOS.java (99%) diff --git a/install/Adempiere/build.xml b/install/Adempiere/build.xml index dfc5168a37..52fdaf7046 100644 --- a/install/Adempiere/build.xml +++ b/install/Adempiere/build.xml @@ -127,6 +127,10 @@ + + + + diff --git a/migration/330-trunk/031_FR_1823186.sql b/migration/330-trunk/031_FR_1823186.sql index 0a6f9b2cfc..26d815372b 100644 --- a/migration/330-trunk/031_FR_1823186.sql +++ b/migration/330-trunk/031_FR_1823186.sql @@ -49,7 +49,7 @@ INSERT INTO AD_PROCESS (ad_process_id, 'N', 'N', NULL, - 'org.adempiere.process.SetupWebPOS', + 'org.posterita.process.SetupWebPOS', 0, 0, NULL, @@ -801,7 +801,7 @@ INSERT INTO AD_PROCESS_PARA (ad_process_para_id, 60, 'Y', 'N', - NULL, + 'http://www.adempiere.org', NULL, NULL, NULL, @@ -1009,4 +1009,7 @@ INSERT INTO AD_TREENODEMM (ad_tree_id, 52001, 5); +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,IsReadWrite,Created,AD_Process_ID,CreatedBy,Updated,UpdatedBy,IsActive,AD_Role_ID) VALUES (11,0,'Y',TO_DATE('2007-11-05 14:26:09','YYYY-MM-DD HH24:MI:SS'),53002,100,TO_DATE('2007-11-05 14:26:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',102); + + COMMIT; \ No newline at end of file diff --git a/migration/330-trunk/postgresql/031_FR_1823186.sql b/migration/330-trunk/postgresql/031_FR_1823186.sql index 4c8e5f0edb..8ba2fa45a7 100644 --- a/migration/330-trunk/postgresql/031_FR_1823186.sql +++ b/migration/330-trunk/postgresql/031_FR_1823186.sql @@ -49,7 +49,7 @@ INSERT INTO ad_process (ad_process_id, 'N', 'N', NULL, - 'org.adempiere.process.SetupWebPOS', + 'org.posterita.process.SetupWebPOS', 0, 0, NULL, @@ -799,7 +799,7 @@ INSERT INTO ad_process_para (ad_process_para_id, 60, 'Y', 'N', - NULL, + 'http://', NULL, NULL, NULL, @@ -1006,3 +1006,5 @@ INSERT INTO ad_treenodemm (ad_tree_id, 0, 52001, 5); + +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,IsReadWrite,Created,AD_Process_ID,CreatedBy,Updated,UpdatedBy,IsActive,AD_Role_ID) VALUES (11,0,'Y',TO_TIMESTAMP('2007-11-05 14:26:09','YYYY-MM-DD HH24:MI:SS'),53002,100,TO_TIMESTAMP('2007-11-05 14:26:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',102); \ No newline at end of file diff --git a/posterita/build.xml b/posterita/build.xml index 17c53820a2..0cbbfe31dc 100644 --- a/posterita/build.xml +++ b/posterita/build.xml @@ -46,6 +46,7 @@ + diff --git a/base/src/org/adempiere/process/SetupWebPOS.java b/posterita/src/main/org/posterita/process/SetupWebPOS.java similarity index 99% rename from base/src/org/adempiere/process/SetupWebPOS.java rename to posterita/src/main/org/posterita/process/SetupWebPOS.java index 41abf1113d..a660ca2d94 100644 --- a/base/src/org/adempiere/process/SetupWebPOS.java +++ b/posterita/src/main/org/posterita/process/SetupWebPOS.java @@ -16,7 +16,7 @@ * Autor: Victor Perez victor.perez@e-evolution.con www.e-evolution.com * *****************************************************************************/ -package org.adempiere.process; +package org.posterita.process; import java.math.BigDecimal; import java.util.logging.Level;