 Hello friends, I am Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, I am going to demonstrate you about a re-parenting that is available in master detail relationship. If you want to follow Salesforce related series, you can search me on YouTube also by my name. So I have one custom object that is employee and on employee I have already created a master detail relationship field. So I'm opening employee object and here you can see this master detail to opportunity field is available. So I'm opening this field. And if I scroll it down, you can see an option is available here, re-parentable master detail. So right now it is unchecked. So let me open employee tab. So here if I open a record, you will see this opportunity field is available and it is not editable. So if I added this record, I'm not able to re-parent this opportunity. So for this employee record, this opportunity is logged. Right now in some certain scenarios, if you want to change this value, then you can do it by checking this re-parentable master detail field. So from here you can, you have to click on this allow re-parenting checkbox as true. So it allows child records can be re-parented to other parent record after they are created. So once you created a record, and if you want to change that detail record parent, then you can do it because right now it is checked. So now I am moving to employee object tab again, opening this record. So right now you can see a pencil icon is available here. It means we can edit it. So I'm going to edit this page. So now we can have a lookup link here. So we can choose any other opportunity. So I'm searching for other opportunities and selecting this edge SLA and clicking on save. So this way you can see for this detail record, I changed its parent. So remember that you need to use this checkbox as true or false. If you want to allow re-parenting, then you have to choose it as true. If you don't want, then you can leave it unchecked. So I hope you understood how we can repaint a detailed record. If you want to watch more Salesforce related videos, you can follow me on YouTube by my name. Thank you for watching this video.