SAIF.Business.Policy.Agency database tables
This page catalogs the Oracle tables read by SAIF.Business.Policy.Agency.
Table catalog
| Table |
Database |
Schema/Link |
CRUD |
Purpose |
Primary business object |
| AGENCY |
Oracle |
[unqualified] |
R |
Stores agency identity, status, paperless, routing, and payment flags. |
clsAgency |
| AGENCY_CONTRACT |
Oracle |
[unqualified] |
R |
Stores agency appointment, payment-frequency, and commission schedule data. |
clsAgencyContract |
| AGENT |
Oracle |
[unqualified] |
R |
Stores both agency-office and producer rows, distinguished by retrieval predicates. |
clsAgencyOffice, clsProducer |
| POLICY |
Oracle |
[unqualified] |
R |
Stores the agent-of-record key used by the producer lookup helper. |
clsProducer |
AGENCY
| Field |
Value |
| Database |
Oracle |
| Schema/Link |
[unqualified] |
| Purpose |
Stores the main agency record used by keyed retrieves, collection filters, and status predicates. |
| Access pattern |
Direct SQL |
| CRUD operations |
Read |
| Key columns used |
AGENCY_SEQ_NUM, AGENCY_FEID, AGENCY_EFF_DATE, AGENCY_EXP_DATE, AGENCY_CANCEL_REASON_CODE, DIRECT_WRITER_FLAG, EFT_FLAG, OVERRIDE_CHECK_LIMIT_FLAG, EXCLUDE_NO_TOUCH_QUOTE_FLAG |
| Sequence |
N/A |
| Related tables |
AGENCY_CONTRACT, AGENT |
| Business objects |
clsAgency, clsAgencyCollection |
Operations referencing this table
Business rules referencing this table
SQL referencing this table
AGENCY_CONTRACT
| Field |
Value |
| Database |
Oracle |
| Schema/Link |
[unqualified] |
| Purpose |
Stores appointment and commission settings used to classify agencies and producer-commission eligibility. |
| Access pattern |
Direct SQL |
| CRUD operations |
Read |
| Key columns used |
AGENCY_CONTRACT_SEQ_NUM, AGENCY_SEQ_NUM, AGENCY_CONTRACT_TYPE_CODE, COMM_GL_TYPE_CODE, EFF_DATE, EXP_DATE |
| Sequence |
N/A |
| Related tables |
AGENCY |
| Business objects |
clsAgencyContract, clsAgencyContractCollection, clsAgencyCollection |
Operations referencing this table
Business rules referencing this table
SQL referencing this table
AGENT
| Field |
Value |
| Database |
Oracle |
| Schema/Link |
[unqualified] |
| Purpose |
Stores both office/location rows and producer rows used by the agency domain model. |
| Access pattern |
Direct SQL |
| CRUD operations |
Read |
| Key columns used |
AGENT_NUM, AGENCY_SEQ_NUM, AGENCY_LOCATION_FLAG, EXCLUDE_LOV_FLAG, EXCLUDE_SVC_CTR_FLAG, AGENT_EFF_DATE, AGENT_EXP_DATE, MAIL_ADDR_LOC_SEQ_NUM |
| Sequence |
N/A |
| Related tables |
AGENCY, POLICY |
| Business objects |
clsAgencyOffice, clsAgencyOfficeCollection, clsProducer, clsProducerCollection |
Operations referencing this table
Business rules referencing this table
SQL referencing this table
POLICY
| Field |
Value |
| Database |
Oracle |
| Schema/Link |
[unqualified] |
| Purpose |
Supplies the agent-of-record key for the direct producer helper lookup. |
| Access pattern |
Direct SQL |
| CRUD operations |
Read |
| Key columns used |
POLICY_NUM, AGENT_NUM |
| Sequence |
N/A |
| Related tables |
AGENT |
| Business objects |
clsProducer |
Operations referencing this table
Business rules referencing this table
SQL referencing this table
Table relationship diagram
The following diagram shows the relationships implied by this library's SQL.
erDiagram
AGENCY ||--o{ AGENCY_CONTRACT : "AGENCY_SEQ_NUM"
AGENCY ||--o{ AGENT : "AGENCY_SEQ_NUM"
AGENT ||--o{ POLICY : "AGENT_NUM"
AGENT ||--|| AGENT : "agency row / office row"
Sources
Business\SAIF.Business.Policy.Agency\clsAgency.vb
Business\SAIF.Business.Policy.Agency\clsAgencyCollection.vb
Business\SAIF.Business.Policy.Agency\clsAgencyContract.vb
Business\SAIF.Business.Policy.Agency\clsAgencyContractCollection.vb
Business\SAIF.Business.Policy.Agency\clsAgencyOffice.vb
Business\SAIF.Business.Policy.Agency\clsAgencyOfficeCollection.vb
Business\SAIF.Business.Policy.Agency\clsProducer.vb
Business\SAIF.Business.Policy.Agency\clsProducerCollection.vb