- Overview
- Check if the Fee Matrix is Being Used in a Custom Row
- Check if the Custom Row is Being Used in a Total Block
- Check if the Fee Matrix Has Calculated on Any Elements
Overview
A fee matrix can't be deleted while it's in use. This article walks through what to check, in order, when you get an error deleting a fee matrix from Main Menu > Financials > Fee Matrices.
Most of these checks are done from the Configure Fee Matrix popup. To open it, click the Options menu in the fee matrix's row, then click Configure Fee Matrix. The Can Configure Project Elements permission is required.
Check if the Fee Matrix is Being Used in a Custom Row
-
Is the fee matrix set on a custom row for any element definitions?
A fee matrix calculates on an element through a custom row on the element definition. You have to delete every custom row using the fee matrix before you can delete the fee matrix.-
Solution:
- Open the Configure Fee Matrix popup. It lists every custom row using the fee matrix, grouped by element definition.
- In a row's Actions menu, click Delete custom row, then confirm. If Delete custom row is disabled, see the next section.
- Repeat for each custom row, then click Done.
- Try deleting the fee matrix again.
-
Solution:
Check if the Custom Row is Being Used in a Total Block
-
Is the custom row displayed in any view's total block?
A custom row can't be deleted while it shows in a total block. Any row in the Configure Fee Matrix popup with a view name in the Display destination column (instead of a Hidden badge) is still in a total block.-
Solution:
- In the Configure Fee Matrix popup, click Remove from view in the row's Actions menu, then confirm.
- Repeat for each view the custom row is displayed in.
- Delete the custom row, as explained in the previous section.
-
Solution:
Check if the Fee Matrix Has Calculated on Any Elements
-
Do any existing elements have an amount for the custom row?
If the fee has already calculated on existing elements (for example, Quotes that included the fee), the custom row can't be deleted, so the fee matrix can't be deleted either. Removing the fee from every past element isn't practical in most cases.-
Solution: Instead of deleting the fee matrix, stop it from calculating going forward:
- In the Configure Fee Matrix popup, click Remove from view for each view the fee displays in.
- In Projects > Element Definitions, open the element definition's Custom Rows tab and double-click the custom row.
- Change the Calculation Method so it no longer uses the fee matrix.
- Change the Description to "No Longer in Use," then click OK.
-
Solution: Instead of deleting the fee matrix, stop it from calculating going forward:
Changing a custom row can change the totals of past elements if they're recalculated. Before making changes, review Which Actions Will Cause a Financial Element to Recalculate?