diff --git a/migration/migration/360lts-release/oracle/741_PayrollDictionaryFixes.sql b/migration/migration/360lts-release/oracle/741_PayrollDictionaryFixes.sql new file mode 100644 index 0000000000..16df72b0ef --- /dev/null +++ b/migration/migration/360lts-release/oracle/741_PayrollDictionaryFixes.sql @@ -0,0 +1,37 @@ +-- 11-oct-2010 14:42:01 VET +-- Make column payroll concept category updatable +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2010-10-11 14:42:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54820 +; + +-- 11-oct-2010 14:51:57 VET +-- Make column HR_Year.StartDate type Date instead of DateTime +UPDATE AD_Column SET AD_Reference_ID=15,Updated=TO_DATE('2010-10-11 14:51:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54937 +; + +-- 13-oct-2010 15:21:20 VET +-- All periods of a year shown +UPDATE AD_Tab SET AD_Column_ID=54914,Updated=TO_DATE('2010-10-13 15:21:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53116 +; + +-- 13-oct-2010 15:28:02 VET +UPDATE AD_Field SET DefaultValue='@C_Year_ID@', IsReadOnly='Y',Updated=TO_DATE('2010-10-13 15:28:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55077 +; + +-- 13-oct-2010 15:44:17 VET +-- Add security validation to HR_Process.AD_Org_ID +UPDATE AD_Column SET AD_Val_Rule_ID=130, DefaultValue='@#AD_Org_ID@',Updated=TO_DATE('2010-10-13 15:44:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54881 +; + +-- 13-oct-2010 15:45:37 VET +-- Change HR_Movement date columns from datetime to just date +UPDATE AD_Column SET AD_Reference_ID=15,Updated=TO_DATE('2010-10-13 15:45:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55048 +; + +-- 13-oct-2010 15:45:43 VET +UPDATE AD_Column SET AD_Reference_ID=15,Updated=TO_DATE('2010-10-13 15:45:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55052 +; + +-- 13-oct-2010 15:45:46 VET +UPDATE AD_Column SET AD_Reference_ID=15,Updated=TO_DATE('2010-10-13 15:45:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55054 +; + diff --git a/migration/migration/360lts-release/postgresql/741_PayrollDictionaryFixes.sql b/migration/migration/360lts-release/postgresql/741_PayrollDictionaryFixes.sql new file mode 100644 index 0000000000..4d2109fb78 --- /dev/null +++ b/migration/migration/360lts-release/postgresql/741_PayrollDictionaryFixes.sql @@ -0,0 +1,37 @@ +-- 11-oct-2010 14:42:01 VET +-- Make column payroll concept category updatable +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2010-10-11 14:42:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54820 +; + +-- 11-oct-2010 14:51:57 VET +-- Make column HR_Year.StartDate type Date instead of DateTime +UPDATE AD_Column SET AD_Reference_ID=15,Updated=TO_TIMESTAMP('2010-10-11 14:51:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54937 +; + +-- 13-oct-2010 15:21:20 VET +-- All periods of a year shown +UPDATE AD_Tab SET AD_Column_ID=54914,Updated=TO_TIMESTAMP('2010-10-13 15:21:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53116 +; + +-- 13-oct-2010 15:28:02 VET +UPDATE AD_Field SET DefaultValue='@C_Year_ID@', IsReadOnly='Y',Updated=TO_TIMESTAMP('2010-10-13 15:28:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55077 +; + +-- 13-oct-2010 15:44:17 VET +-- Add security validation to HR_Process.AD_Org_ID +UPDATE AD_Column SET AD_Val_Rule_ID=130, DefaultValue='@#AD_Org_ID@',Updated=TO_TIMESTAMP('2010-10-13 15:44:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54881 +; + +-- 13-oct-2010 15:45:37 VET +-- Change HR_Movement date columns from datetime to just date +UPDATE AD_Column SET AD_Reference_ID=15,Updated=TO_TIMESTAMP('2010-10-13 15:45:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55048 +; + +-- 13-oct-2010 15:45:43 VET +UPDATE AD_Column SET AD_Reference_ID=15,Updated=TO_TIMESTAMP('2010-10-13 15:45:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55052 +; + +-- 13-oct-2010 15:45:46 VET +UPDATE AD_Column SET AD_Reference_ID=15,Updated=TO_TIMESTAMP('2010-10-13 15:45:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55054 +; +