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

Regarding related lists

hi i have three custom objects bills customers and products and what I am trying to do is that when we create a bill it should be populated on the customers related list.. And the bill should contain the related products on the .. there can be multiple products and it won't be possible to create a new product on every bill we should be able to select multiple products for a bill . how can we achieve this...




First you need a lookup field in bill to consumer.


Second, you need to create a new object called BillLine (or the name you wish) with 1 lookup, (BillLine to product) and 1 Master-Detail relation (BillLine to Bill).


When you create a bill, you need to add one line for each product.


Hope it helps.




Hi again,


did my answer helped you? do you need more help?