When a P&ID drawing is opened from the current project, P&ID attempts to insert it into the project. The Insert Drawing into Project Database dialog box opens to confirm this action.
When Insert Into DB is clicked, rows are added to the appropriate tables within the database. P&ID drawings created without a database have xdata attached to each component that allows the software to automatically add rows into the appropriate tables.