When will Visual Basic be phased out of Epicor? What release contains this? How will I be effected?
You will be shamed less.
But seriously, Epicor has C# -> JavaScript converters but no VB -> JavaScript so any automagical conversions to webby things won’t work.
I DIDN’T WRITE IT IN VISUAL BASIC DAMNIT. I wrote one excel macro in visual basic and said i was never going to use it again. Then i come to work here and people wrote a ton of stuff in it and now i’m left here with this crap code.
I am having to sift through this code fixing it, however I feel like it would be easier to just rewrite the whole thing correctly using c#. I can’t do this though because we don’t know when we’re upgrading. I am left patching stuff in vb waiting to rewrite the whole thing next year.
In Customization Maintenance, there is a helper tool. It’s not perfect but it might help you out a bit. Click on View Customization under the Action Menu and go to the Custom Code Tab.
sweet that’s cool! thank you
You could always throw a hook out on the forum to get someone to convert everything over for you. As mentioned, the converters get you close, but not quite.
Online converter and the Customization Maintenance get you 80%. The last bit is tricky for someone new, but minutes for someone experienced. I personally feel it is always worth the conversion and recommend it often.
It’s also not a bad idea to take this oppurtunity to find out what the intent of the customization was. You could do a perfect VB to c# port, only to find out it didn’t exactly do what they wanted when it was done in VB.