|
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_DocTypeCounter
org.compiere.model.MDocTypeCounter
public class MDocTypeCounter
Counter 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 | |
|---|---|
MDocTypeCounter(Ctx ctx,
int C_DocTypeCounter_ID,
String trxName)
Standard Constructor |
|
MDocTypeCounter(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MDocTypeCounter |
get(Ctx ctx,
int C_DocTypeCounter_ID,
String trxName)
Get MDocTypeCounter from Cache |
static String |
getCounterDocBaseType(String DocBaseType)
Get Counter Document BaseType |
static int |
getCounterDocType_ID(Ctx ctx,
int C_DocType_ID)
Get Counter document for document type |
MDocType |
getCounterDocType()
Get Counter Doc Type |
static MDocTypeCounter |
getCounterDocType(Ctx ctx,
int C_DocType_ID)
Get (first) valid Counter document for document type |
MDocType |
getDocType()
Get Doc Type |
void |
setC_DocType_ID(int C_DocType_ID)
Set C_DocType_ID |
void |
setCounter_C_DocType_ID(int Counter_C_DocType_ID)
Set Counter C_DocType_ID |
String |
toString()
String Representation |
String |
validate()
Validate Document Type compatability |
| Methods inherited from class org.compiere.model.X_C_DocTypeCounter |
|---|
get_AccessLevel, getC_DocType_ID, getC_DocTypeCounter_ID, getCounter_C_DocType_ID, getDescription, getDocAction, getKeyNamePair, getName, initPO, isCreateCounter, isDocActionValid, isProcessing, isValid, setC_DocTypeCounter_ID, setDescription, setDocAction, setIsCreateCounter, setIsValid, setName, setProcessing |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MDocTypeCounter(Ctx ctx,
int C_DocTypeCounter_ID,
String trxName)
ctx - contextC_DocTypeCounter_ID - idtrxName - transaction
public MDocTypeCounter(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static int getCounterDocType_ID(Ctx ctx,
int C_DocType_ID)
ctx - contextC_DocType_ID - base document
public static MDocTypeCounter getCounterDocType(Ctx ctx,
int C_DocType_ID)
ctx - contextC_DocType_ID - base document
public static MDocTypeCounter get(Ctx ctx,
int C_DocTypeCounter_ID,
String trxName)
ctx - contextC_DocTypeCounter_ID - idtrxName - transaction
public static String getCounterDocBaseType(String DocBaseType)
DocBaseType - Document Base Type (e.g. SOO)
public void setC_DocType_ID(int C_DocType_ID)
setC_DocType_ID in class X_C_DocTypeCounterC_DocType_ID - idpublic void setCounter_C_DocType_ID(int Counter_C_DocType_ID)
setCounter_C_DocType_ID in class X_C_DocTypeCounterCounter_C_DocType_ID - idpublic MDocType getDocType()
public MDocType getCounterDocType()
public String validate()
public String toString()
toString in class X_C_DocTypeCounterprotected 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 | |||||||||