From 354bb3cef185edff3697b83a383ec078263e89ea Mon Sep 17 00:00:00 2001 From: Dirk Niemeyer Date: Mon, 6 Aug 2012 16:36:05 +0200 Subject: [PATCH] Bring in Manufacturing Light code from Adaxa / Paul Bowden Replenish report, allow to select only kanban. Fixes #115 changeset 6227 05de274d6465 migration script 863 to replace migration/xml/380_Replenishment_kanban.xml --- .../863_IDEMPIERE-246_Manufacturing_Light.sql | 50 +++++++++++++++++++ .../863_IDEMPIERE-246_Manufacturing_Light.sql | 45 +++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 migration/360lts-release/oracle/863_IDEMPIERE-246_Manufacturing_Light.sql create mode 100644 migration/360lts-release/postgresql/863_IDEMPIERE-246_Manufacturing_Light.sql diff --git a/migration/360lts-release/oracle/863_IDEMPIERE-246_Manufacturing_Light.sql b/migration/360lts-release/oracle/863_IDEMPIERE-246_Manufacturing_Light.sql new file mode 100644 index 0000000000..9991917cfa --- /dev/null +++ b/migration/360lts-release/oracle/863_IDEMPIERE-246_Manufacturing_Light.sql @@ -0,0 +1,50 @@ +-- Aug 6, 2012 11:54:27 AM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_ModelValidator SET IsActive='N',Updated=TO_DATE('2012-08-06 11:54:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_ModelValidator_ID=50000 +; + +-- Aug 6, 2012 12:16:06 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET AD_Reference_ID=17, AD_Reference_Value_ID=319, ColumnName='IsKanban', EntityType='D', IsCentrallyMaintained='N', Name='Is Kanban',Updated=TO_DATE('2012-08-06 12:16:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53526 +; + +-- Aug 6, 2012 12:16:06 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53526 +; + +-- Aug 6, 2012 12:16:49 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_DATE('2012-08-06 12:16:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53527 +; + +-- Aug 6, 2012 12:17:10 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_DATE('2012-08-06 12:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53528 +; + +-- Aug 6, 2012 12:17:28 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_DATE('2012-08-06 12:17:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53525 +; + +-- Aug 6, 2012 12:17:49 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_DATE('2012-08-06 12:17:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53524 +; + +-- Aug 6, 2012 12:18:09 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_DATE('2012-08-06 12:18:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53523 +; + +-- Aug 6, 2012 12:20:29 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_DATE('2012-08-06 12:20:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53267 +; + +UPDATE AD_System + SET LastMigrationScriptApplied='863_IDEMPIERE-246_Manufacturing_Light.sql' +WHERE LastMigrationScriptApplied<'863_IDEMPIERE-246_Manufacturing_Light.sql' + OR LastMigrationScriptApplied IS NULL +; diff --git a/migration/360lts-release/postgresql/863_IDEMPIERE-246_Manufacturing_Light.sql b/migration/360lts-release/postgresql/863_IDEMPIERE-246_Manufacturing_Light.sql new file mode 100644 index 0000000000..4c1d09a775 --- /dev/null +++ b/migration/360lts-release/postgresql/863_IDEMPIERE-246_Manufacturing_Light.sql @@ -0,0 +1,45 @@ +-- Aug 6, 2012 12:16:06 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET AD_Reference_ID=17, AD_Reference_Value_ID=319, ColumnName='IsKanban', EntityType='D', IsCentrallyMaintained='N', Name='Is Kanban',Updated=TO_TIMESTAMP('2012-08-06 12:16:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53526 +; + +-- Aug 6, 2012 12:16:06 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53526 +; + +-- Aug 6, 2012 12:16:49 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_TIMESTAMP('2012-08-06 12:16:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53527 +; + +-- Aug 6, 2012 12:17:10 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_TIMESTAMP('2012-08-06 12:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53528 +; + +-- Aug 6, 2012 12:17:28 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_TIMESTAMP('2012-08-06 12:17:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53525 +; + +-- Aug 6, 2012 12:17:49 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_TIMESTAMP('2012-08-06 12:17:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53524 +; + +-- Aug 6, 2012 12:18:09 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_TIMESTAMP('2012-08-06 12:18:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53523 +; + +-- Aug 6, 2012 12:20:29 PM CEST +-- IDEMPIERE-246 Manufacturing Light +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_TIMESTAMP('2012-08-06 12:20:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53267 +; + +UPDATE AD_System + SET LastMigrationScriptApplied='863_IDEMPIERE-246_Manufacturing_Light.sql' +WHERE LastMigrationScriptApplied<'863_IDEMPIERE-246_Manufacturing_Light.sql' + OR LastMigrationScriptApplied IS NULL +;