Cash Advances loading through Component Interface
Hi All,
We are using Peoplesoft SCM 9.1 Version. We are trying to create cash advances using Component Interfaces from Application engine. We saw a delivered code in EX_ADV_HDR.ADVANCE_NAME.SavePreChange which is throwing error if employee has duplicate cash advance name. This validation is happening only when Cash Advances are created using Component Interfaces. Our questions are a) Why this validation is not done in normal cash advance creations. Is this an identified bug which has been fixed in any of the recent patches.
If %Mode = "A" Then
If Len(%CompIntfcName) > 0 Then
SQLExec("SELECT 'X' FROM PS_EX_ADV_HDR WHERE EMPLID=:1 AND ADVANCE_NAME=:2", EX_ADV_HDR.EMPLID, EX_ADV_HDR.ADVANCE_NAME, &Found);