Which module is responsible for selecting the products in order?

Hi Team,

In Order section, we can place an order against an "Account".
In "Account" we can set a price list for a particular account.

While adding products in the Order section for a corresponding account, the products are displayed based on the price list column set in that account. This is achieved by calling a web service "PriceListService".


		[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
			ResponseFormat = WebMessageFormat.Json)]
		public Guid GetPriceList(Guid accountId) {
			var priceListPicker = ClassFactory.Get<IPriceListPicker>(new ConstructorArgument("userConnection",
			var	preSetPriceList = priceListPicker.GetPriceList(accountId);
			return preSetPriceList != default(Guid)
				? preSetPriceList
				: priceListPicker.GetPriceList(UserConnection.CurrentUser.AccountId);

But which client module is calling this web-service while adding products?

The responsible module must be an order product detail schema or page or the base page in this hierarchy. Please guide me on the module and the place where the web service is called.

Bhoobalan Palanivelu.

Like 0



That service is being called from BaseOrderPage. In that schema there is a function that calls it named "initializePredefinedPriceList" (the actual service being called is defined in "getPriceListServiceConfig")


Ryan Farley,

Thanks, Ryan!

Hopefully, this Base Order page is allowed in Replacing View model. It can override the getPriceListServiceConfig calling method and define a custom web service to filter the products with custom parameters.

Bhoobalan Palanivelu.

Bhoobalan Palanivelu,

Yes, you should have no issue creating a replacing schema for BaseOrderPage and then override the methods as needed.


Ryan Farley,


When the (+) is clicked in Product detail (in the order section) it opens a Product List page though the detail is editable. Where is the code for add record icon and it's not available in "OrderProductDetailV2" ? and how does this product list page is opened (ProductSelectionSchema).

Step 1: Which client schema page has this add event?

Step 2: How does the Account & Price List filter is applied to Product List page.

Insight on the Schema's name and the place where the code triggering the corresponding action will be helpful.

BHoobalan Palanivelu.

Bhoobalan Palanivelu,

Hello Bhoobalan

Please do you have a suggestion on how to implement the Product Catalog that appears in the order Section, for opportunity Products in Opportunity section. Your suggestions are much appreciated !

Show all comments