Click or drag to resize

SalesOrderLineCalculateUnitPriceFromLineAmount Method

Returns LineAmount divided by Quantity considering discount percents.

Namespace:  Aloe.EnterpriseOne.Model.Crm.Sales
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static Amount CalculateUnitPriceFromLineAmount(
	Amount lineAmount,
	Quantity quantity,
	decimal lineStandardDiscountPercent,
	decimal lineCustomDiscountPercent
)

Parameters

lineAmount
Type: Aloe.EnterpriseOne.ModelAmount
quantity
Type: Aloe.EnterpriseOne.ModelQuantity
lineStandardDiscountPercent
Type: SystemDecimal
lineCustomDiscountPercent
Type: SystemDecimal

Return Value

Type: Amount
See Also