Package org.compiere.model
Class X_GL_BudgetControl
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_GL_BudgetControl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_GL_BudgetControl
,I_Persistent
,Evaluatee
public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Persistent
Generated Model for GL_BudgetControl- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BUDGETCONTROLSCOPE_AD_Reference_ID
BudgetControlScope AD_Reference_ID=361static String
BUDGETCONTROLSCOPE_PeriodOnly
Period only = Pstatic String
BUDGETCONTROLSCOPE_Total
Total = Tstatic String
BUDGETCONTROLSCOPE_YearToDate
Year To Date = Ystatic int
COMMITMENTTYPE_AD_Reference_ID
CommitmentType AD_Reference_ID=359static String
COMMITMENTTYPE_None
None = Nstatic String
COMMITMENTTYPE_POCommitmentOnly
PO Commitment only = Cstatic String
COMMITMENTTYPE_POCommitmentReservation
PO Commitment & Reservation = Bstatic String
COMMITMENTTYPE_POSOCommitment
PO/SO Commitment = Ostatic String
COMMITMENTTYPE_POSOCommitmentReservation
PO/SO Commitment & Reservation = Astatic String
COMMITMENTTYPE_SOCommitmentOnly
SO Commitment only = S-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_GL_BudgetControl
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_BudgetControlScope, COLUMNNAME_C_AcctSchema_ID, COLUMNNAME_CommitmentType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_GL_Budget_ID, COLUMNNAME_GL_BudgetControl_ID, COLUMNNAME_GL_BudgetControl_UU, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_IsBeforeApproval, COLUMNNAME_Name, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_GL_BudgetControl(Properties ctx, int GL_BudgetControl_ID, String trxName)
Standard ConstructorX_GL_BudgetControl(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelString
getBudgetControlScope()
Get Control Scope.I_C_AcctSchema
getC_AcctSchema()
int
getC_AcctSchema_ID()
Get Accounting Schema.String
getCommitmentType()
Get Commitment Type.String
getDescription()
Get Description.I_GL_Budget
getGL_Budget()
int
getGL_Budget_ID()
Get Budget.int
getGL_BudgetControl_ID()
Get Budget Control.String
getGL_BudgetControl_UU()
Get GL_BudgetControl_UU.String
getHelp()
Get Comment/Help.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isBeforeApproval()
Get Before Approval.void
setBudgetControlScope(String BudgetControlScope)
Set Control Scope.void
setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema.void
setCommitmentType(String CommitmentType)
Set Commitment Type.void
setDescription(String Description)
Set Description.void
setGL_Budget_ID(int GL_Budget_ID)
Set Budget.void
setGL_BudgetControl_ID(int GL_BudgetControl_ID)
Set Budget Control.void
setGL_BudgetControl_UU(String GL_BudgetControl_UU)
Set GL_BudgetControl_UU.void
setHelp(String Help)
Set Comment/Help.void
setIsBeforeApproval(boolean IsBeforeApproval)
Set Before Approval.void
setName(String Name)
Set Name.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_GL_BudgetControl
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
BUDGETCONTROLSCOPE_AD_Reference_ID
public static final int BUDGETCONTROLSCOPE_AD_Reference_ID
BudgetControlScope AD_Reference_ID=361- See Also:
- Constant Field Values
-
BUDGETCONTROLSCOPE_PeriodOnly
public static final String BUDGETCONTROLSCOPE_PeriodOnly
Period only = P- See Also:
- Constant Field Values
-
BUDGETCONTROLSCOPE_Total
public static final String BUDGETCONTROLSCOPE_Total
Total = T- See Also:
- Constant Field Values
-
BUDGETCONTROLSCOPE_YearToDate
public static final String BUDGETCONTROLSCOPE_YearToDate
Year To Date = Y- See Also:
- Constant Field Values
-
COMMITMENTTYPE_AD_Reference_ID
public static final int COMMITMENTTYPE_AD_Reference_ID
CommitmentType AD_Reference_ID=359- See Also:
- Constant Field Values
-
COMMITMENTTYPE_POSOCommitmentReservation
public static final String COMMITMENTTYPE_POSOCommitmentReservation
PO/SO Commitment & Reservation = A- See Also:
- Constant Field Values
-
COMMITMENTTYPE_POCommitmentReservation
public static final String COMMITMENTTYPE_POCommitmentReservation
PO Commitment & Reservation = B- See Also:
- Constant Field Values
-
COMMITMENTTYPE_POCommitmentOnly
public static final String COMMITMENTTYPE_POCommitmentOnly
PO Commitment only = C- See Also:
- Constant Field Values
-
COMMITMENTTYPE_None
public static final String COMMITMENTTYPE_None
None = N- See Also:
- Constant Field Values
-
COMMITMENTTYPE_POSOCommitment
public static final String COMMITMENTTYPE_POSOCommitment
PO/SO Commitment = O- See Also:
- Constant Field Values
-
COMMITMENTTYPE_SOCommitmentOnly
public static final String COMMITMENTTYPE_SOCommitmentOnly
SO Commitment only = S- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_GL_BudgetControl
public X_GL_BudgetControl(Properties ctx, int GL_BudgetControl_ID, String trxName)
Standard Constructor
-
X_GL_BudgetControl
public X_GL_BudgetControl(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setBudgetControlScope
public void setBudgetControlScope(String BudgetControlScope)
Set Control Scope.- Specified by:
setBudgetControlScope
in interfaceI_GL_BudgetControl
- Parameters:
BudgetControlScope
- Scope of the Budget Control
-
getBudgetControlScope
public String getBudgetControlScope()
Get Control Scope.- Specified by:
getBudgetControlScope
in interfaceI_GL_BudgetControl
- Returns:
- Scope of the Budget Control
-
getC_AcctSchema
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException
- Specified by:
getC_AcctSchema
in interfaceI_GL_BudgetControl
- Throws:
RuntimeException
-
setC_AcctSchema_ID
public void setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema.- Specified by:
setC_AcctSchema_ID
in interfaceI_GL_BudgetControl
- Parameters:
C_AcctSchema_ID
- Rules for accounting
-
getC_AcctSchema_ID
public int getC_AcctSchema_ID()
Get Accounting Schema.- Specified by:
getC_AcctSchema_ID
in interfaceI_GL_BudgetControl
- Returns:
- Rules for accounting
-
setCommitmentType
public void setCommitmentType(String CommitmentType)
Set Commitment Type.- Specified by:
setCommitmentType
in interfaceI_GL_BudgetControl
- Parameters:
CommitmentType
- Create Commitment and/or Reservations for Budget Control
-
getCommitmentType
public String getCommitmentType()
Get Commitment Type.- Specified by:
getCommitmentType
in interfaceI_GL_BudgetControl
- Returns:
- Create Commitment and/or Reservations for Budget Control
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_GL_BudgetControl
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_GL_BudgetControl
- Returns:
- Optional short description of the record
-
setGL_BudgetControl_ID
public void setGL_BudgetControl_ID(int GL_BudgetControl_ID)
Set Budget Control.- Specified by:
setGL_BudgetControl_ID
in interfaceI_GL_BudgetControl
- Parameters:
GL_BudgetControl_ID
- Budget Control
-
getGL_BudgetControl_ID
public int getGL_BudgetControl_ID()
Get Budget Control.- Specified by:
getGL_BudgetControl_ID
in interfaceI_GL_BudgetControl
- Returns:
- Budget Control
-
setGL_BudgetControl_UU
public void setGL_BudgetControl_UU(String GL_BudgetControl_UU)
Set GL_BudgetControl_UU.- Specified by:
setGL_BudgetControl_UU
in interfaceI_GL_BudgetControl
- Parameters:
GL_BudgetControl_UU
- GL_BudgetControl_UU
-
getGL_BudgetControl_UU
public String getGL_BudgetControl_UU()
Get GL_BudgetControl_UU.- Specified by:
getGL_BudgetControl_UU
in interfaceI_GL_BudgetControl
- Returns:
- GL_BudgetControl_UU
-
getGL_Budget
public I_GL_Budget getGL_Budget() throws RuntimeException
- Specified by:
getGL_Budget
in interfaceI_GL_BudgetControl
- Throws:
RuntimeException
-
setGL_Budget_ID
public void setGL_Budget_ID(int GL_Budget_ID)
Set Budget.- Specified by:
setGL_Budget_ID
in interfaceI_GL_BudgetControl
- Parameters:
GL_Budget_ID
- General Ledger Budget
-
getGL_Budget_ID
public int getGL_Budget_ID()
Get Budget.- Specified by:
getGL_Budget_ID
in interfaceI_GL_BudgetControl
- Returns:
- General Ledger Budget
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelp
in interfaceI_GL_BudgetControl
- Parameters:
Help
- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelp
in interfaceI_GL_BudgetControl
- Returns:
- Comment or Hint
-
setIsBeforeApproval
public void setIsBeforeApproval(boolean IsBeforeApproval)
Set Before Approval.- Specified by:
setIsBeforeApproval
in interfaceI_GL_BudgetControl
- Parameters:
IsBeforeApproval
- The Check is before the (manual) approval
-
isBeforeApproval
public boolean isBeforeApproval()
Get Before Approval.- Specified by:
isBeforeApproval
in interfaceI_GL_BudgetControl
- Returns:
- The Check is before the (manual) approval
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_GL_BudgetControl
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_GL_BudgetControl
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
-