From 3b584ae1a8972c38bfb04bc70f5f5f71da84041c Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 29 May 2008 09:10:14 +0000 Subject: [PATCH] Fix problem with Seqno - error generating model classes if two identifier columns with seqno=1 --- migration/340s-trunk/129_HR_Payroll.sql | 2 +- migration/340s-trunk/postgresql/129_HR_Payroll.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/migration/340s-trunk/129_HR_Payroll.sql b/migration/340s-trunk/129_HR_Payroll.sql index 72d41e335d..13acbc6e8f 100644 --- a/migration/340s-trunk/129_HR_Payroll.sql +++ b/migration/340s-trunk/129_HR_Payroll.sql @@ -5071,7 +5071,7 @@ UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=835 -- Mar 23, 2008 8:50:33 PM CST -- Human Resource & Payroll -UPDATE AD_Column SET AD_Element_ID=835, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Bank_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Bank', EntityType='D', FieldLength=22, Help='The Bank is a unique identifier of a Bank for this Organization or for a Business Partner with whom this Organization transacts.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Bank', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=1,Updated=TO_DATE('2008-03-23 20:50:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3103 +UPDATE AD_Column SET AD_Element_ID=835, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Bank_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Bank', EntityType='D', FieldLength=22, Help='The Bank is a unique identifier of a Bank for this Organization or for a Business Partner with whom this Organization transacts.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Bank', ReadOnlyLogic=NULL, SeqNo=3, VFormat=NULL, Version=1,Updated=TO_DATE('2008-03-23 20:50:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3103 ; -- Mar 23, 2008 8:50:33 PM CST diff --git a/migration/340s-trunk/postgresql/129_HR_Payroll.sql b/migration/340s-trunk/postgresql/129_HR_Payroll.sql index 6d7924a5df..b79acd011a 100644 --- a/migration/340s-trunk/postgresql/129_HR_Payroll.sql +++ b/migration/340s-trunk/postgresql/129_HR_Payroll.sql @@ -5069,7 +5069,7 @@ UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=835 -- Mar 23, 2008 8:50:33 PM CST -- Human Resource & Payroll -UPDATE AD_Column SET AD_Element_ID=835, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Bank_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Bank', EntityType='D', FieldLength=22, Help='The Bank is a unique identifier of a Bank for this Organization or for a Business Partner with whom this Organization transacts.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Bank', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3103 +UPDATE AD_Column SET AD_Element_ID=835, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Bank_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Bank', EntityType='D', FieldLength=22, Help='The Bank is a unique identifier of a Bank for this Organization or for a Business Partner with whom this Organization transacts.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Bank', ReadOnlyLogic=NULL, SeqNo=3, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3103 ; -- Mar 23, 2008 8:50:33 PM CST