本文整理匯總了Java中org.compiere.util.Env.ZERO屬性的典型用法代碼示例。如果您正苦於以下問題:Java Env.ZERO屬性的具體用法?Java Env.ZERO怎麽用?Java Env.ZERO使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在類org.compiere.util.Env
的用法示例。
在下文中一共展示了Env.ZERO屬性的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getBreakValue
/** Get Break Value.
@return Low Value of trade discount break level
*/
public BigDecimal getBreakValue ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_BreakValue);
if (bd == null)
return Env.ZERO;
return bd;
}
示例2: getInvoicedAmt
/** Get Invoiced Amount.
@return The amount invoiced
*/
public BigDecimal getInvoicedAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_InvoicedAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
示例3: getTaxBaseAmt
/** Get Bezugswert.
@return Base for calculating the tax amount
*/
@Override
public java.math.BigDecimal getTaxBaseAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_TaxBaseAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
示例4: getCol_1
/** Get Col_1.
@return Col_1 */
public BigDecimal getCol_1 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Col_1);
if (bd == null)
return Env.ZERO;
return bd;
}
示例5: getCol_2
/** Get Col_2.
@return Col_2 */
public BigDecimal getCol_2 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Col_2);
if (bd == null)
return Env.ZERO;
return bd;
}
示例6: getA_Depreciation_Manual_Amount
/** Get A_Depreciation_Manual_Amount.
@return A_Depreciation_Manual_Amount */
public BigDecimal getA_Depreciation_Manual_Amount ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount);
if (bd == null)
return Env.ZERO;
return bd;
}
示例7: Amount
/** Get Line Amount.
@return Line Extended Amount (Quantity * Actual Price) without Freight and Charges
*/
public BigDecimal getLineNetAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_LineNetAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
示例8: getTargetQty
/** Get Zielmenge.
@return Target Movement Quantity
*/
@Override
public java.math.BigDecimal getTargetQty ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_TargetQty);
if (bd == null)
return Env.ZERO;
return bd;
}
示例9: getAmtAcctDr_DTD
/** Get Soll (Day to Date).
@return Debit from day beginning to Date
*/
@Override
public java.math.BigDecimal getAmtAcctDr_DTD ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AmtAcctDr_DTD);
if (bd == null)
return Env.ZERO;
return bd;
}
示例10: getInvoicedQty
/** Get Quantity Invoiced .
@return The quantity invoiced
*/
public BigDecimal getInvoicedQty ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_InvoicedQty);
if (bd == null)
return Env.ZERO;
return bd;
}
示例11: getPriceMatchTolerance
/** Get Price Match Tolerance.
@return PO-Invoice Match Price Tolerance in percent of the purchase price
*/
public BigDecimal getPriceMatchTolerance ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PriceMatchTolerance);
if (bd == null)
return Env.ZERO;
return bd;
}
示例12: setCurrentCostPrice
/**
* Set Current Cost Price
* @param currentCostPrice if null set to 0
*/
@Override
public void setCurrentCostPrice (BigDecimal currentCostPrice)
{
if (currentCostPrice != null)
super.setCurrentCostPrice (currentCostPrice);
else
super.setCurrentCostPrice (Env.ZERO);
}
示例13: getFutureCostPrice
/** Get Future Cost Price.
@return Future Cost Price */
public BigDecimal getFutureCostPrice ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_FutureCostPrice);
if (bd == null)
return Env.ZERO;
return bd;
}
示例14: getTotalAmt
/** Get Total Amount.
@return Total Amount
*/
public BigDecimal getTotalAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_TotalAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
示例15: getOverUnderAmt
/** Get Over/Under Payment.
@return Over-Payment (unallocated) or Under-Payment (partial payment) Amount
*/
public BigDecimal getOverUnderAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_OverUnderAmt);
if (bd == null)
return Env.ZERO;
return bd;
}