While creating expense report facing the following error java.lang.IllegalArgumentException : peerExceptioms list should only contain OAException elements.
Problem: While creating expense report in Internet expense module facing the following error java.lang.IllegalArgumentException : peerExceptions list should only contain OAException elements.
Cause: "Default expense report" value is empty.
Solution: "Default expense report" must have the appropiate value and it can be seen through HRMS responsibility.
Navigation: HRMS responsibility àPeople àEnter and Maintain and query the employees using employee’s full nameà Assignment à Purchase Order Information
There will be default expense account field
SQL Query to get default expense account(Please enter the user name at the place of :P_USER_NAME)
SELECT CODE_COMBINATION_ID, SEGMENT1||'-'||SEGMENT2||'-'||SEGMENT3||'-'||SEGMENT4||'-'||SEGMENT5||'-'||SEGMENT6||'-'||SEGMENT7 Default_Expense_Account
FROM GL_CODE_COMBINATIONS
WHERE CODE_COMBINATION_ID IN (SELECT DEFAULT_CODE_COMB_ID FROM PER_ALL_ASSIGNMENTS_F WHERE PERSON_ID IN (SELECT EMPLOYEE_ID FROM FND_USER WHERE USER_NAME = :P_USER_NAME)
AND effective_start_date = (SELECT MAX(effective_start_date) FROM PER_ALL_ASSIGNMENTS_F WHERE PERSON_ID IN (SELECT EMPLOYEE_ID FROM FND_USER WHERE USER_NAME = :P_USER_NAME))
);
Comments
Post a Comment