Compensation Calculation formula giving error at runtime
Summary: Hi All,
I am writing a Compensation Calculation formula in which i fetch values from a Document Type (DOR). It is working fine if there is atleast 1 DOR record. However if there is not a single DOR record for the employee them it is giving me error as follows.
Formula XX_ARM_PENSION, line 48, array data value missing. (FF-1605015)
There is no data for array PER_PER_DOR_DOCUMENT_TYPE_NAME, index 1. For example, if an array is set up with only two data values at indexes 1 and 3, such as a[1] = -1 a[3] = -3, referencing an index value other than 1 or 3, such as b = a[2], will raise this error. Correct the formula to ensure that array data exists when referenced.