From 15f34e77fdb3f3acd4cd347026cae87021228ff5 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 8 Dec 2009 02:36:52 +0000 Subject: [PATCH] Temporal fix for [2904198] - Problems with Payment Window (as Cash) https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2904198&group_id=176962 hide the non-working options --- migration/354a-trunk/oracle/626_BF2904198.sql | 25 +++++++++++++++++++ .../354a-trunk/postgresql/626_BF2904198.sql | 25 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 migration/354a-trunk/oracle/626_BF2904198.sql create mode 100644 migration/354a-trunk/postgresql/626_BF2904198.sql diff --git a/migration/354a-trunk/oracle/626_BF2904198.sql b/migration/354a-trunk/oracle/626_BF2904198.sql new file mode 100644 index 0000000000..83b3638e50 --- /dev/null +++ b/migration/354a-trunk/oracle/626_BF2904198.sql @@ -0,0 +1,25 @@ +-- Dec 7, 2009 7:06:33 PM COT +-- Problems with Payment Window (as Cash) +UPDATE AD_SysConfig SET Value='N',Updated=TO_DATE('2009-12-07 19:06:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50028 +; + +-- Dec 7, 2009 8:05:26 PM COT +-- Problems with Payment Window (as Cash) +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52078,TO_DATE('2009-12-07 20:05:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Tender Type - not Cash','S',TO_DATE('2009-12-07 20:05:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 7, 2009 8:05:39 PM COT +-- Problems with Payment Window (as Cash) +UPDATE AD_Val_Rule SET Code='AD_Ref_List.Value <> ''X''',Updated=TO_DATE('2009-12-07 20:05:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=52078 +; + +-- Dec 7, 2009 8:05:49 PM COT +-- Problems with Payment Window (as Cash) +UPDATE AD_Column SET AD_Val_Rule_ID=52078,Updated=TO_DATE('2009-12-07 20:05:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9118 +; + +-- Dec 7, 2009 8:05:56 PM COT +-- Problems with Payment Window (as Cash) +UPDATE AD_Column SET AD_Val_Rule_ID=52078,Updated=TO_DATE('2009-12-07 20:05:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5046 +; + diff --git a/migration/354a-trunk/postgresql/626_BF2904198.sql b/migration/354a-trunk/postgresql/626_BF2904198.sql new file mode 100644 index 0000000000..f0052fda66 --- /dev/null +++ b/migration/354a-trunk/postgresql/626_BF2904198.sql @@ -0,0 +1,25 @@ +-- Dec 7, 2009 7:06:33 PM COT +-- Problems with Payment Window (as Cash) +UPDATE AD_SysConfig SET Value='N',Updated=TO_TIMESTAMP('2009-12-07 19:06:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50028 +; + +-- Dec 7, 2009 8:05:26 PM COT +-- Problems with Payment Window (as Cash) +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52078,TO_TIMESTAMP('2009-12-07 20:05:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Tender Type - not Cash','S',TO_TIMESTAMP('2009-12-07 20:05:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 7, 2009 8:05:39 PM COT +-- Problems with Payment Window (as Cash) +UPDATE AD_Val_Rule SET Code='AD_Ref_List.Value <> ''X''',Updated=TO_TIMESTAMP('2009-12-07 20:05:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=52078 +; + +-- Dec 7, 2009 8:05:49 PM COT +-- Problems with Payment Window (as Cash) +UPDATE AD_Column SET AD_Val_Rule_ID=52078,Updated=TO_TIMESTAMP('2009-12-07 20:05:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9118 +; + +-- Dec 7, 2009 8:05:56 PM COT +-- Problems with Payment Window (as Cash) +UPDATE AD_Column SET AD_Val_Rule_ID=52078,Updated=TO_TIMESTAMP('2009-12-07 20:05:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5046 +; +