|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.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.model.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Fields inherited from interface org.compiere.model.I_PA_ReportLine |
|---|
accessLevel, COLUMNNAME_AmountType, COLUMNNAME_CalculationType, COLUMNNAME_Description, COLUMNNAME_GL_Budget_ID, COLUMNNAME_IsPrinted, COLUMNNAME_LineType, COLUMNNAME_Name, COLUMNNAME_Oper_1_ID, COLUMNNAME_Oper_2_ID, COLUMNNAME_PA_ReportLine_ID, COLUMNNAME_PA_ReportLineSet_ID, COLUMNNAME_PostingType, COLUMNNAME_SeqNo, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MReportLine(Properties ctx,
int PA_ReportLine_ID,
String trxName)
Constructor |
|
MReportLine(Properties ctx,
ResultSet rs,
String trxName)
Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MReportLine |
copy(Properties 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 |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_PA_ReportLine |
|---|
get_AccessLevel, getAmountType, getCalculationType, getDescription, getGL_Budget_ID, getGL_Budget, getKeyNamePair, getLineType, getName, getOper_1_ID, getOper_2_ID, getPA_ReportLine_ID, getPA_ReportLineSet_ID, getPA_ReportLineSet, getPostingType, getSeqNo, initPO, isPrinted, setAmountType, setCalculationType, setDescription, setGL_Budget_ID, setIsPrinted, setLineType, setName, setOper_1_ID, setOper_2_ID, setPA_ReportLine_ID, setPA_ReportLineSet_ID, setPostingType, setSeqNo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MReportLine(Properties ctx,
int PA_ReportLine_ID,
String trxName)
ctx - contextPA_ReportLine_ID - idtrxName - transaction
public MReportLine(Properties 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(Properties 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
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||