Recalled Time Cards are not having the related Expense Lines cancled out with a Negative Expense Line


Description

Recalled Time Cards are not having the related Expense Lines cancled out with a Negative Expense Line

Cause

This issue was happening because of a custom Business Rule.
It set the Task of the Expense Line to the Top Task rather than what it was created from.

When we query to Recall the Expense Line, we look for a matching Task between the Expense Line and the Time Card.
This is why it is not recalled.

Resolution

Disable the custom Business Rule