BPM Vantage 9 ABL to Vantage 10.1 C# UD table help

What jose said. The converter doesn't convert what is in the progress code you have in the CreateUD02.p file when we went to E10 I had to convert all the .p files we had into C# and put them directly in the BPMs. You will have to do the same.

Any suggestions how to address this?


Original code from 9:

// RUN BPM/CUSTOM/CreateUD02.p(DCD-USERID, ttCallContextBpmData.Date04, ttCallContextBpmData.Date02, ttCallContextBpmData.Date01, ttCallContextBpmData.Character09, ttCallContextBpmData.Character01, iOrderNum).


Epicor's ABL to C# conversion gave me this:

Services.BPM.CUSTOM.CreateUD02._CreateUD02(Session.UserID,this.callContextBpmDataRow.Date04,this.callContextBpmDataRow.Date02,this.callContextBpmDataRow.Date01,this.callContextBpmDataRow.Character09,this.callContextBpmDataRow.Character01,iOrderNum);      


Which is giving me this error message:


Exception caught in: Epicor.ServiceModel

Error Detail
============
Description:  There is at least one compilation error.
Details: 
Error CS0103: The name 'Services' does not exist in the current context [MasterUpdate.Post.ChangeNBD.cs(202,5)]
Error CS1061: 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' does not contain a definition for 'callContextBpmDataRow' and no extension method 'callContextBpmDataRow' accepting a first argument of type 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,68)]
Error CS1061: 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' does not contain a definition for 'callContextBpmDataRow' and no extension method 'callContextBpmDataRow' accepting a first argument of type 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,102)]
Error CS1061: 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' does not contain a definition for 'callContextBpmDataRow' and no extension method 'callContextBpmDataRow' accepting a first argument of type 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,136)]
Error CS1061: 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' does not contain a definition for 'callContextBpmDataRow' and no extension method 'callContextBpmDataRow' accepting a first argument of type 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,170)]
Error CS1061: 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' does not contain a definition for 'callContextBpmDataRow' and no extension method 'callContextBpmDataRow' accepting a first argument of type 'Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D' could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,209)]


Thanks


Mike Podlin

Yeah that's not gonna work, the converter doesn't know what CreateUD02.p is so its giving you a guess.Â

You need to look at what's inside CreateUD02.p and rewrite it in C# then call it in your BPM... the converter will not do this for you... Really you shouldn't use the converter for any production code at all. The code it generates is mostly a guide of what you need to do, but if you are putting directly converted BPMs into your production environment you are going to be very sad with the performance and accuracy.

If you don't know C# internally I highly recommend you get some assistance from Epicor or outside consulting to re-write your BPMs. Unless the BPMs are super trivial the converter code won't do.

Thanks!

-Jose




Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Thu, Jul 7, 2016 at 11:20 AM, mpodlin@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p></p><p><span>Any suggestions how to address this?</span></p><p><span><br></span></p><p><span>Original code from 9:</span></p><p><span>//Â RUN BPM/CUSTOM/CreateUD02.p(DCD-USERID, ttCallContextBpmData.Date04, ttCallContextBpmData.Date02, ttCallContextBpmData.Date01, ttCallContextBpmData.Character09, ttCallContextBpmData.Character01, iOrderNum).</span></p><p><span><br></span></p><p><span>Epicor&#39;s ABL to C# conversion gave me this:</span></p><p><span>Services.BPM.CUSTOM.CreateUD02._CreateUD02(Session.UserID,this.callContextBpmDataRow.Date04,this.callContextBpmDataRow.Date02,this.callContextBpmDataRow.Date01,this.callContextBpmDataRow.Character09,this.callContextBpmDataRow.Character01,iOrderNum);Â Â Â Â Â Â </span></p><p><span><br></span></p><p><span>Which is giving me this error message:</span></p><p><span><br></span></p><p><span>Exception caught in: Epicor.ServiceModel</span></p><p><span>Error Detail <br>============<br>Description:Â  There is at least one compilation error.<br>Details:Â  <br>Error CS0103: The name &#39;Services&#39; does not exist in the current context [MasterUpdate.Post.ChangeNBD.cs(202,5)]<br>Error CS1061: &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; does not contain a definition for &#39;callContextBpmDataRow&#39; and no extension method &#39;callContextBpmDataRow&#39; accepting a first argument of type &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,68)]<br>Error CS1061: &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; does not contain a definition for &#39;callContextBpmDataRow&#39; and no extension method &#39;callContextBpmDataRow&#39; accepting a first argument of type &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,102)]<br>Error CS1061: &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; does not contain a definition for &#39;callContextBpmDataRow&#39; and no extension method &#39;callContextBpmDataRow&#39; accepting a first argument of type &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,136)]<br>Error CS1061: &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; does not contain a definition for &#39;callContextBpmDataRow&#39; and no extension method &#39;callContextBpmDataRow&#39; accepting a first argument of type &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,170)]<br>Error CS1061: &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; does not contain a definition for &#39;callContextBpmDataRow&#39; and no extension method &#39;callContextBpmDataRow&#39; accepting a first argument of type &#39;Epicor.Customization.Bpm.BOF6615617C7C441E09EE230FD12FE9B1B.MasterUpdatePostProcessingDirective_ChangeNBD_AB338005427DBA8FE311BD7C037BC90D&#39; could be found (are you missing a using directive or an assembly reference?) [MasterUpdate.Post.ChangeNBD.cs(202,209)]</span></p><p><span><br></span></p><p><span>Thanks</span></p><p><span><br></span></p><p><span>Mike Podlin</span></p><p></p>

</div>
 


<div style="color:#fff;min-height:0;"></div>