C1-VALPAYINS

This algorithm is invoked when the status of the reconciliation is changed to Pending. Once a pay instruction is created, this algorithm validates the following:

  • The coverage end date is not earlier than the coverage start date.

  • Either the account identifier type and account identifier or the account ID is available in the pay instruction record.

  • The member identifier type is available when the member identifier is specified and vice versa.

  • A person with the given member identifier type and member identifier combination exists in the system.

  • An account with the specified account ID exists in the system.

  • The account ID is derived using the account identifier type and account identifier combination when the account ID is not available in the pay instruction record.

  • The account is eligible for reconciliation.

If the above mentioned validations are successful, the status of the pay instruction is set to Pending. However, if any of the above validation fails, the status of the pay instruction is set to Error.

This algorithm contains the following parameters:

  • Eligible for Reconciliation Characteristic Type - Used to specify the characteristic type which indicates whether the account is eligible for reconciliation. This type of characteristic is defined on the account. You must specify a characteristic type where the characteristic entity is set to Account.

  • Maintenance Object for Generating Pay Instruction Logs - Used to specify the maintenance object using which you want to generate logs for the pay instruction.

  • Pay Instruction Error Status - Used to specify the status code to which you want to transition the pay instruction when the validation fails.

  • Pay Instruction Pending Status - Used to specify the status code to which you want to transition the pay instruction when the validation is successful.

All these parameters are mandatory.