!!Get Employee GET_PPH !Functionality: The purpose of this function is to Capture the [PPH_ID] for use in [UPGLF] G/L interface processing. This value is not available as part of the variable package in the [IDIF] !Parameters: |PERSON_CODE|''Required''. Person_code from [IEID]. |PAY_NUMBER|''Required''. Pay Number from [IPPH]. |BATCH_NUMBER|''Required''. Batch Number from [IPBE]. !Returns: Numeric !Errors: * 0 - When no data is found * -99999 when any other exception occurs !Example: FUNCTION GET_PPH(SUBSTR(~,119,16),SUBSTR(~,135,4),SUBSTR(~,623,10)) Using the [G/L buffer] as the ~ parameter capture the PPH_ID for the matching Batch number and Pay number for the employee |Captured Value|G/L Buffer Derivation |[PERSON_CODE]| SUBSTR(~,119,16) |[PAY_NUMBER]| SUBSTR(~,135,4) |[BATCH_NUMBER]| SUBSTR(~,623,10) The function will return the matching PPH_ID !Notes ----