Determines the total amount of benefits paid between the start date and end date specified (based upon benefit payment information stored for a person).
GETRETAMT(StartDate, EndDate, AmountType, StateLocalCode)
StartDate: Date from which amount is to be measured. This may be a fixed date such as DATE(1,1,2015) or system date such as CALCDATE.
EndDate: Date to which amount is to be measured. This may be a fixed date such as DATE(1,1,2015) or system date such as CALCDATE.
AmountType: please refer to the following to determine amount type to use:
StateLocalCode: not used. Enter 0 for now.
GETRETAMT(ACD, CALCDATEINPUT, 0, 0) returns the total gross retirement benefit paid since ACD as of the calculation date.