Collapse All

Anypia Programmer's Documentation |  |

PiaCal::fins2Cal Method
PiaCal Class PiaCal Members PiaCal Methods Send Feedback

Calculates and returns the OACT insured status code for one date.

C++

    static char fins2Cal(
        const WorkerDataGeneral& workerData,
        const PiaData& piaData,
        WorkerDataGeneral::ben_type ioasdi
    );

Parameters

Parameters | Description
const WorkerDataGeneral& workerData | Worker's basic data.
const PiaData& piaData | Benefit calculation data.
WorkerDataGeneral::ben_type ioasdi | Type of benefit.

Returns

The OACT insured status code, as follows:

1 | Fully insured in nontotalization case.
2 | Not fully insured, but currently insured, survivor.
3 | Totalization case with more than 5 qc's, but not fully insured.
4 | Not fully insured nontotalization case other than survivor.
5 | Not fully or currently insured survivor.
6 | Totalization case with less than 6 qc's.
7 | Fully insured totalization case.

Remarks

Requires that CWHS insured status code has been calculated. Note that this is a static function.

Group

PiaCal Methods

Links
PiaCal Class, PiaCal Members, PiaCal Methods

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!