diff --git a/base/src/org/eevolution/model/I_HR_Movement.java b/base/src/org/eevolution/model/I_HR_Movement.java index 851b3438dc..1525082891 100644 --- a/base/src/org/eevolution/model/I_HR_Movement.java +++ b/base/src/org/eevolution/model/I_HR_Movement.java @@ -50,19 +50,6 @@ public interface I_HR_Movement */ public int getAD_Client_ID(); - /** Column name AD_Org_ID */ - public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; - - /** Set Organization. - * Organizational entity within client - */ - public void setAD_Org_ID (int AD_Org_ID); - - /** Get Organization. - * Organizational entity within client - */ - public int getAD_Org_ID(); - /** Column name AD_OrgTrx_ID */ public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID"; @@ -76,6 +63,19 @@ public interface I_HR_Movement */ public int getAD_OrgTrx_ID(); + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + /** Column name AD_Rule_ID */ public static final String COLUMNNAME_AD_Rule_ID = "AD_Rule_ID"; @@ -87,6 +87,19 @@ public interface I_HR_Movement public I_AD_Rule getAD_Rule() throws RuntimeException; + /** Column name AccountSign */ + public static final String COLUMNNAME_AccountSign = "AccountSign"; + + /** Set Account Sign. + * Indicates the Natural Sign of the Account as a Debit or Credit + */ + public void setAccountSign (String AccountSign); + + /** Get Account Sign. + * Indicates the Natural Sign of the Account as a Debit or Credit + */ + public String getAccountSign(); + /** Column name Amount */ public static final String COLUMNNAME_Amount = "Amount"; @@ -115,6 +128,36 @@ public interface I_HR_Movement public I_C_Activity getC_Activity() throws RuntimeException; + /** Column name C_BP_BankAccount_ID */ + public static final String COLUMNNAME_C_BP_BankAccount_ID = "C_BP_BankAccount_ID"; + + /** Set Partner Bank Account. + * Bank Account of the Business Partner + */ + public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID); + + /** Get Partner Bank Account. + * Bank Account of the Business Partner + */ + public int getC_BP_BankAccount_ID(); + + public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException; + + /** Column name C_BP_Group_ID */ + public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID"; + + /** Set Business Partner Group. + * Business Partner Group + */ + public void setC_BP_Group_ID (int C_BP_Group_ID); + + /** Get Business Partner Group. + * Business Partner Group + */ + public int getC_BP_Group_ID(); + + public I_C_BP_Group getC_BP_Group() throws RuntimeException; + /** Column name C_BPartner_ID */ public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; @@ -145,30 +188,6 @@ public interface I_HR_Movement public I_C_Campaign getC_Campaign() throws RuntimeException; - /** Column name ColumnType */ - public static final String COLUMNNAME_ColumnType = "ColumnType"; - - /** Set Column Type */ - public void setColumnType (String ColumnType); - - /** Get Column Type */ - public String getColumnType(); - - /** Column name C_Project_ID */ - public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; - - /** Set Project. - * Financial Project - */ - public void setC_Project_ID (int C_Project_ID); - - /** Get Project. - * Financial Project - */ - public int getC_Project_ID(); - - public I_C_Project getC_Project() throws RuntimeException; - /** Column name C_ProjectPhase_ID */ public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID"; @@ -199,6 +218,30 @@ public interface I_HR_Movement public I_C_ProjectTask getC_ProjectTask() throws RuntimeException; + /** Column name C_Project_ID */ + public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; + + /** Set Project. + * Financial Project + */ + public void setC_Project_ID (int C_Project_ID); + + /** Get Project. + * Financial Project + */ + public int getC_Project_ID(); + + public I_C_Project getC_Project() throws RuntimeException; + + /** Column name ColumnType */ + public static final String COLUMNNAME_ColumnType = "ColumnType"; + + /** Set Column Type */ + public void setColumnType (String ColumnType); + + /** Get Column Type */ + public String getColumnType(); + /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; diff --git a/base/src/org/eevolution/model/X_HR_Movement.java b/base/src/org/eevolution/model/X_HR_Movement.java index 1967d4145f..6feba7d7b5 100644 --- a/base/src/org/eevolution/model/X_HR_Movement.java +++ b/base/src/org/eevolution/model/X_HR_Movement.java @@ -34,7 +34,7 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent /** * */ - private static final long serialVersionUID = 20090915L; + private static final long serialVersionUID = 20100613L; /** Standard Constructor */ public X_HR_Movement (Properties ctx, int HR_Movement_ID, String trxName) @@ -125,6 +125,32 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent return ii.intValue(); } + /** AccountSign AD_Reference_ID=118 */ + public static final int ACCOUNTSIGN_AD_Reference_ID=118; + /** Natural = N */ + public static final String ACCOUNTSIGN_Natural = "N"; + /** Debit = D */ + public static final String ACCOUNTSIGN_Debit = "D"; + /** Credit = C */ + public static final String ACCOUNTSIGN_Credit = "C"; + /** Set Account Sign. + @param AccountSign + Indicates the Natural Sign of the Account as a Debit or Credit + */ + public void setAccountSign (String AccountSign) + { + + set_ValueNoCheck (COLUMNNAME_AccountSign, AccountSign); + } + + /** Get Account Sign. + @return Indicates the Natural Sign of the Account as a Debit or Credit + */ + public String getAccountSign () + { + return (String)get_Value(COLUMNNAME_AccountSign); + } + /** Set Amount. @param Amount Amount in a defined currency @@ -173,6 +199,62 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent return ii.intValue(); } + public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException + { + return (I_C_BP_BankAccount)MTable.get(getCtx(), I_C_BP_BankAccount.Table_Name) + .getPO(getC_BP_BankAccount_ID(), get_TrxName()); } + + /** Set Partner Bank Account. + @param C_BP_BankAccount_ID + Bank Account of the Business Partner + */ + public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID) + { + if (C_BP_BankAccount_ID < 1) + set_ValueNoCheck (COLUMNNAME_C_BP_BankAccount_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_BP_BankAccount_ID, Integer.valueOf(C_BP_BankAccount_ID)); + } + + /** Get Partner Bank Account. + @return Bank Account of the Business Partner + */ + public int getC_BP_BankAccount_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_BankAccount_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_BP_Group getC_BP_Group() throws RuntimeException + { + return (I_C_BP_Group)MTable.get(getCtx(), I_C_BP_Group.Table_Name) + .getPO(getC_BP_Group_ID(), get_TrxName()); } + + /** Set Business Partner Group. + @param C_BP_Group_ID + Business Partner Group + */ + public void setC_BP_Group_ID (int C_BP_Group_ID) + { + if (C_BP_Group_ID < 1) + set_ValueNoCheck (COLUMNNAME_C_BP_Group_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID)); + } + + /** Get Business Partner Group. + @return Business Partner Group + */ + public int getC_BP_Group_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_BPartner getC_BPartner() throws RuntimeException { return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) @@ -229,59 +311,6 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent return ii.intValue(); } - /** ColumnType AD_Reference_ID=53243 */ - public static final int COLUMNTYPE_AD_Reference_ID=53243; - /** Amount = A */ - public static final String COLUMNTYPE_Amount = "A"; - /** Date = D */ - public static final String COLUMNTYPE_Date = "D"; - /** Quantity = Q */ - public static final String COLUMNTYPE_Quantity = "Q"; - /** Text = T */ - public static final String COLUMNTYPE_Text = "T"; - /** Set Column Type. - @param ColumnType Column Type */ - public void setColumnType (String ColumnType) - { - - set_Value (COLUMNNAME_ColumnType, ColumnType); - } - - /** Get Column Type. - @return Column Type */ - public String getColumnType () - { - return (String)get_Value(COLUMNNAME_ColumnType); - } - - public I_C_Project getC_Project() throws RuntimeException - { - return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name) - .getPO(getC_Project_ID(), get_TrxName()); } - - /** Set Project. - @param C_Project_ID - Financial Project - */ - public void setC_Project_ID (int C_Project_ID) - { - if (C_Project_ID < 1) - set_Value (COLUMNNAME_C_Project_ID, null); - else - set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); - } - - /** Get Project. - @return Financial Project - */ - public int getC_Project_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException { return (I_C_ProjectPhase)MTable.get(getCtx(), I_C_ProjectPhase.Table_Name) @@ -338,6 +367,59 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent return ii.intValue(); } + public I_C_Project getC_Project() throws RuntimeException + { + return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name) + .getPO(getC_Project_ID(), get_TrxName()); } + + /** Set Project. + @param C_Project_ID + Financial Project + */ + public void setC_Project_ID (int C_Project_ID) + { + if (C_Project_ID < 1) + set_Value (COLUMNNAME_C_Project_ID, null); + else + set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID)); + } + + /** Get Project. + @return Financial Project + */ + public int getC_Project_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** ColumnType AD_Reference_ID=53243 */ + public static final int COLUMNTYPE_AD_Reference_ID=53243; + /** Amount = A */ + public static final String COLUMNTYPE_Amount = "A"; + /** Date = D */ + public static final String COLUMNTYPE_Date = "D"; + /** Quantity = Q */ + public static final String COLUMNTYPE_Quantity = "Q"; + /** Text = T */ + public static final String COLUMNTYPE_Text = "T"; + /** Set Column Type. + @param ColumnType Column Type */ + public void setColumnType (String ColumnType) + { + + set_Value (COLUMNNAME_ColumnType, ColumnType); + } + + /** Get Column Type. + @return Column Type */ + public String getColumnType () + { + return (String)get_Value(COLUMNNAME_ColumnType); + } + /** Set Description. @param Description Optional short description of the record diff --git a/migration/354a-trunk/oracle/735_FR3015695_HR_Movement.sql b/migration/354a-trunk/oracle/735_FR3015695_HR_Movement.sql new file mode 100644 index 0000000000..34c5d6a856 --- /dev/null +++ b/migration/354a-trunk/oracle/735_FR3015695_HR_Movement.sql @@ -0,0 +1,50 @@ +-- Jun 13, 2010 10:20:08 PM CDT +-- Human Resource Management +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59228,1383,0,19,53102,'C_BP_Group_ID',TO_DATE('2010-06-13 22:20:05','YYYY-MM-DD HH24:MI:SS'),0,'Business Partner Group','EE02',10,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','N','N','N','N','N','N','N','N','N','N','N','Business Partner Group',0,TO_DATE('2010-06-13 22:20:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 13, 2010 10:20:08 PM CDT +-- Human Resource Management +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59228 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Jun 13, 2010 10:20:17 PM CDT +-- Human Resource Management +ALTER TABLE HR_Movement ADD C_BP_Group_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 13, 2010 10:20:57 PM CDT +-- Human Resource Management +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59229,837,0,19,53102,'C_BP_BankAccount_ID',TO_DATE('2010-06-13 22:20:55','YYYY-MM-DD HH24:MI:SS'),0,'Bank Account of the Business Partner','EE02',22,'The Partner Bank Account identifies the bank account to be used for this Business Partner','Y','Y','N','N','N','N','N','N','N','N','N','N','N','Partner Bank Account',0,TO_DATE('2010-06-13 22:20:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 13, 2010 10:20:57 PM CDT +-- Human Resource Management +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59229 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Jun 13, 2010 10:21:10 PM CDT +-- Human Resource Management +ALTER TABLE HR_Movement ADD C_BP_BankAccount_ID NUMBER(10) DEFAULT NULL +; + +-- Jun 13, 2010 10:21:21 PM CDT +-- Human Resource Management +UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2010-06-13 22:21:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59228 +; + +-- Jun 13, 2010 10:25:06 PM CDT +-- Human Resource Management +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59230,146,0,17,118,53102,'AccountSign',TO_DATE('2010-06-13 22:25:05','YYYY-MM-DD HH24:MI:SS'),0,'Indicates the Natural Sign of the Account as a Debit or Credit','EE02',1,'Indicates if the expected balance for this account should be a Debit or a Credit. If set to Natural, the account sign for an asset or expense account is Debit Sign (i.e. negative if a credit balance).','Y','Y','N','N','N','N','N','N','N','N','N','N','N','Account Sign',0,TO_DATE('2010-06-13 22:25:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 13, 2010 10:25:06 PM CDT +-- Human Resource Management +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59230 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Jun 13, 2010 10:25:13 PM CDT +-- Human Resource Management +ALTER TABLE HR_Movement ADD AccountSign CHAR(1) DEFAULT NULL +; + diff --git a/migration/354a-trunk/postgresql/735_FR3015695_HR_Movement.sql b/migration/354a-trunk/postgresql/735_FR3015695_HR_Movement.sql new file mode 100644 index 0000000000..b60ac2a8e1 --- /dev/null +++ b/migration/354a-trunk/postgresql/735_FR3015695_HR_Movement.sql @@ -0,0 +1,50 @@ +-- Jun 13, 2010 10:20:08 PM CDT +-- Human Resource Management +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59228,1383,0,19,53102,'C_BP_Group_ID',TO_TIMESTAMP('2010-06-13 22:20:05','YYYY-MM-DD HH24:MI:SS'),0,'Business Partner Group','EE02',10,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','N','N','N','N','N','N','N','N','N','N','N','Business Partner Group',0,TO_TIMESTAMP('2010-06-13 22:20:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 13, 2010 10:20:08 PM CDT +-- Human Resource Management +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59228 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Jun 13, 2010 10:20:17 PM CDT +-- Human Resource Management +ALTER TABLE HR_Movement ADD COLUMN C_BP_Group_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 13, 2010 10:20:57 PM CDT +-- Human Resource Management +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59229,837,0,19,53102,'C_BP_BankAccount_ID',TO_TIMESTAMP('2010-06-13 22:20:55','YYYY-MM-DD HH24:MI:SS'),0,'Bank Account of the Business Partner','EE02',22,'The Partner Bank Account identifies the bank account to be used for this Business Partner','Y','Y','N','N','N','N','N','N','N','N','N','N','N','Partner Bank Account',0,TO_TIMESTAMP('2010-06-13 22:20:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 13, 2010 10:20:57 PM CDT +-- Human Resource Management +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59229 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Jun 13, 2010 10:21:10 PM CDT +-- Human Resource Management +ALTER TABLE HR_Movement ADD COLUMN C_BP_BankAccount_ID NUMERIC(10) DEFAULT NULL +; + +-- Jun 13, 2010 10:21:21 PM CDT +-- Human Resource Management +UPDATE AD_Column SET FieldLength=22,Updated=TO_TIMESTAMP('2010-06-13 22:21:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59228 +; + +-- Jun 13, 2010 10:25:06 PM CDT +-- Human Resource Management +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59230,146,0,17,118,53102,'AccountSign',TO_TIMESTAMP('2010-06-13 22:25:05','YYYY-MM-DD HH24:MI:SS'),0,'Indicates the Natural Sign of the Account as a Debit or Credit','EE02',1,'Indicates if the expected balance for this account should be a Debit or a Credit. If set to Natural, the account sign for an asset or expense account is Debit Sign (i.e. negative if a credit balance).','Y','Y','N','N','N','N','N','N','N','N','N','N','N','Account Sign',0,TO_TIMESTAMP('2010-06-13 22:25:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 13, 2010 10:25:06 PM CDT +-- Human Resource Management +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59230 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Jun 13, 2010 10:25:13 PM CDT +-- Human Resource Management +ALTER TABLE HR_Movement ADD COLUMN AccountSign CHAR(1) DEFAULT NULL +; +