[ Tips & Tricks ] Generate BPM Sources in Kinetic ERP 2021.2
John Travolta is looking for BPM Sources

[ Tips & Tricks ] Generate BPM Sources in Kinetic ERP 2021.2

In Kinetic 2021.2 & maybe 2021.1 BPM Sources (ServerPath\BPM\Sources) are no longer generated by default.

No alt text provided for this image

If you are like me, you benefit from the?Server\BPM\Sources?folder.

  1. You can use it to learn how Epicor generates code when using Widgets
  2. You can keep track of revisions to your BPM (until an upgrade)
  3. You can keep track when someone changed a BPM (until an upgrade)
  4. You can easily?grep?them and find all BPMs you are using certain column or a snippet of code

In previous Epicor versions the Sources were generated by default for the following types:

  • Method Directives
  • BPM Data Directives
  • Updatable BAQs
  • EDI
  • Electronic Interfaces
  • Expressions
  • Posting
  • Product Configurator

BPM - Revert Back to ERP 10 Behavior

In order to revert back to the 10.2 behavior, simply edit your web.config and navigate to the customizationSettings node & add?dumpSources=“true”?to each individual Type you want to get sources generated for.

No alt text provided for this image
<add name="BPM.BO" folder="BO" dumpSources="true" />
<add name="BPM.DT" folder="DT" dumpSources="true" />
<add name="BPM.Ubaq" folder="Ubaq" dumpSources="true" />
<add name="GenericImport" folder="EF" />
<add name="EDI" folder="OM\UD" />
<add name="ElectronicInterface" folder="EI" />
<add name="Expressions" folder="ECF" />
<add name="Posting" folder="PE" />
<add name="ProductConfigurator" folder="PC" dumpSources="true" />        

BPM - Enable Individually

If you don't want to enable it globally for all BPMs. In Kinetic ERP you will notice new checkboxes in Method Directives Maintenance & Data Directives Maintenance that allow you to enable Dump Sources per BPM.

No alt text provided for this image
No alt text provided for this image

* This may work for BPMs, but I am unable to confirm at this time how to enable it individually for Product Configurator.

EFX - Generate Epicor Function Sources

In order to generate EFX Sources, edit your web.config and navigate to the appSettings node & add the following:

No alt text provided for this image
<add key="DumpEfxSources" value="true" />        

Now when you work with Epicor Functions you can see the generated code and use it as a learning opportunity.

No alt text provided for this image

* This applies to Epicor ERP 10.2 as well.

EFX - Enable Individually

Just like BPMs you can enable Dump Sources individually in Epicor Functions Maintenance.

No alt text provided for this image

Other Notable Changes

FileSystem Provider No Longer Supported

If you were using the FileSystem Customization Storage Provider, it can’t be used anymore, and you will be forced to use?SqlBlob.

要查看或添加评论,请登录

Haso Keric的更多文章

社区洞察

其他会员也浏览了