The detailing at design stage is very important.
Fixing flat roof to wall.
That lip is then set into a reglet or groove in this case cut into the mortar joint of the brick wall above.
To fix the joists and rafters down on to the wall plates they should be toe or skew nailed to the top plate like below.
To install the roof wall flashing above the builder bent the top edge of the flashing into a 90 degree lip about 2 cm in width.
A common area which needs to be designed and constructed properly is the joint between the flat roof and any parapet wall.
And tie it into your hip roof.
Sweep away water and debris from the damaged area.
This is a long video but it will show you how to do it.
Make sure you offset yo.
To clear the roof use a tough broom.
Otherwise setting roof trusses onto wall plates can be done by the average do it yourselfer usually in one to two days depending on the size and scope of the project.
Fixing roof trusses to a wall plate requires a small amount of carpentry knowledge such as the abilities to read a tape measure and operate a framing square.
Each short section of flashing channels water over the shingle downhill from it.
But if the flashing rusts through or a piece comes loose water will run right behind it and into the house it goes.
Unless it is detailed to allow for movement any slight deflection of the roof could cause a break in the waterproofing membrane at the roof parapet wall junction.
Any leftover dirt gravel and water in the area can prevent the repair material from bonding to the roof.
Always clean up any areas you wish to repair.
How to remove repair and install a flat roof.