Hi @amrzahran12 , I just saw your post after responding to another post about BOM structures.
I wonder if the example I have supplied here may be of use to you too