Fetch Person Relationship

These function can be used to get and map the Person to Person relationship with its corresponding column/output values listed below.

Parameter PER_​ID_​NBR is mandatory input for this function.

Function:

FETCH(PER_RELATION[COLUMN_NAME,PER_ID1,PER_ID2,PER_REL_TYPE_CD,FINAN_REL_SW,
END_DT,SET_OPERATION])

Expected list of input field/column values:

Input Parameter Description Table Description
COLUMN_​NAME Column name to be mapped from the returned RESULTSET. i.e. OUTPUT field name
PER_​ID1 Person1 Person to Person
PER_​ID2 Child Person Person to Person
PER_​REL_​TYPE_​CD Relationship Type Person to Person
FINAN_​REL_​SW Financial Relationship Person to Person
END_​DT End Date (This date will be compared to be greater than or equal to END DATE or retrieved if NULL) Person to Person
SET_​OPERATION

This is a BOOLEAN value.

If TRUE - Reset operation configured at service level.

If FALSE - Validate the fetch function output i.e. Throws error if returns NULL or multiple records.

If NULL – Will do nothing but only throw an error if function return multiple records.

List of output field/column values:

Output Parameter Description Table Description
PER_​ID1 Person1 Person to Person
PER_​ID2 Child Person Person to Person
PER_​REL_​TYPE_​CD Relationship Type Person to Person
FINAN_​REL_​SW Financial Relationship Person to Person
END_​DT End Date Person to Person
VERSION Version Person to Person