While creating a new Product Tax Category, I’m getting this error:
“Category Type cannot be blank.”
I cannot find where this Category Type is configured or sourced from. The field is not auto-populating, and I don’t see any related setup in Product Tax Category Maintenance.
Is there any backend configuration or localization dependency required for this?
Appreciate your guidance.
Business Layer Exception
Category Type cannot be blank.
Error Detail
============
Correlation ID: 43f3fa3a-e45a-4ce3-b21d-c506bc600241
Description: Category Type cannot be blank.
Program: Erp.Services.BO.TaxCat.dll
Method: TaxCatBeforeUpdate
Table: TaxCat
Field: INTaxCategoryType
Given the name of this field, I think that this might be one of the country specific requirements for India. Fields that start with IN tend to be part of that. I have a “Tax Type” module but not a tax category type.
Just wanted to loop back and share the solution I found for this, in case anyone else bumps into the same issue.
The Root Cause:
If you are working with the India Localization, the system requires every Product Tax Category to be classified by a “Category Type” (like Goods or Services) for GST compliance. However, the system doesn’t always have these options set up out-of-the-box, which triggers the “cannot be blank” or “invalid value” errors when you try to save.
The Solution:
You need to manually add these category types in the User Defined Codes (UDC) setup.
Navigate to System Setup > System Maintenance > User Defined Codes.
Search for the Code Type ID: CatType.
(Note: If CatType does not exist in your environment, you will need to create it as a new Code Type).
Inside CatType, add the required classification codes for your setup (for example, GOODS, SERVICES, etc.).
Save your changes.
Once those are defined in the UDC table, you can go back, and you’ll be able to save your Product Tax Categories without the validation error. Hope this helps anyone else running into this!