Add new EvenType into EventType list reference
http://sourceforge.net/tracker/?func=detail&aid=2893636&group_id=176962&atid=879335
This commit is contained in:
parent
2d273e7fe9
commit
24ac862363
|
@ -41,19 +41,6 @@ public interface I_AD_Rule
|
||||||
|
|
||||||
/** Load Meta Data */
|
/** Load Meta Data */
|
||||||
|
|
||||||
/** Column name AccessLevel */
|
|
||||||
public static final String COLUMNNAME_AccessLevel = "AccessLevel";
|
|
||||||
|
|
||||||
/** Set Data Access Level.
|
|
||||||
* Access Level required
|
|
||||||
*/
|
|
||||||
public void setAccessLevel (String AccessLevel);
|
|
||||||
|
|
||||||
/** Get Data Access Level.
|
|
||||||
* Access Level required
|
|
||||||
*/
|
|
||||||
public String getAccessLevel();
|
|
||||||
|
|
||||||
/** Column name AD_Client_ID */
|
/** Column name AD_Client_ID */
|
||||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||||
|
|
||||||
|
@ -84,6 +71,19 @@ public interface I_AD_Rule
|
||||||
/** Get Rule */
|
/** Get Rule */
|
||||||
public int getAD_Rule_ID();
|
public int getAD_Rule_ID();
|
||||||
|
|
||||||
|
/** Column name AccessLevel */
|
||||||
|
public static final String COLUMNNAME_AccessLevel = "AccessLevel";
|
||||||
|
|
||||||
|
/** Set Data Access Level.
|
||||||
|
* Access Level required
|
||||||
|
*/
|
||||||
|
public void setAccessLevel (String AccessLevel);
|
||||||
|
|
||||||
|
/** Get Data Access Level.
|
||||||
|
* Access Level required
|
||||||
|
*/
|
||||||
|
public String getAccessLevel();
|
||||||
|
|
||||||
/** Column name Created */
|
/** Column name Created */
|
||||||
public static final String COLUMNNAME_Created = "Created";
|
public static final String COLUMNNAME_Created = "Created";
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 20090915L;
|
private static final long serialVersionUID = 20091106L;
|
||||||
|
|
||||||
/** Standard Constructor */
|
/** Standard Constructor */
|
||||||
public X_AD_Rule (Properties ctx, int AD_Rule_ID, String trxName)
|
public X_AD_Rule (Properties ctx, int AD_Rule_ID, String trxName)
|
||||||
|
@ -76,6 +76,26 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Rule.
|
||||||
|
@param AD_Rule_ID Rule */
|
||||||
|
public void setAD_Rule_ID (int AD_Rule_ID)
|
||||||
|
{
|
||||||
|
if (AD_Rule_ID < 1)
|
||||||
|
set_ValueNoCheck (COLUMNNAME_AD_Rule_ID, null);
|
||||||
|
else
|
||||||
|
set_ValueNoCheck (COLUMNNAME_AD_Rule_ID, Integer.valueOf(AD_Rule_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Rule.
|
||||||
|
@return Rule */
|
||||||
|
public int getAD_Rule_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Rule_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
/** AccessLevel AD_Reference_ID=5 */
|
/** AccessLevel AD_Reference_ID=5 */
|
||||||
public static final int ACCESSLEVEL_AD_Reference_ID=5;
|
public static final int ACCESSLEVEL_AD_Reference_ID=5;
|
||||||
/** Organization = 1 */
|
/** Organization = 1 */
|
||||||
|
@ -108,26 +128,6 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent
|
||||||
return (String)get_Value(COLUMNNAME_AccessLevel);
|
return (String)get_Value(COLUMNNAME_AccessLevel);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Rule.
|
|
||||||
@param AD_Rule_ID Rule */
|
|
||||||
public void setAD_Rule_ID (int AD_Rule_ID)
|
|
||||||
{
|
|
||||||
if (AD_Rule_ID < 1)
|
|
||||||
set_ValueNoCheck (COLUMNNAME_AD_Rule_ID, null);
|
|
||||||
else
|
|
||||||
set_ValueNoCheck (COLUMNNAME_AD_Rule_ID, Integer.valueOf(AD_Rule_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Rule.
|
|
||||||
@return Rule */
|
|
||||||
public int getAD_Rule_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Rule_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Description.
|
/** Set Description.
|
||||||
@param Description
|
@param Description
|
||||||
Optional short description of the record
|
Optional short description of the record
|
||||||
|
@ -177,6 +177,8 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent
|
||||||
public static final String EVENTTYPE_ModelValidatorDocumentEvent = "D";
|
public static final String EVENTTYPE_ModelValidatorDocumentEvent = "D";
|
||||||
/** Model Validator Login Event = L */
|
/** Model Validator Login Event = L */
|
||||||
public static final String EVENTTYPE_ModelValidatorLoginEvent = "L";
|
public static final String EVENTTYPE_ModelValidatorLoginEvent = "L";
|
||||||
|
/** Human Resource & Payroll = H */
|
||||||
|
public static final String EVENTTYPE_HumanResourcePayroll = "H";
|
||||||
/** Set Event Type.
|
/** Set Event Type.
|
||||||
@param EventType
|
@param EventType
|
||||||
Type of Event
|
Type of Event
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
-- Nov 6, 2009 5:47:56 PM CST
|
||||||
|
-- Human Resource & Payroll EventType
|
||||||
|
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53551,53236,TO_DATE('2009-11-06 17:47:56','YYYY-MM-DD HH24:MI:SS'),0,'EE02','Y','Human Resource & Payroll',TO_DATE('2009-11-06 17:47:56','YYYY-MM-DD HH24:MI:SS'),0,'H')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 6, 2009 5:47:56 PM CST
|
||||||
|
-- Human Resource & Payroll EventType
|
||||||
|
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53551 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID)
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
-- Nov 6, 2009 5:47:56 PM CST
|
||||||
|
-- Human Resource & Payroll EventType
|
||||||
|
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53551,53236,TO_TIMESTAMP('2009-11-06 17:47:56','YYYY-MM-DD HH24:MI:SS'),0,'EE02','Y','Human Resource & Payroll',TO_TIMESTAMP('2009-11-06 17:47:56','YYYY-MM-DD HH24:MI:SS'),0,'H')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 6, 2009 5:47:56 PM CST
|
||||||
|
-- Human Resource & Payroll EventType
|
||||||
|
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53551 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID)
|
||||||
|
;
|
||||||
|
|
Loading…
Reference in New Issue