當前位置: 首頁>>代碼示例>>Java>>正文


Java Env.ZERO屬性代碼示例

本文整理匯總了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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:10,代碼來源:X_I_PriceList.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:10,代碼來源:X_C_ProjectLine.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:11,代碼來源:X_C_InvoiceTax.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:9,代碼來源:X_T_Report.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:9,代碼來源:X_HR_ListLine.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:9,代碼來源:X_A_Asset_Group_Acct.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:10,代碼來源:X_M_RequisitionLine.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:11,代碼來源:X_M_MovementLine.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:11,代碼來源:X_Fact_Acct_EndingBalance.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:10,代碼來源:X_C_ProjectLine.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:10,代碼來源:X_C_BP_Group.java

示例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);
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:12,代碼來源:MCost.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:9,代碼來源:X_T_BOMLine.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:10,代碼來源:X_C_DunningRunLine.java

示例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;
}
 
開發者ID:metasfresh,項目名稱:metasfresh,代碼行數:10,代碼來源:X_C_PaymentAllocate.java


注:本文中的org.compiere.util.Env.ZERO屬性示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。