Small Typo fixes.
Beautified toString() method to be more readable.
This commit is contained in:
parent
7b5691b490
commit
e6ba6c493c
|
@ -675,7 +675,7 @@ public class MOrder extends X_C_Order implements DocAction
|
|||
|
||||
/**
|
||||
* Get Lines of Order.
|
||||
* (useb by web store)
|
||||
* (used by web store)
|
||||
* @return lines
|
||||
*/
|
||||
public MOrderLine[] getLines()
|
||||
|
@ -820,7 +820,7 @@ public class MOrder extends X_C_Order implements DocAction
|
|||
|
||||
/**
|
||||
* Set DocAction
|
||||
* @param DocAction doc oction
|
||||
* @param DocAction doc action
|
||||
* @param forceCreation force creation
|
||||
*/
|
||||
public void setDocAction (String DocAction, boolean forceCreation)
|
||||
|
@ -831,7 +831,7 @@ public class MOrder extends X_C_Order implements DocAction
|
|||
|
||||
/**
|
||||
* Set Processed.
|
||||
* Propergate to Lines/Taxes
|
||||
* Propagate to Lines/Taxes
|
||||
* @param processed processed
|
||||
*/
|
||||
public void setProcessed (boolean processed)
|
||||
|
|
|
@ -653,11 +653,12 @@ public class MOrderLine extends X_C_OrderLine
|
|||
public String toString ()
|
||||
{
|
||||
StringBuffer sb = new StringBuffer ("MOrderLine[")
|
||||
.append(get_ID()).append(",Line=").append(getLine())
|
||||
.append(",Ordered=").append(getQtyOrdered())
|
||||
.append(",Delivered=").append(getQtyDelivered())
|
||||
.append(",Invoiced=").append(getQtyInvoiced())
|
||||
.append(",Reserved=").append(getQtyReserved())
|
||||
.append(get_ID())
|
||||
.append(", Line=").append(getLine())
|
||||
.append(", Ordered=").append(getQtyOrdered())
|
||||
.append(", Delivered=").append(getQtyDelivered())
|
||||
.append(", Invoiced=").append(getQtyInvoiced())
|
||||
.append(", Reserved=").append(getQtyReserved())
|
||||
.append(", LineNet=").append(getLineNetAmt())
|
||||
.append ("]");
|
||||
return sb.toString ();
|
||||
|
@ -788,7 +789,7 @@ public class MOrderLine extends X_C_OrderLine
|
|||
/**************************************************************************
|
||||
* Before Save
|
||||
* @param newRecord
|
||||
* @return true if it can be sabed
|
||||
* @return true if it can be saved
|
||||
*/
|
||||
protected boolean beforeSave (boolean newRecord)
|
||||
{
|
||||
|
|
|
@ -43,7 +43,7 @@ public class MOrderTax extends X_C_OrderTax
|
|||
/**
|
||||
* Get Tax Line for Order Line
|
||||
* @param line Order line
|
||||
* @param precision currenct precision
|
||||
* @param precision currency precision
|
||||
* @param oldTax get old tax
|
||||
* @param trxName transaction
|
||||
* @return existing or new tax
|
||||
|
@ -134,7 +134,7 @@ public class MOrderTax extends X_C_OrderTax
|
|||
|
||||
|
||||
/**************************************************************************
|
||||
* Persistency Constructor
|
||||
* Persistence Constructor
|
||||
* @param ctx context
|
||||
* @param ignored ignored
|
||||
* @param trxName transaction
|
||||
|
@ -200,7 +200,7 @@ public class MOrderTax extends X_C_OrderTax
|
|||
|
||||
/**************************************************************************
|
||||
* Calculate/Set Tax Amt from Order Lines
|
||||
* @return true if aclculated
|
||||
* @return true if calculated
|
||||
*/
|
||||
public boolean calculateTaxFromLines ()
|
||||
{
|
||||
|
@ -269,10 +269,11 @@ public class MOrderTax extends X_C_OrderTax
|
|||
*/
|
||||
public String toString ()
|
||||
{
|
||||
StringBuffer sb = new StringBuffer ("MOrderTax[");
|
||||
sb.append("C_Order_ID=").append(getC_Order_ID())
|
||||
.append(",C_Tax_ID=").append(getC_Tax_ID())
|
||||
.append(", Base=").append(getTaxBaseAmt()).append(",Tax=").append(getTaxAmt())
|
||||
StringBuffer sb = new StringBuffer ("MOrderTax[")
|
||||
.append("C_Order_ID=").append(getC_Order_ID())
|
||||
.append(", C_Tax_ID=").append(getC_Tax_ID())
|
||||
.append(", Base=").append(getTaxBaseAmt())
|
||||
.append(", Tax=").append(getTaxAmt())
|
||||
.append ("]");
|
||||
return sb.toString ();
|
||||
} // toString
|
||||
|
|
|
@ -226,15 +226,16 @@ public class MTax extends X_C_Tax
|
|||
|
||||
public String toString()
|
||||
{
|
||||
StringBuffer sb = new StringBuffer("MTax[");
|
||||
sb.append(get_ID()).append(",").append(getName())
|
||||
StringBuffer sb = new StringBuffer("MTax[")
|
||||
.append(get_ID())
|
||||
.append(", Name = ").append(getName())
|
||||
.append(", SO/PO=").append(getSOPOType())
|
||||
.append(",Rate=").append(getRate())
|
||||
.append(",C_TaxCategory_ID=").append(getC_TaxCategory_ID())
|
||||
.append(",Summary=").append(isSummary())
|
||||
.append(",Parent=").append(getParent_Tax_ID())
|
||||
.append(",Country=").append(getC_Country_ID()).append("|").append(getTo_Country_ID())
|
||||
.append(",Region=").append(getC_Region_ID()).append("|").append(getTo_Region_ID())
|
||||
.append(", Rate=").append(getRate())
|
||||
.append(", C_TaxCategory_ID=").append(getC_TaxCategory_ID())
|
||||
.append(", Summary=").append(isSummary())
|
||||
.append(", Parent=").append(getParent_Tax_ID())
|
||||
.append(", Country=").append(getC_Country_ID()).append("|").append(getTo_Country_ID())
|
||||
.append(", Region=").append(getC_Region_ID()).append("|").append(getTo_Region_ID())
|
||||
.append("]");
|
||||
return sb.toString();
|
||||
} // toString
|
||||
|
|
Loading…
Reference in New Issue