Before you can import data, you need an understanding of the database structure, how the tables are used, and how the tables are associated and interlinked with one another.
To help understand the tables and the flow of the data between the tables, we can divide the tables into three groups:
- · InFile tables are the tables to which data is loaded from outside systems.
- · Configuration tables are primarily used to store data used to maintain records of transactions.
- · The Transaction tables contain references to key configuration data used to process the transaction.
The diagram below shows that each configuration table has a corresponding inFile table. For example, the Broker table has a corresponding inFile table called inBroker..
Of course, there are many more tables, but you don’t need to know them all. You just need to know the key fields in some commonly used tables: Broker and BrokerDetail, Customer, Transaction Header (TranHead), Transaction History (TranHis) and BrokerHistory.
The Broker table contains information about hierarchies and the assignment of customer and policy ownership.
The Broker Detail table contains details for the Broker that can change over time, such as the expiration date and business type.
The Customer table contains the master record for each customer. An example of a customer mapped into APM would be an Employee Group, a member of an individual health plan, or a policy holder. The customer record typically only contains basic demographic information and does not contain date sensitive coverage details.
The TranHead table contains the static header information for the billing transaction.
The TranHis table holds the details for each dated transaction. It is used as the source information for computation of the commission amount.
The BrokerHistory table contains the summary of all Broker balances, including earned and paid commissions by billing period. Records in this table are generated when a transaction is posted.
To see a full list of related tables and key fields, see Lesson 1 of the Appendix to this course.