Greetings to the whole community SCRM!

I explain this problem immediately.

I'm customizing sugar for the management of insurance policies of a company.
This is to calculate the compensation that it is for the consultants.
I have created with the module builder, Online 2 (customers and companies).
The consultants are the users authenticated sugar.

For the management and policies of the respective fees of consultants
I have created several tables and some php files that are displayed with IFRAME in sugar.

And so far, so good.
Now I need to create reports. Each authenticated user of sugar (consultants)
must be able to see only their policies taken out.
POLICY The table I created is the key for authenticated users
of SugarCRM.

The problem can not solved is how to show only the policies of the authenticated users.

I hope someone can give me an effective solution.

Thanks
Damir