Migration of a custom BO (built from SDK) to Kinetic 2023.1

Hi folks,

I have a customer who has a bunch of custom BOs and screens that were built in 10.2 using the SDK.

I have managed to recreate new projects in .NET6, updated references, fixed some code. All is going well.

However, I have no idea how to port the service contract, and service front end… The existing generated code uses a bunch of WCF attributes, and clearly WCF is no more… For example:

    [System.CodeDom.Compiler.GeneratedCode("ServiceGenerator", "")]
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Multiple, ReleaseServiceInstanceOnTransactionComplete = false, TransactionIsolationLevel = System.Transactions.IsolationLevel.ReadCommitted)]
    public sealed class CRTI_MiscActionSvcFacade : Epicor.Customization.Bpm.SvcFacadeBase<ErpContext, CRTI_MiscActionSvcContract, CRTI_MiscActionSvc>, CRTI_MiscActionSvcContract

Anyone has any idea how to port this code to CoreWCF?

And before you ask, porting to Epicor Functions is not really feasible, this thing is interwoven into 10 different UI apps and BPMs…

I’m just going to copy what I see in decompilations, at least it seems to compile, we’ll see if it works later… :slight_smile:

Generate new empty BO, preferably using the same service datasets and tables, and compare what changed in contract, it should not be much. And it won’t be WCF anymore.

1 Like

Right, but I don’t actually have the SDK… :wink:

Seems straightforward enough following a decompilation of ABCCodeImpl, ABCCodeSvcFacade…