You are here:
The Order Process
A customer wants to buy a product. You use the Vlocity application to determine what you can offer that customer.
The interface calls an implementation to interrupt the workflow and apply Rules. For any account, you can create an opportunity, order, or quote.
Opportunities use the Opportunity Manager, orders use the Order Manager, and quotes use the Quote Manager. These Managers enable you to search for products. The products returned as search results are based on availability and eligibility rules. When a Manager runs, the Availability interface runs first, followed by the Eligibility interface.
When you add a product to the cart, Vlocity calls the ProductEligibilityInterface, the PricingInterface, the ProductValidationInterface, and other interfaces.
Each interface calls an implementation. The implementation, which is written in Apex code, may call a flow. A flow has steps and each step is one action. A flow step may call a Rule. Interface implementations interrupt the CPQ process workflow.
CPQ process workflows include:
-
The business-to-business (B2B) workflow starts with the account. An opportunity, quote, or order is created. Finally, the order is submitted, creating an asset.
-
The business-to-consumer (B2C) workflow starts with an order that is then submitted, creating an asset.
Vlocity uses the following components in order capture:
-
Vlocity Cart
-
Review cart
-
Price Book Entries
-
Convert to Quote using Field MapperMapping Fields Using Field Mapper
-
Configure the Quote
-
Generate the Quote
Order capture uses availability, eligibility, compatibility, and pricing rules. Ineligible and unavailable products are not offered to the customer. Select products are verified for compatibility and priced based on the rules. When the order is submitted, verification can be repeated. Rule execution is business logic that is defined by the interfaces and implementations. Order business process logic includes the following:
-
Filter the products using the availability and eligibilityAvailability and Eligibility Interface Implementations interfaces.
-
Select the product.
-
Check product compatibility.
-
Create the order.
-
Submit the order.
-
Update the order.

