Scenario:
When attempting to dispose of a fixed asset, the user encounters the error message below:
USER_ERROR: Please enter value(s) for: Class / Department"
This error occurs when the Class / Department field is set as a mandatory field on the Journal Entry form, but no value is entered during the disposal process. The field is typically used to categorize transactions for reporting and accounting purposes, and in certain configurations, it may be marked as mandatory for all journal entries, including those generated from fixed asset disposals. This issue typically arises when the Make Classes Mandatory / Make Departments Mandatory preference is enabled in the accounting settings, causing the system to require the Class / Department field to be filled in every transaction, including asset disposal transactions.
Solution:
There are two potential solutions for resolving this error, depending on whether the user wants to adjust the global preference or modify the specific Journal Entry form used for the asset disposal. Below are the detailed steps for each solution:
- Option 1: Turn Off the "Make Classes Mandatory / Make Departments Mandatory" Preference | If the user prefers to remove the mandatory requirement for the Class / Department field globally, they can turn off the Make Classes Mandatory / Make Departments Mandatory preference. This will apply to all transactions that require a Class / Department field, not just journal entries related to fixed asset disposals.:
- Navigate to the Accounting Preferences | The user should begin by navigating to Setup > Accounting > Accounting Preferences in the NetSuite interface.
- Disable the Make Classes Mandatory Preference | Under the General tab, locate the option labeled Make Classes Mandatory / Make Departments Mandatory. Uncheck the box next to Make Classes Mandatory / Make Departments Mandatory to disable the preference. This will allow the Class / Department field to be left blank without triggering an error.
- After unchecking the Make Classes Mandatory / Make Departments Mandatory box, the user should click Save to apply the changes.
Take note that the Make Classes Mandatory / Make Departments Mandatory preference affects not only Journal Entries but also other types of transactions where the Class / Department field might be required. The user can re-enable this preference after completing the fixed asset disposal process if they wish to make the Class/ Department field mandatory again for other transactions.
- Option 2: Customize the Journal Entry Form to Make the Class Field Non-Mandatory | If the user wants to maintain the global setting of Make Classes Mandatory / / Make Departments Mandatory but only wants to adjust the Class / Department field requirement for the Journal Entry form used during fixed asset disposals, they can customize the specific form. This approach ensures that the Class / Department field is not mandatory for the asset disposal transactions while leaving it mandatory for other journal entries.
- Navigate to the Transaction Forms: the user should go to Customization > Forms > Transaction Forms.
- Select the Journal Entry Form: Find the Journal Entry form used for asset disposals, and click the Edit link next to the form. It is important to edit the form that has the Preferred box checked, as this is the form that will be used for the transaction.
- Access the Screen Fields Tab: Once in the form editor, click on the Screen Fields tab, then navigate to the Main subtab. This is where the user can adjust the settings for the fields that appear in the Journal Entry form.
- Uncheck the Mandatory Box for the Class Field: In the Screen Fields tab, find the Class field and uncheck the Mandatory box. This will make the Class field optional for this particular form, allowing users to leave it blank without encountering the error.
- Save the Custom Form: After unchecking the Mandatory box for the Class field, the user should click Save to apply the changes to the form.
Hope this helped!