Please Enter a Valid Model Code or Item Code
Validation Message
While saving a record, the system may display a message such as:
Please Enter a Valid Model Code
or
Please Enter a Valid Item Code
or
Code Not Exists
This indicates that the entered code is not available in the system.
Why Does This Validation Appear?
The validation appears when:
The system validates the code against the available master records. If the code is not found, the record cannot be saved.
Example of Invalid Entry
User Action
Item Code = 98765434567
The code does not exist in the system.
Result
Code Not Exists or Plain Text
Please Enter a Valid Model Code / Item Code
The record cannot be saved.
Example of Valid Entry
User Action
Select the Item Code from the dropdown list.
Example:
AA107ACEA4B027
Result
Model Details Populated
Record Saved Successfully
Validation Removed
Resolution Steps
Step 1: Locate the Model Code / Item Code Field
Navigate to the section containing:
Model Code or Item Code
field.
Step 2: Check the Entered Value
Verify whether the code has been entered manually.
Example
98765434567
If the code is not available in the system, the validation will appear.
Step 3: Open the Dropdown List
Click the dropdown available in the Model Code / Item Code field.
A list of valid codes will appear.
Step 4: Select the Correct Code
Choose the required Model Code or Item Code from the available list.
Example
AA107ACEA4B027
After selection, related details such as Item Name or Model Name will populate automatically.
Step 5: Verify Auto-Populated Details
Confirm that information such as:
Item Name
Model Name
UOM
Rate
is displayed correctly.
This indicates that a valid code has been selected.
Step 6: Save the Record
After selecting the code from the dropdown:
Save the document again.
The validation will no longer appear.
Expected Result
Before Resolution
Item Code = 98765434567
Result:
❌ Code Not Found
❌ Validation Displayed
❌ Save Not Allowed
After Resolution
Item Code = AA107ACEA4B027
Result:
✅ Code Validated Successfully
✅ Record Saved Successfully
✅ Validation Removed