Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
PiaCal::fins1Cal Method

Calculates and returns the insured status code for one date.

C++
static InsCode::InsCodeType fins1Cal(
    const WorkerDataGeneral& workerData, 
    PiaData& piaData, 
    const QtrYear& qtrYear, 
    int iswasPrimary
);
Parameters 
Description 
const WorkerDataGeneral& workerData 
Worker's basic data. 
PiaData& piaData 
Benefit calculation data. 
const QtrYear& qtrYear 
Quarter and year of desired insured status. 
int iswasPrimary 
Worker's primary beneficiary status. 

The insured status code for one date.

Requires that total and required quarters of coverage have been calculated, and that worker is alive. Note that this is a static function. 

The iswasPrimary argument has the following possible values:

never a primary beneficiary. 
is a primary beneficiary. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!