Adapter Questions (Purpose and Usage of GetByID)

Good information, thanks. I know that one of the unreasonable fears here is that my work will not move forward with upgrades. I am not saying that issues can’t arise but all of the fear here is based on moves in short order from 7 to 9 to 10 - which was brutal. I am fighting on my end to try to instill some confidence in myself, my work and E10 but it’s definitely an uphill battle. On a large scale conference call the other day, someone say “I hope the work that Chris is doing doesn’t get us fined by Epicor”… how do I combat that kind of ignorance?

Fined? hahaha
As long as you use the Adapters you should be fine for upgrades, and for BPMs use the workflow tools as much as you can and those will upgrade fine too.

I know, right?!? So while you guys are on a roll giving me sup Epic advice - How can make my code completion work proper in Epicor code editor? Sometimes it works – actually, rarely it works.

8 to 9, 9 to 10 was a bit rough, but i really think they are dialing it in now with the standardization of their technology platform. Fined… that’s a good one.

1 Like

Fined??? Smells like some rogue consultant or sales guy throwing some FUD to try to land a statement of work.
The handling of partners and customer code in general is a difficult process to manage and way above my pay grade :wink:

No place I have worked has handled it well. My son works for Sage, my daughter and son in law run SAP at their place (Yes, ERP is in the blood)… They suffer through the same issues. It’s a topic under discussion this week actually on changes but nothing to announce by any means, just a recognition of the pain folks like you are going through.

We have added a ton of new tooling to monitor breaking APIs that we rolled out internallyin 10.1. Someone breaks a method it gets lit up, emailed to heads of state and the dev gets pulled in front of a panel with hot lights to justify why they broke something a customer may rely upon. It’s a nice change to ensure easier migration for customers. The first target is ensuring safe patch releases (The two week rolling updates). More coming on cross version stability.

I feel your pain (More election jokes)

2 Likes

Code completion in Epicor doesn’t work LoL… it never has… (and it never will… ok maybe it will some day but its priority Z from what I’ve heard from a few of the Tools Devs)
Though you get REALLY good at knowing Syntax by heart this way hehe!

You can take your BPMs and write them in Visual Studio , and your customizations you can export the code and create a visual studio project with all 30 thousand references to write the code over there (and then paste it back)

But as far as “fixing” the Code Completion in Epicor… that’s not something that can be done without going into the core code of the framework and ripping out that editor / replacing it with a better one … (I did it, once , it was awful and painful and I could never condone it, it wasn’t worth it and it broke a lot of stuff (all the wizards))

1 Like

I am brand new to ERP myself so I don’t have much to compare but I (despite the general loathing of my company) think Epicor has done a pretty good job with the infrastructure, and especially with the embedded development environment (minus documentation for said development).

1 Like

If you are writing code in BPM, write it in VS or VS Code, version it in Git or TFS and then call it from BPM as an external assembly. You’ll be happier.

1 Like

@Bart_Elia what’s your take on recompiling external assemblies? I’ve been gun shy to date because I don’t want to have to recompile all those. Not sure if it would be required on those two week point releases or if it’s just major versions, like .500 or something. Either way how does one manage all that?

My disconnect so far with using VS for BPMs has been my lack of access to the server. I’ve really wanted to get setup at a minimum for the remote debugging for BPMs in VS but my IT team/Project Managers keep ignoring my requests.

@josecgomez.trigemco Might you have a project template that would save me the hassle of setting up all of the necessary references in VS?

For BPms the template is available in the conversion side, for customization I don’t use one (its too much of a hassle) I think @rbucek may have one?

BPM Wrapper Project
https://scrs.epicor.com/ABLConversionweb/Content/Customization.zip

1 Like

i think using VS for customization is just as handy for the same reasons. @josecgomez.trigemco struggles with the copy/paste features that the Microsoft interface provides its users i think :wink:
This is generic, you’ll have to add the specific references to the form you are working in.

after you grab this file, rename it to .zip instead of .txt

Epicor.10.Customization.txt (8.8 KB)

1 Like

Yeah man Copy and Paste SUCKS! LoL

1 Like

You guys rock on an epic level!

In Jose’s defense - Cut and Paste in Epicor only works 47.6% of the time lol

Bahahahah +1

Hi @rbucek,

I’ve tried to create VS project based on your template. When I see the project references, it seems SessionManagerClient reference doesn’t exist. So where is DLL file for its reference?

Thanks

Note: I’m using epicor 10.1

Updated:
Nevermind, I found SessionManagerClient.dll file in “C:\Epicor\ERP10.1Client\Client\SessionManagerClient.dll”

3 Likes

Sorry for the necro, but is the suggestion to get the BO reference download still valid? I tried it for 10.200x and my screen comes up blank:

Randy, right-click the file and go to Properties -> General. There is likely something about it being blocked – click “Unblock” to get full access.

Unblock_File

2 Likes

That was it! Thanks @bacoombs

@Randy

decompiling the file will give you the actual C# script code

1 Like