Expense Report Items Failing Approval
Summary:
An expense report failed approval due to a user not having a default expense account. The items continue to fail approval.
Content (please ensure you mask any confidential information):
We had one expense report fail approval with this error: "Attempted to invoke method "trim" in class "java.lang.String" on a null object reference.at line 6 in /Ruleset(Special)/Rule(FAIRYES)/Pattern(v0_ExpenseItem)/Test[1]"
The expense report that failed came from a user without a default expense account. I changed the rule to use 'Expense Distribution.Account Segment 1' instead. We added a default expense account for this user (through UI). Newly created expense reports from this user now go through approval successfully.
Tagged:
0