Loss history plugin

The ILossHistoryPlugin interface retrieves the loss history financial information for a particular account or policy period.

The base configuration implements the interface in the LossHistoryPlugin class. The class methods retrieve financial data stored in PolicyCenter. If desired, the methods can be customized to retrieve data stored in an external system.

Retrieve loss history for an account

The getLossFinancialsForAccount method retrieves PolicyCenter financial information for all policies in a specified account.

getLossFinancialsForAccount(accountNumber : String) : LossFinancials[]

The accountNumber argument specifies the relevant account.

The method returns an array of LossFinancials objects that contain financial information for the individual policies in the account. Each object contains financial data for a policy's latest policy period.

The plugin method is invoked whenever PolicyCenter calls an Account entity's getLossFinancials method to retrieve the account's financial information.

Retrieve loss history for a policy period

The getLossFinancialsForPolicy method retrieves PolicyCenter financial information for a specified policy period.

getLossFinancialsForPolicy(policyNumber : String, periodAsOfDate : Date) : LossFinancials

The policyNumber argument specifies the relevant policy. The periodAsOfDate argument specifies an effective date used to identify the desired policy period.

The method returns a LossFinancials object that contains financial information for the policy period in effect at the specified periodAsOfDate.

The plugin method is invoked whenever PolicyCenter calls a PolicyPeriod entity's getLossFinancials method to retrieve the period's financial information.