本文整理汇总了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;
}