Yeah this is irritating. Since it does a syntax check on “Ok” in the previous version, “Save & Close” now functions the same as “Ok” used to. Weird to disable Check Syntax and Ok instead of removing them, or better yet, just leaving them the way they were.
This has never been accurate in configurators, unfortunately. In the classic editor, you could double-click the line and it would highlight the line with the error. Not sure if that works in the new kinetic editor.
Not sure if this helps, but in c# you need to add an m to the end of a a decimal value or it will parse as type double. Example:
var NumberValue = 3.25; // This is a double
var AnotherNumber = 3.25m; // This is a decimal
so if you have a decimal variable that exists (or a method that takes a decimal parameter) and you set it without that m, you’ll end up with this error.
Yes, they made a change to the Configurator in version 2024.2.9 which broke the configurator if you have a client method that calls a server method that has a parameter that’s a decimal (at least that’s what broke for us).
This is the server method that has decimal as parameters:
For me, the problem is coming from the Configurator user Defined Methods that were previously created in classic and now used in Kinetic. The method parameters of type decimal that are using the modifier ‘ref’ are causing these errors for me. If I remove the ‘ref’ (in classic) the errors will disappear, but I have 500+ configurator rules for different parts that are making use of this method.
These breaking changes shouldn’t happen in a small patch upgrade.
Please let me know if anyone finds another workaround for this.
We fixed our issue, to fix it we did the following:
copied all the code from the UD method into notepad and saved it.
Delete all the code from the UD method and saved it - this then showed no errors in our configurator.
re-opened the code editor for the UD method and pasted back in the code - the check syntax button was made available again and that pointed us to a line of code:
We found the issue the day after pilot went live…the dev team still dont have a solution to it…now that sounds bad but i have been advises by epicor to allow the dev team to come up with a solution.
I have advised support that we have fixed the issue though
So I just saw this issue come up (for the first time in this environment) today on version 2024.2.12. There were no issues in previous versions. Did they give you a PRB number? I’d like to send them this new information to see if it produces any more results.
Will have a look when i am back in the office tomorrow AM (7:00am gmt)
It was in the release notes for 2024.2.9 or 10 i believe where using a decimal was causing an issue so they forced it to use double instead… Hope this helps.
I am dealing with this issue. I removed all references and methods that generated the error. I added back a server side method and have NOT referenced it in the client or actually ANYWHERE yet. But I get the error (1128,41): error CS0266: Cannot implicitly convert type ‘double’ to ‘decimal’. An explicit conversion exists (are you missing a cast?)