Expense/Receipt Subs
This is a special page that shows the main expense/receipt info and the sub expense/receipt(s) that are tied to it. The page is set up to show the main info on the top followed by the subs (and all of their details) below. One of the main purposes for this report is to check the line items on the subs and make sure they are pointed to the correct expense type. The reason for this page is a normal expense/receipt has a one-to-many relationship with its own line items (one expense could have multiple line items). This page shows a one-to-many relationship from one expense/receipt to another plus all of the attached line items. This creates a nested or stacked relationship. In a way, this page acts as a roll-call for who is connected to who and how are they joined.

A typical use for this page is say you have an employee and he/she spends $100 (of his/her own money) on items for your corporation. Let's say they created 5 sub expense/receipts and entered them as expenses that needed to be reimbursed. When it comes time to pay the employee back (from corporate funds), a new expense/receipt will be created and a tie between the 5 sub receipts (reimbursements needed) and the new expense will be created. This is a one-to-many relationship between expense/receipts (each individual expense/receipt also has its own one-to-many from expense to line items). Once fully created, the new main (master) will then correctly hold hands (tie itself) to all of the subs.