Lets take we have 2 objects 'Invoice' and 'InvoiceLineItems'. Both are in Master Detail relationship. At OWD Level i kept the Private for Invoice. We have a requirement as follows.
I want to share the specific set of 'InvoiceLineitems' to the user based on certain criteria.
Now i want to share only Invoice LineItem record which are meeting the following criteria Status ='Approved' and StartDate =Today and EndDate=Today
I cant create a sharing rule for detail records as its in MD relationship. How can we achieve it? Somebody please help me out