After we upgraded from 2019 R2--->2021 R1 we have this error: “Error converting data type varchar to numeric.” pop every time we try to load a GI that is supposed to display sales orders that have a UDF checkbox checked. Anyone have any ideas?
I can able to replicate this issue and this might the limitation for User Defined fields.
I ran the request profiler and got the below details, hope this helps you to understand the issue with the screenshots.
The reason for the getting this:
When we add a filter settings to the Generic Inquiry, using the User Defined Fields of checkbox type, it is NOT taking as Boolean type and it is taking as Varchar. You can check the below screenshot for “FilterRow” table
Also, since it is a User Defined field, the value will be saved in the “SOOrderKvExt” table, and you can see the value stored in Decimal/Numeric type.
Error: Acumatica is trying to convert the value from Varchar to Numeric, hence getting this issue.
Better you can submit a support case with Acumatica.
I can able to replicate this issue and this might the limitation for User Defined fields.
I ran the request profiler and got the below details, hope this helps you to understand the issue with the screenshots.
The reason for the getting this:
When we add a filter settings to the Generic Inquiry, using the User Defined Fields of checkbox type, it is NOT taking as Boolean type and it is taking as Varchar. You can check the below screenshot for “FilterRow” table
Also, since it is a User Defined field, the value will be saved in the “SOOrderKvExt” table, and you can see the value stored in Decimal/Numeric type.
Error: Acumatica is trying to convert the value from Varchar to Numeric, hence getting this issue.
Better you can submit a support case with Acumatica.
Yes, I have a ticket open with Acumatica but they have been very slow to respond and help. This is very helpful and have shared this with Acumatica on the open ticket. Thanks again for your help!
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.