⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 x_gl_distribution.java

📁 大家共享愉快, 共享愉快, 共享愉快, 共享愉快,共享愉快
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/** Generated Model - DO NOT CHANGE - Copyright (C) 1999-2005 Jorg Janke */
package org.compiere.model;
import java.util.*;
import java.sql.*;
import java.math.*;
import org.compiere.util.*;
/** Generated Model for GL_Distribution
 *  @author Jorg Janke (generated) 
 *  @version Release 2.5.3b - 2006-02-09 16:43:01.342 */
public class X_GL_Distribution extends PO
{
/** Standard Constructor */
public X_GL_Distribution (Properties ctx, int GL_Distribution_ID, String trxName)
{
super (ctx, GL_Distribution_ID, trxName);
/** if (GL_Distribution_ID == 0)
{
setAnyAcct (true);	// Y
setAnyActivity (true);	// Y
setAnyBPartner (true);	// Y
setAnyCampaign (true);	// Y
setAnyLocFrom (true);	// Y
setAnyLocTo (true);	// Y
setAnyOrg (true);	// Y
setAnyOrgTrx (true);	// Y
setAnyProduct (true);	// Y
setAnyProject (true);	// Y
setAnySalesRegion (true);	// Y
setAnyUser1 (true);	// Y
setAnyUser2 (true);	// Y
setC_AcctSchema_ID (0);
setGL_Distribution_ID (0);
setIsValid (false);	// N
setName (null);
setPercentTotal (Env.ZERO);
}
 */
}
/** Load Constructor */
public X_GL_Distribution (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AD_Table_ID=708 */
public static final int Table_ID=708;

/** TableName=GL_Distribution */
public static final String Table_Name="GL_Distribution";

protected static KeyNamePair Model = new KeyNamePair(708,"GL_Distribution");

protected BigDecimal accessLevel = new BigDecimal(2);
/** AccessLevel 2 - Client  */
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID);
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_GL_Distribution[").append(get_ID()).append("]");
return sb.toString();
}

/** AD_OrgTrx_ID AD_Reference_ID=130 */
public static final int AD_ORGTRX_ID_AD_Reference_ID=130;
/** Set Trx Organization.
Performing or initiating organization */
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID)
{
if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null);
 else 
set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID));
}
/** Get Trx Organization.
Performing or initiating organization */
public int getAD_OrgTrx_ID() 
{
Integer ii = (Integer)get_Value("AD_OrgTrx_ID");
if (ii == null) return 0;
return ii.intValue();
}

