function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sunny NarulaSunny Narula 

Order line items under the products object

I need to have Order line items under the Products object,
as one Order might have multiple products.

Please guide me how it can be related while creating Orders


Sourajit MohantySourajit Mohanty
In simple words, Order line items(also known as Order Products) refers to the Products associated with an Order.
You cannot have Order line items under the Products object. Because Order line items refers to Products only ie. those Products which are assosciated with an Order.
Inorder to add Order line items to an Order record, go to the related list of an Order record--->Order Products Related list--->Add products

Hope I was able to answer your query.