Symptom
When you try to delete a Tax Code from the Tax Groups – Setup window, the following error appears: ‘Cannot remove current tax group [Message 895-11]’
Reproducing the issue
Prerequisites:
- You have created a new database for a localization which supports the BAS report.
- You are working with Tax Declaration Boxes in order to have a default system-defined Tax Code.
- In System Initialization → Company Details → Accounting Data tab, the Extended Tax Reporting checkbox is not selected.
Scenario:
- Go to Administration → Setup → Financials → Tax → Tax Declaration Boxes window.
- From the default codes available in the Tax Declaration Boxes window, remove the Formula Syntax for codes VE23-1 and VE23-2 in their respective Box Definition – Rows window.
- Update the Tax Declaration Boxes – Setup window.
- Right-click in the Tax Declaration Boxes – Setup window and choose to remove all the defined codes except VE23-1 and VE23-2.
- Once the operation in step 4 is complete, go to Administration → Setup → Financials → Tax → Tax Groups.
- Search for Tax Code V1 or V2 or V4, and right-click the row to remove the Tax Code. When you click Remove and the Update button, a system message appears “Are you sure you want to delete this data?“. Choose Yes to all.
Actual behavior:
The Tax Groups – Setup window is not updated, and the error “Cannot remove current tax group [Message 895-11]” is displayed.
Solution
This is the current system behavior as tax codes are included under the BAS Code Definitions.
Workaround:
1. Go to System Initialization → Company Details → Accounting Data tab and enable Extended Tax Reporting.
2. Navigate to Administration → Setup → Financials → Tax → BAS Code Definitions and remove the records associated with the specific tax groups.
3. Go to Administration → Setup → Financials → Tax → Tax Groups, select the corresponding Tax Code, and remove it.