/** Account_ID AD_Reference_ID=132 */
public static final int ACCOUNT_ID_AD_Reference_ID=132;
/** Set Account.
Account used */
public void setAccount_ID (int Account_ID)
{
if (Account_ID <= 0) set_Value ("Account_ID", null);
 else 
set_Value ("Account_ID", new Integer(Account_ID));
}
/** Get Account.
Account used */
public int getAccount_ID() 
{
Integer ii = (Integer)get_Value("Account_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Any Account.
Match any value of the Account segment */
public void setAnyAcct (boolean AnyAcct)
{
set_Value ("AnyAcct", new Boolean(AnyAcct));
}
/** Get Any Account.
Match any value of the Account segment */
public boolean isAnyAcct() 
{
Object oo = get_Value("AnyAcct");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Activity.
Match any value of the Activity segment */
public void setAnyActivity (boolean AnyActivity)
{
set_Value ("AnyActivity", new Boolean(AnyActivity));
}
/** Get Any Activity.
Match any value of the Activity segment */
public boolean isAnyActivity() 
{
Object oo = get_Value("AnyActivity");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Bus.Partner.
Match any value of the Business Partner segment */
public void setAnyBPartner (boolean AnyBPartner)
{
set_Value ("AnyBPartner", new Boolean(AnyBPartner));
}
/** Get Any Bus.Partner.
Match any value of the Business Partner segment */
public boolean isAnyBPartner() 
{
Object oo = get_Value("AnyBPartner");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Campaign.
Match any value of the Campaign segment */
public void setAnyCampaign (boolean AnyCampaign)
{
set_Value ("AnyCampaign", new Boolean(AnyCampaign));
}
/** Get Any Campaign.
Match any value of the Campaign segment */
public boolean isAnyCampaign() 
{
Object oo = get_Value("AnyCampaign");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Location From.
Match any value of the Location From segment */
public void setAnyLocFrom (boolean AnyLocFrom)
{
set_Value ("AnyLocFrom", new Boolean(AnyLocFrom));
}
/** Get Any Location From.
Match any value of the Location From segment */
public boolean isAnyLocFrom() 
{
Object oo = get_Value("AnyLocFrom");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Location To.
Match any value of the Location To segment */
public void setAnyLocTo (boolean AnyLocTo)
{
set_Value ("AnyLocTo", new Boolean(AnyLocTo));
}
/** Get Any Location To.
Match any value of the Location To segment */
public boolean isAnyLocTo() 
{
Object oo = get_Value("AnyLocTo");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Organization.
Match any value of the Organization segment */
public void setAnyOrg (boolean AnyOrg)
{
set_Value ("AnyOrg", new Boolean(AnyOrg));
}
/** Get Any Organization.
Match any value of the Organization segment */
public boolean isAnyOrg() 
{
Object oo = get_Value("AnyOrg");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Trx Organization.
Match any value of the Transaction Organization segment */
public void setAnyOrgTrx (boolean AnyOrgTrx)
{
set_Value ("AnyOrgTrx", new Boolean(AnyOrgTrx));
}
/** Get Any Trx Organization.
Match any value of the Transaction Organization segment */
public boolean isAnyOrgTrx() 
{
Object oo = get_Value("AnyOrgTrx");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Product.
Match any value of the Product segment */
public void setAnyProduct (boolean AnyProduct)
{
set_Value ("AnyProduct", new Boolean(AnyProduct));
}
/** Get Any Product.
Match any value of the Product segment */
public boolean isAnyProduct() 
{
Object oo = get_Value("AnyProduct");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Project.
Match any value of the Project segment */
public void setAnyProject (boolean AnyProject)
{
set_Value ("AnyProject", new Boolean(AnyProject));
}
/** Get Any Project.
Match any value of the Project segment */
public boolean isAnyProject() 
{
Object oo = get_Value("AnyProject");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any Sales Region.
Match any value of the Sales Region segment */
public void setAnySalesRegion (boolean AnySalesRegion)
{
set_Value ("AnySalesRegion", new Boolean(AnySalesRegion));
}
/** Get Any Sales Region.
Match any value of the Sales Region segment */
public boolean isAnySalesRegion() 
{
Object oo = get_Value("AnySalesRegion");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any User 1.
Match any value of the User 1 segment */
public void setAnyUser1 (boolean AnyUser1)
{
set_Value ("AnyUser1", new Boolean(AnyUser1));
}
/** Get Any User 1.
Match any value of the User 1 segment */
public boolean isAnyUser1() 
{
Object oo = get_Value("AnyUser1");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Any User 2.
Match any value of the User 2 segment */
public void setAnyUser2 (boolean AnyUser2)
{
set_Value ("AnyUser2", new Boolean(AnyUser2));
}
/** Get Any User 2.
Match any value of the User 2 segment */
public boolean isAnyUser2() 
{
Object oo = get_Value("AnyUser2");
if (oo != null) 
{
 if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
 return "Y".equals(oo);
}
return false;
}
/** Set Accounting Schema.
Rules for accounting */
public void setC_AcctSchema_ID (int C_AcctSchema_ID)
{
if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory.");
set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID));
}
/** Get Accounting Schema.
Rules for accounting */
public int getC_AcctSchema_ID() 
{
Integer ii = (Integer)get_Value("C_AcctSchema_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Activity.
Business Activity */
public void setC_Activity_ID (int C_Activity_ID)
{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -