Is this the Inventory starter solution?
For which version of Filemaker ? (filemaker 12 has very different starter solutions from previous versions)
You definitely have some reading up to do. A "relationship" is how you link data in one table to dat in another table. Strictly speaking, it's not a function.
You may want to look up Summary fields in Filemaker Help as you'll likely need those for your report.