Compiere 3.1

org.compiere.model
Class X_GL_Distribution

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_GL_Distribution
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MDistribution

public class X_GL_Distribution
extends PO

Generated Model for GL_Distribution

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int ACCOUNT_ID_AD_Reference_ID
          Account_ID AD_Reference_ID=132
static int AD_ORGTRX_ID_AD_Reference_ID
          AD_OrgTrx_ID AD_Reference_ID=130
static int C_LOCFROM_ID_AD_Reference_ID
          C_LocFrom_ID AD_Reference_ID=133
static int C_LOCTO_ID_AD_Reference_ID
          C_LocTo_ID AD_Reference_ID=133
protected static KeyNamePair Model
           
static int ORG_ID_AD_Reference_ID
          Org_ID AD_Reference_ID=130
static String POSTINGTYPE_Actual
          Actual = A
static int POSTINGTYPE_AD_Reference_ID
          PostingType AD_Reference_ID=125
static String POSTINGTYPE_Budget
          Budget = B
static String POSTINGTYPE_Commitment
          Commitment = E
static String POSTINGTYPE_Reservation
          Reservation = R
static String POSTINGTYPE_Statistical
          Statistical = S
static int Table_ID
          AD_Table_ID=708
static String Table_Name
          TableName=GL_Distribution
static long updatedMS
          Last Updated Timestamp 2008-06-10 15:12:06.0
static int USER1_ID_AD_Reference_ID
          User1_ID AD_Reference_ID=134
static int USER2_ID_AD_Reference_ID
          User2_ID AD_Reference_ID=137
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_GL_Distribution(Ctx ctx, int GL_Distribution_ID, String trxName)
          Standard Constructor
