|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_C_DocType
org.compiere.model.MDocType
public class MDocType
Document Type Model
| Field Summary |
|---|
| 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 | |
|---|---|
MDocType(Ctx ctx,
int C_DocType_ID,
String trxName)
Standard Constructor |
|
MDocType(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MDocType(Ctx ctx,
String DocBaseType,
String Name,
String trxName)
New Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MDocType |
get(Ctx ctx,
int C_DocType_ID)
Get Document Type (cached) |
static MDocType[] |
getOfClient(Ctx ctx)
Get Client Document Types |
static MDocType[] |
getOfDocBaseType(Ctx ctx,
String DocBaseType)
Get Client Document Type with DocBaseType |
String |
getPrintName(String AD_Language)
Get Print Name |
boolean |
isOffer()
Is this a Proposal or Quotation |
boolean |
isProposal()
Is this a Proposal (Not binding) |
boolean |
isQuotation()
Is this a Quotation (Binding) |
void |
setGL_Category_ID()
Set Default GL Category |
void |
setIsSOTrx()
Set SOTrx based on document base type |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MDocType(Ctx ctx,
int C_DocType_ID,
String trxName)
ctx - contextC_DocType_ID - idtrxName - transaction
public MDocType(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction
public MDocType(Ctx ctx,
String DocBaseType,
String Name,
String trxName)
ctx - contextDocBaseType - document base typeName - nametrxName - transaction| Method Detail |
|---|
public static MDocType[] getOfDocBaseType(Ctx ctx,
String DocBaseType)
ctx - contextDocBaseType - base document type
public static MDocType[] getOfClient(Ctx ctx)
ctx - context
public static MDocType get(Ctx ctx,
int C_DocType_ID)
ctx - contextC_DocType_ID - id
public void setGL_Category_ID()
public void setIsSOTrx()
public String toString()
toString in class X_C_DocTypepublic boolean isQuotation()
public boolean isProposal()
public boolean isOffer()
public String getPrintName(String AD_Language)
AD_Language - language
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||