SAIF.Business.Policy.Agency overview¶
Documentation context: Packaged Component (NuGet)
SAIF.Business.Policy.Agency is the policy-distribution business-object library for agencies, their contracts, their office locations, and the producers attached to them. It packages read-only BOF business objects over the AGENCY, AGENCY_CONTRACT, AGENT, and POLICY tables while relying on shared framework data-portal services for execution, validation, and object lifecycle management.
Purpose¶
- Provide read-only business objects for retrieving agencies, agency contracts, agency offices, and producers by key, agency scope, FEID, or contract-type criteria.
- Expose lazy and bulk-load navigation patterns so higher-level callers can traverse agency-to-contract and agency-to-producer relationships.
- Supply small helper surfaces such as contract-type classification, office eligibility checks, producer-commission checks, and underwriting-facing agent identity data.
Responsibilities¶
- Retrieve one agency or a filtered set of agencies from
AGENCY. - Retrieve agency contracts from
AGENCY_CONTRACTand translate persisted contract and commission codes into domain enums. - Retrieve agency-office and producer views from
AGENT, including the policy agent-of-record lookup againstPOLICY. - Aggregate producers and contracts across an agency collection without issuing one query per agency.
Key components¶
clsAgencyandclsAgencyCollection: aggregate root plus collection helpers for filtered retrieval and bulk child loading.clsAgencyContractandclsAgencyContractCollection: appointment and commission arrangement model with enum conversion helpers.clsAgencyOfficeandclsAgencyOfficeCollection: office/location view overAGENT.clsProducerandclsProducerCollection: producer view overAGENT, including the policy agent-of-record lookup.clsAgentUnderwritingData: lightweight carrier for agency and producer identity plus mailing address data.Institutions: generated typedDataSetfor bank and routing reference data.
Related documentation¶
- Index
- Architecture
- Dependencies
- Operations and processes
- Business rules
- Database tables
- SQL catalog
- Configuration
- API reference
Sources¶
Business\SAIF.Business.Policy.Agency\SAIF.BOF.Business.Policy.Agency.nuspecBusiness\SAIF.Business.Policy.Agency\clsAgency.vbBusiness\SAIF.Business.Policy.Agency\clsAgencyCollection.vbBusiness\SAIF.Business.Policy.Agency\clsAgencyContract.vbBusiness\SAIF.Business.Policy.Agency\clsAgencyOffice.vbBusiness\SAIF.Business.Policy.Agency\clsProducer.vbBusiness\SAIF.Business.Policy.Agency\clsAgentUnderwritingData.vbBusiness\SAIF.Business.Policy.Agency\Institutions.Designer.vb