From 2f404efe9ac81810d00eea4f979a5ddd8bf20d64 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 14 Jun 2010 01:21:28 +0000 Subject: [PATCH] Peer review Revision 12517 fix typo modification must be done at element / it replicates to all other levels Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3015053 --- .../oracle/732_FR3015053_QueuingTime.sql | 35 +++++++++++++++++-- .../postgresql/732_FR3015053_QueuingTime.sql | 33 ++++++++++++++++- 2 files changed, 65 insertions(+), 3 deletions(-) diff --git a/migration/354a-trunk/oracle/732_FR3015053_QueuingTime.sql b/migration/354a-trunk/oracle/732_FR3015053_QueuingTime.sql index 6d9f704578..4a56062b0e 100644 --- a/migration/354a-trunk/oracle/732_FR3015053_QueuingTime.sql +++ b/migration/354a-trunk/oracle/732_FR3015053_QueuingTime.sql @@ -1,9 +1,40 @@ -- 06-13-2010 05:36:04 PM CST -- queuing time_explanation -UPDATE AD_Field SET Description='Queue time is the time a ob waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.',Updated=TO_DATE('2010-06-13 17:36:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53405 +UPDATE AD_Field SET Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.',Updated=TO_DATE('2010-06-13 17:36:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53405 ; -- 06-13-2010 05:45:24 PM CST -- queuing time_explanation -UPDATE AD_Field SET Name='Queuing Time', Description='Queue time is the time a ob waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.' WHERE AD_Column_ID=53310 AND IsCentrallyMaintained='Y' +UPDATE AD_Field SET Name='Queuing Time', Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.' WHERE AD_Column_ID=53310 AND IsCentrallyMaintained='Y' ; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Element SET Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.',Updated=TO_DATE('2010-06-13 20:18:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53234 +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53234 +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Column SET ColumnName='QueuingTime', Name='Queuing Time', Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.' WHERE AD_Element_ID=53234 +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Process_Para SET ColumnName='QueuingTime', Name='Queuing Time', Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.', AD_Element_ID=53234 WHERE UPPER(ColumnName)='QUEUINGTIME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Process_Para SET ColumnName='QueuingTime', Name='Queuing Time', Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.' WHERE AD_Element_ID=53234 AND IsCentrallyMaintained='Y' +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Field SET Name='Queuing Time', Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53234) AND IsCentrallyMaintained='Y' +; + diff --git a/migration/354a-trunk/postgresql/732_FR3015053_QueuingTime.sql b/migration/354a-trunk/postgresql/732_FR3015053_QueuingTime.sql index 325b0a1e27..e3c8cd8a5e 100644 --- a/migration/354a-trunk/postgresql/732_FR3015053_QueuingTime.sql +++ b/migration/354a-trunk/postgresql/732_FR3015053_QueuingTime.sql @@ -6,4 +6,35 @@ UPDATE AD_Field SET Description='Queue time is the time a ob waits at a work cen -- 06-13-2010 05:45:24 PM CST -- queuing time_explanation UPDATE AD_Field SET Name='Queuing Time', Description='Queue time is the time a ob waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.' WHERE AD_Column_ID=53310 AND IsCentrallyMaintained='Y' -; \ No newline at end of file +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Element SET Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.',Updated=TO_TIMESTAMP('2010-06-13 20:18:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53234 +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53234 +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Column SET ColumnName='QueuingTime', Name='Queuing Time', Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.' WHERE AD_Element_ID=53234 +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Process_Para SET ColumnName='QueuingTime', Name='Queuing Time', Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.', AD_Element_ID=53234 WHERE UPPER(ColumnName)='QUEUINGTIME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Process_Para SET ColumnName='QueuingTime', Name='Queuing Time', Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.' WHERE AD_Element_ID=53234 AND IsCentrallyMaintained='Y' +; + +-- Jun 13, 2010 8:18:43 PM COT +-- FR3015053_queuing time_explanation +UPDATE AD_Field SET Name='Queuing Time', Description='Queue time is the time a job waits at a work center before begin handled.', Help='Queuing time has no implication on costs, but on Capacity Requirement Planning (CRP) to calculate the total time needed to manufacture a product.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53234) AND IsCentrallyMaintained='Y' +; +