When we create a new Electronic Interface, where does Epicor create the assemblies for the new interface. I created a new electronic interface based on one we previously created. I forgot to change the class name to represent the new electronic interface. After using the new payment method based on the new electronic interface (but using the original class name), the original payment method using the original electronic interface is now generating the new layout. Actually both the original and new payment method are using the new layout. How do restore the original? Is there an assembly I can delete or a cache I can clear?
To help you restore the original and see if something changed you could view it in your PILOT db and compare screens for differences.
As far as I remember, when the source is uploaded, it overwrites the class. The only way to get the old class back is by sending it the old source code.
This is a place where I’ve REALLY wanted source control, especially when we were in the cloud. Submitting a Pull Request and having it installed when Epicor approved it would have been a great help, especially in the debugging stage.
I create a new dummy appserver and find the default sources and .csproj files in the server folder, but I’m not sure if there’s equivalent for cloud.
Or just the script if it’s just a script:
This is an on-site installation, not cloud. I created a new electronic interface “Payment_CA_ACH_USA_C” that was a modification of “payment_CA_ACH_CAN”.
The first time I used “Payment_CA_ACH_USA_C” I forgot to change the class name, it was the same as “Payment_CA_ACH_CAN”.
So, when I ran this it changed “Payment_CA_ACH_CAN” to the new updated code in “Payment_CA_ACH_USA_C”. My question is where does Epicor create the compiled “Payment_CA_ACH_CAN” class?
I have corrected the problem by changing the class name in “Payment_CA_ACH_USA_C”, so it is now it’s own class. But, “Payment_CA_ACH_CAN” remained broken until I made a change to “Payment_CA_ACH_CAN.cs” (I added some blank lines), forcing it to re-compile. Now, all three electronic interfaces are working correctly and independently.
Again, where does Epicor store the compiled class files? I am thinking I could have just deleted the bad file, forcing Epicor to go back and recompile the code in \Server\Erp\EI