|
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_PA_ReportLine
org.compiere.report.MReportLine
public class MReportLine
Report Line 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 | |
|---|---|
MReportLine(Ctx ctx,
int PA_ReportLine_ID,
String trxName)
Constructor |
|
MReportLine(Ctx ctx,
ResultSet rs,
String trxName)
Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MReportLine |
copy(Ctx ctx,
int AD_Client_ID,
int AD_Org_ID,
int PA_ReportLineSet_ID,
MReportLine source,
String trxName)
Copy |
String |
getSelectClause(boolean withSum)
Get SQL Select Clause. |
String |
getSourceColumnName()
Get Source Column Name |
MReportSource[] |
getSources()
Get Sources |
String |
getSourceValueQuery()
Get Value Query for Segment Type |
String |
getWhereClause(int PA_Hierarchy_ID)
Get SQL where clause (sources, posting type) |
boolean |
isCalculationTypeAdd()
Calculation Type Add |
boolean |
isCalculationTypePercent()
Calculation Type Percent |
boolean |
isCalculationTypeRange()
Calculation Type Range |
boolean |
isCalculationTypeSubtract()
Calculation Type Subtract |
boolean |
isLineTypeCalculation()
Line Type Calculation |
boolean |
isLineTypeSegmentValue()
Line Type Segment Value |
boolean |
isPeriod()
Is it Period ? |
boolean |
isPostingType()
Has Posting Type |
boolean |
isTotal()
Is it Total ? |
boolean |
isYear()
Is it Year ? |
void |
list()
List Info to System.out |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MReportLine(Ctx ctx,
int PA_ReportLine_ID,
String trxName)
ctx - contextPA_ReportLine_ID - idtrxName - transaction
public MReportLine(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - ResultSet to load fromtrxName - transaction| Method Detail |
|---|
public MReportSource[] getSources()
public void list()
public String getSourceColumnName()
public String getSourceValueQuery()
public String getSelectClause(boolean withSum)
withSum - with SUM() function
public boolean isPeriod()
public boolean isYear()
public boolean isTotal()
public String getWhereClause(int PA_Hierarchy_ID)
PA_Hierarchy_ID - hierarchy
public boolean isPostingType()
public String toString()
toString in class X_PA_ReportLinepublic boolean isLineTypeCalculation()
public boolean isLineTypeSegmentValue()
public boolean isCalculationTypeRange()
public boolean isCalculationTypeAdd()
public boolean isCalculationTypeSubtract()
public boolean isCalculationTypePercent()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
public static MReportLine copy(Ctx ctx,
int AD_Client_ID,
int AD_Org_ID,
int PA_ReportLineSet_ID,
MReportLine source,
String trxName)
ctx - contextAD_Client_ID - parentAD_Org_ID - parentPA_ReportLineSet_ID - parentsource - copy sourcetrxName - transaction
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||