X_GL_Distribution(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAccount_ID()
          Get Account.
 int getAD_OrgTrx_ID()
          Get Trx Organization.
 int getC_AcctSchema_ID()
          Get Accounting Schema.
 int getC_Activity_ID()
          Get Activity.
 int getC_BPartner_ID()
          Get Business Partner.
 int getC_Campaign_ID()
          Get Campaign.
 int getC_DocType_ID()
          Get Document Type.
 int getC_LocFrom_ID()
          Get Location From.
 int getC_LocTo_ID()
          Get Location To.
 int getC_Project_ID()
          Get Project.
 int getC_SalesRegion_ID()
          Get Sales Region.
 String getDescription()
          Get Description.
 int getGL_Distribution_ID()
          Get GL Distribution.
 String getHelp()
          Get Comment.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_Product_ID()
          Get Product.
 String getName()
          Get Name.
 int getOrg_ID()
          Get Organization.
 BigDecimal getPercentTotal()
          Get Total Percent.
 String getPostingType()
          Get PostingType.
 int getUser1_ID()
          Get User List 1.
 int getUser2_ID()
          Get User List 2.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isAnyAcct()
          Get Any Account.
 boolean isAnyActivity()
          Get Any Activity.
 boolean isAnyBPartner()
          Get Any Bus.Partner.
 boolean isAnyCampaign()
          Get Any Campaign.
 boolean isAnyLocFrom()
          Get Any Location From.
 boolean isAnyLocTo()
          Get Any Location To.
 boolean isAnyOrg()
          Get Any Organization.
 boolean isAnyOrgTrx()
          Get Any Trx Organization.
 boolean isAnyProduct()
          Get Any Product.
 boolean isAnyProject()
          Get Any Project.
 boolean isAnySalesRegion()
          Get Any Sales Region.
 boolean isAnyUser1()
          Get Any User 1.
 boolean isAnyUser2()
          Get Any User 2.
 boolean isPostingTypeValid(String test)
          Is test a valid value.
 boolean isProcessing()
          Get Process Now.
 boolean isValid()
          Get Valid.
 void setAccount_ID(int Account_ID)
          Set Account.
 void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
          Set Trx Organization.
 void setAnyAcct(boolean AnyAcct)
          Set Any Account.
 void setAnyActivity(boolean AnyActivity)
          Set Any Activity.
 void setAnyBPartner(boolean AnyBPartner)
          Set Any Bus.Partner.
 void setAnyCampaign(boolean AnyCampaign)
          Set Any Campaign.
 void setAnyLocFrom(boolean AnyLocFrom)
          Set Any Location From.
 void setAnyLocTo(boolean AnyLocTo)
          Set Any Location To.
 void setAnyOrg(boolean AnyOrg)
          Set Any Organization.
 void setAnyOrgTrx(boolean AnyOrgTrx)
          Set Any Trx Organization.
 void setAnyProduct(boolean AnyProduct)
          Set Any Product.
 void setAnyProject(boolean AnyProject)
          Set Any Project.
 void setAnySalesRegion(boolean AnySalesRegion)
          Set Any Sales Region.
 void setAnyUser1(boolean AnyUser1)
          Set Any User 1.
 void setAnyUser2(boolean AnyUser2)
          Set Any User 2.
 void setC_AcctSchema_ID(int C_AcctSchema_ID)
          Set Accounting Schema.
 void setC_Activity_ID(int C_Activity_ID)
          Set Activity.
 void setC_BPartner_ID(int C_BPartner_ID)
          Set Business Partner.
 void setC_Campaign_ID(int C_Campaign_ID)
          Set Campaign.
 void setC_DocType_ID(int C_DocType_ID)
          Set Document Type.
 void setC_LocFrom_ID(int C_LocFrom_ID)
          Set Location From.
 void setC_LocTo_ID(int C_LocTo_ID)
          Set Location To.
 void setC_Project_ID(int C_Project_ID)
          Set Project.
 void setC_SalesRegion_ID(int C_SalesRegion_ID)
          Set Sales Region.
 void setDescription(String Description)
          Set Description.
 void setGL_Distribution_ID(int GL_Distribution_ID)
          Set GL Distribution.
 void setHelp(String Help)
          Set Comment.
 void setIsValid(boolean IsValid)
          Set Valid.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setName(String Name)
          Set Name.
 void setOrg_ID(int Org_ID)
          Set Organization.
 void setPercentTotal(BigDecimal PercentTotal)
          Set Total Percent.
 void setPostingType(String PostingType)
          Set PostingType.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setUser1_ID(int User1_ID)
          Set User List 1.
 void setUser2_ID(int User2_ID)
          Set User List 2.
 String toString()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=708

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=GL_Distribution

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

AD_ORGTRX_ID_AD_Reference_ID

public static final int AD_ORGTRX_ID_AD_Reference_ID
AD_OrgTrx_ID AD_Reference_ID=130

See Also:
Constant Field Values

ACCOUNT_ID_AD_Reference_ID

public static final int ACCOUNT_ID_AD_Reference_ID
Account_ID AD_Reference_ID=132

See Also:
Constant Field Values

C_LOCFROM_ID_AD_Reference_ID

public static final int C_LOCFROM_ID_AD_Reference_ID
C_LocFrom_ID AD_Reference_ID=133

See Also:
Constant Field Values

C_LOCTO_ID_AD_Reference_ID

public static final int C_LOCTO_ID_AD_Reference_ID
C_LocTo_ID AD_Reference_ID=133

See Also:
Constant Field Values

ORG_ID_AD_Reference_ID

public static final int ORG_ID_AD_Reference_ID
Org_ID AD_Reference_ID=130

See Also:
Constant Field Values

POSTINGTYPE_AD_Reference_ID

public static final int POSTINGTYPE_AD_Reference_ID
PostingType AD_Reference_ID=125

See Also:
Constant Field Values

POSTINGTYPE_Actual

public static final String POSTINGTYPE_Actual
Actual = A

See Also:
Constant Field Values

POSTINGTYPE_Budget

public static final String POSTINGTYPE_Budget
Budget = B

See Also:
Constant Field Values

POSTINGTYPE_Commitment

public static final String POSTINGTYPE_Commitment
Commitment = E

See Also:
Constant Field Values

POSTINGTYPE_Reservation

public static final String POSTINGTYPE_Reservation
Reservation = R

See Also:
Constant Field Values

POSTINGTYPE_Statistical

public static final String POSTINGTYPE_Statistical
Statistical = S

See Also:
Constant Field Values

USER1_ID_AD_Reference_ID

public static final int USER1_ID_AD_Reference_ID
User1_ID AD_Reference_ID=134

See Also:
Constant Field Values

USER2_ID_AD_Reference_ID

public static final int USER2_ID_AD_Reference_ID
User2_ID AD_Reference_ID=137

See Also:
Constant Field Values
Constructor Detail

X_GL_Distribution

public X_GL_Distribution(Ctx ctx,
                         int GL_Distribution_ID,
                         String trxName)
Standard Constructor

Parameters:
ctx - context
GL_Distribution_ID - id
trxName - transaction

X_GL_Distribution

public X_GL_Distribution(Ctx ctx,
                         ResultSet rs,
                         String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
2 - Client

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
PO Info

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_OrgTrx_ID

public void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
Set Trx Organization.

Parameters:
AD_OrgTrx_ID - Performing or initiating organization

getAD_OrgTrx_ID

public int getAD_OrgTrx_ID()
Get Trx Organization.

Returns:
Performing or initiating organization

setAccount_ID

public void setAccount_ID(int Account_ID)
Set Account.

Parameters:
Account_ID - Account used

getAccount_ID

public int getAccount_ID()
Get Account.

Returns:
Account used

setAnyAcct

public void setAnyAcct(boolean AnyAcct)
Set Any Account.

Parameters:
AnyAcct - Match any value of the Account segment

isAnyAcct

public boolean isAnyAcct()
Get Any Account.

Returns:
Match any value of the Account segment

setAnyActivity

public void setAnyActivity(boolean AnyActivity)
Set Any Activity.

Parameters:
AnyActivity - Match any value of the Activity segment

isAnyActivity

public boolean isAnyActivity()
Get Any Activity.

Returns:
Match any value of the Activity segment

setAnyBPartner

public void setAnyBPartner(boolean AnyBPartner)
Set Any Bus.Partner.

Parameters:
AnyBPartner - Match any value of the Business Partner segment

isAnyBPartner

public boolean isAnyBPartner()
Get Any Bus.Partner.

Returns:
Match any value of the Business Partner segment

setAnyCampaign

public void setAnyCampaign(boolean AnyCampaign)
Set Any Campaign.

Parameters:
AnyCampaign - Match any value of the Campaign segment

isAnyCampaign

public boolean isAnyCampaign()
Get Any Campaign.

Returns:
Match any value of the Campaign segment

setAnyLocFrom

public void setAnyLocFrom(boolean AnyLocFrom)
Set Any Location From.

Parameters:
AnyLocFrom - Match any value of the Location From segment

isAnyLocFrom

public boolean isAnyLocFrom()
Get Any Location From.

Returns:
Match any value of the Location From segment

setAnyLocTo

public void setAnyLocTo(boolean AnyLocTo)
Set Any Location To.

Parameters:
AnyLocTo - Match any value of the Location To segment

isAnyLocTo

public boolean isAnyLocTo()
Get Any Location To.

Returns:
Match any value of the Location To segment

setAnyOrg

public void setAnyOrg(boolean AnyOrg)
Set Any Organization.

Parameters:
AnyOrg - Match any value of the Organization segment

isAnyOrg

public boolean isAnyOrg()
Get Any Organization.

Returns:
Match any value of the Organization segment

setAnyOrgTrx

public void setAnyOrgTrx(boolean AnyOrgTrx)
Set Any Trx Organization.

Parameters:
AnyOrgTrx - Match any value of the Transaction Organization segment

isAnyOrgTrx

public boolean isAnyOrgTrx()
Get Any Trx Organization.

Returns:
Match any value of the Transaction Organization segment

setAnyProduct

public void setAnyProduct(boolean AnyProduct)
Set Any Product.

Parameters:
AnyProduct - Match any value of the Product segment

isAnyProduct

public boolean isAnyProduct()
Get Any Product.

Returns:
Match any value of the Product segment

setAnyProject

public void setAnyProject(boolean AnyProject)
Set Any Project.

Parameters:
AnyProject - Match any value of the Project segment

isAnyProject

public boolean isAnyProject()
Get Any Project.

Returns:
Match any value of the Project segment

setAnySalesRegion

public void setAnySalesRegion(boolean AnySalesRegion)
Set Any Sales Region.

Parameters:
AnySalesRegion - Match any value of the Sales Region segment

isAnySalesRegion

public boolean isAnySalesRegion()
Get Any Sales Region.

Returns:
Match any value of the Sales Region segment

setAnyUser1

public void setAnyUser1(boolean AnyUser1)
Set Any User 1.

Parameters:
AnyUser1 - Match any value of the User 1 segment

isAnyUser1

public boolean isAnyUser1()
Get Any User 1.

Returns:
Match any value of the User 1 segment

setAnyUser2

public void setAnyUser2(boolean AnyUser2)
Set Any User 2.

Parameters:
AnyUser2 - Match any value of the User 2 segment

isAnyUser2

public boolean isAnyUser2()
Get Any User 2.

Returns:
Match any value of the User 2 segment

setC_AcctSchema_ID

public void setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema.

Parameters:
C_AcctSchema_ID - Rules for accounting

getC_AcctSchema_ID

public int getC_AcctSchema_ID()
Get Accounting Schema.

Returns:
Rules for accounting

setC_Activity_ID

public void setC_Activity_ID(int C_Activity_ID)
Set Activity.

Parameters:
C_Activity_ID - Business Activity

getC_Activity_ID

public int getC_Activity_ID()
Get Activity.

Returns:
Business Activity

setC_BPartner_ID

public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.

Parameters:
C_BPartner_ID - Identifies a Business Partner

getC_BPartner_ID

public int getC_BPartner_ID()
Get Business Partner.

Returns:
Identifies a Business Partner

setC_Campaign_ID

public void setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.

Parameters:
C_Campaign_ID - Marketing Campaign

getC_Campaign_ID

public int getC_Campaign_ID()
Get Campaign.

Returns:
Marketing Campaign

setC_DocType_ID

public void setC_DocType_ID(int C_DocType_ID)
Set Document Type.

Parameters:
C_DocType_ID - Document type or rules

getC_DocType_ID

public int getC_DocType_ID()
Get Document Type.

Returns:
Document type or rules

setC_LocFrom_ID

public void setC_LocFrom_ID(int C_LocFrom_ID)
Set Location From.

Parameters:
C_LocFrom_ID - Location that inventory was moved from

getC_LocFrom_ID

public int getC_LocFrom_ID()
Get Location From.

Returns:
Location that inventory was moved from

setC_LocTo_ID

public void setC_LocTo_ID(int C_LocTo_ID)
Set Location To.

Parameters:
C_LocTo_ID - Location that inventory was moved to

getC_LocTo_ID

public int getC_LocTo_ID()
Get Location To.

Returns:
Location that inventory was moved to

setC_Project_ID

public void setC_Project_ID(int C_Project_ID)
Set Project.

Parameters:
C_Project_ID - Financial Project

getC_Project_ID

public int getC_Project_ID()
Get Project.

Returns:
Financial Project

setC_SalesRegion_ID

public void setC_SalesRegion_ID(int C_SalesRegion_ID)
Set Sales Region.

Parameters:
C_SalesRegion_ID - Sales coverage region

getC_SalesRegion_ID

public int getC_SalesRegion_ID()
Get Sales Region.

Returns:
Sales coverage region

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setGL_Distribution_ID

public void setGL_Distribution_ID(int GL_Distribution_ID)
Set GL Distribution.

Parameters:
GL_Distribution_ID - General Ledger Distribution

getGL_Distribution_ID

public int getGL_Distribution_ID()
Get GL Distribution.

Returns:
General Ledger Distribution

setHelp

public void setHelp(String Help)
Set Comment.

Parameters:
Help - Comment, Help or Hint

getHelp

public String getHelp()
Get Comment.

Returns:
Comment, Help or Hint

setIsValid

public void setIsValid(boolean IsValid)
Set Valid.

Parameters:
IsValid - Element is valid

isValid

public boolean isValid()
Get Valid.

Returns:
Element is valid

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Parameters:
M_Product_ID - Product, Service, Item

getM_Product_ID

public int getM_Product_ID()
Get Product.

Returns:
Product, Service, Item

setName

public void setName(String Name)
Set Name.

Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setOrg_ID

public void setOrg_ID(int Org_ID)
Set Organization.

Parameters:
Org_ID - Organizational entity within client

getOrg_ID

public int getOrg_ID()
Get Organization.

Returns:
Organizational entity within client

setPercentTotal

public void setPercentTotal(BigDecimal PercentTotal)
Set Total Percent.

Parameters:
PercentTotal - Sum of the Percent details

getPercentTotal

public BigDecimal getPercentTotal()
Get Total Percent.

Returns:
Sum of the Percent details

isPostingTypeValid

public boolean isPostingTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setPostingType

public void setPostingType(String PostingType)
Set PostingType.

Parameters:
PostingType - The type of posted amount for the transaction

getPostingType

public String getPostingType()
Get PostingType.

Returns:
The type of posted amount for the transaction

setProcessing

public void setProcessing(boolean Processing)
Set Process Now.

Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Returns:
Process Now

setUser1_ID

public void setUser1_ID(int User1_ID)
Set User List 1.

Parameters:
User1_ID - User defined list element #1

getUser1_ID

public int getUser1_ID()
Get User List 1.

Returns:
User defined list element #1

setUser2_ID

public void setUser2_ID(int User2_ID)
Set User List 2.

Parameters:
User2_ID - User defined list element #2

getUser2_ID

public int getUser2_ID()
Get User List 2.

Returns:
User defined list element #2

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.