Click or drag to resize

ProductPriceDetermineProductPrice Method

Determines the product price.

Namespace:  Aloe.EnterpriseOne.Model.Crm
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static ProductPrice DetermineProductPrice(
	Product product,
	Quantity quantity,
	MeasurementUnit quantityUnit,
	Nullable<DateTime> calendarDate,
	Customer customer = null,
	Customer shipToCustomer = null,
	EnterpriseCompany enterpriseCompany = null,
	CompanyLocation enterpriseCompanyLocation = null,
	DistributionChannel distributionChannel = null,
	PriceList priceList = null,
	ProductPrice currentPrice = null
)

Parameters

product
Type: Aloe.EnterpriseOne.Model.General.ProductsProduct
The product.
quantity
Type: Aloe.EnterpriseOne.ModelQuantity
The quantity.
quantityUnit
Type: Aloe.EnterpriseOne.Model.GeneralMeasurementUnit
The quantity unit.
calendarDate
Type: SystemNullableDateTime
The calendar date.
customer (Optional)
Type: Aloe.EnterpriseOne.Model.CrmCustomer
The customer.
shipToCustomer (Optional)
Type: Aloe.EnterpriseOne.Model.CrmCustomer
The ship to customer.
enterpriseCompany (Optional)
Type: Aloe.EnterpriseOne.Model.GeneralEnterpriseCompany
The enterprise company.
enterpriseCompanyLocation (Optional)
Type: Aloe.EnterpriseOne.Model.General.ContactsCompanyLocation
The enterprise company location.
distributionChannel (Optional)
Type: Aloe.EnterpriseOne.Model.Crm.MarketingDistributionChannel
The distribution channel.
priceList (Optional)
Type: Aloe.EnterpriseOne.Model.CrmPriceList
The price list.
currentPrice (Optional)
Type: Aloe.EnterpriseOne.Model.CrmProductPrice
The current price is returned by the method if it satisfies the conditions and has the same priority as the determined top price.

Return Value

Type: ProductPrice
See Also