Business Object (BO) SalesOrder.dll Epicor 905.702

Try running Update with RowMod ='D'


Jose C Gomez

Software Engineer


T: 904.469.1524 mobile
E: jose@…

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Thu, Jan 2, 2014 at 1:33 PM, <cyrilz199@...> wrote:

Â
<div>
  
  
  <p></p><p>No we do not. Infact, this code worked well in 904. As a matter of fact, using the ICE BL Tester and calling the fucntion throws an error. Therefore, I enabled tracing and tired to manualy delete the the Sales<var></var> Order Number from the Epicor Client Sales Order Entry. We found that the Delete Function was not called anymore but they do an Update instead.</p>

</div>
 


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

We have a customization that calles the SALES ORDER DELETE BY ID function  eg "so.DeleteByID(Int32) "  and it worked well in Epicor 904. We upgraded to 905.702 and thesame function will not work anymore. Has anyone witnessed such an issue with 905?

Error? no Error? more information?


Jose C Gomez

Software Engineer


T: 904.469.1524 mobile
E: jose@…

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Thu, Jan 2, 2014 at 1:02 PM, <cyrilz199@...> wrote:

Â
<div>
  
  
  <p></p><p>We have a customization that calles the SALES ORDER DELETE BY ID<var></var> function  eg &quot;so.DeleteByID(Int32) &quot;  and it worked well in Epicor 904. We upgraded to 905.702 and thesame function will not work anymore. Has anyone witnessed such an issue with 905?</p>

</div>
 


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

Below is the error I pulled from the server log:

 

[14/01/02@06:58:36.831-0800] P-002500 T-003548 1 AS -- (Procedure: 'as/activate.p' Line:490) Incoming call from TCS-950691:1
[14/01/02@06:58:36.832-0800] P-002500 T-003548 2 AS AS -- TRACE: SINGLE-RUN Procedure 'bo/SalesOrder/Sink.p:DeleteByID' START (14244)
[14/01/02@06:58:36.882-0800] P-005568 T-003412 3 AS AS -- TRACE: SINGLE-RUN Procedure END SUCCESS. (14265)
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- ** No ttOrderHed record is available. (91)
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- ** ABL Debug-Alert Stack Trace **
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- --> orderHedBeforeDelete bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 145553
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     OrderHedDeleteRow bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 9046
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     DeleteByID bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 25153
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     DeleteByID bo/SalesOrder/Sink.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\Sink.r) at line 3000
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- Error attempting to push run time parameters onto the stack. (984)
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- ** ABL Debug-Alert Stack Trace **
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- --> orderHedBeforeDelete bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 145553
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     OrderHedDeleteRow bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 9046
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     DeleteByID bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 25153
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     DeleteByID bo/SalesOrder/Sink.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\Sink.r) at line 3000

Hmm that's a BO Error strange, do you have any BPM's or Data Directives in SalesOrder.Update or MasterUpdate?


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Thu, Jan 2, 2014 at 1:18 PM, <cyrilz199@...> wrote:

Â
<div>
  
  
  <p></p><p>Below is the error I pulled from the server log:</p><p>Â </p><p>[14/01/02@06:58:36.831-0800] P-002500 T-003548 1 AS -- (Procedure: &#39;as/activate.p&#39; Line:490) Incoming call from TCS-950691:1<br>[14/01/02@06:58:36.832-0800] P-002500 T-003548 2 AS AS -- TRACE: SINGLE-RUN Procedure &#39;bo/SalesOrder/Sink.p:DeleteByID&#39; START (14244)<br>

[14/01/02@06:58:36.882-0800] P-005568 T-003412 3 AS AS – TRACE: SINGLE-RUN Procedure END SUCCESS. (14265)
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS – ** No ttOrderHed record is available. (91)
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS – ** ABL Debug-Alert Stack Trace **

[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS – –> orderHedBeforeDelete bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 145553
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --Â Â Â Â OrderHedDeleteRow bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 9046

[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --Â Â Â Â DeleteByID bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 25153
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --Â Â Â Â DeleteByID bo/SalesOrder/Sink.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\Sink.r) at line 3000

[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS – Error attempting to push run time parameters onto the stack. (984)
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS – ** ABL Debug-Alert Stack Trace **
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS – –> orderHedBeforeDelete bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 145553

[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --Â Â Â Â OrderHedDeleteRow bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 9046
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --Â Â Â Â DeleteByID bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 25153

[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --Â Â Â Â DeleteByID bo/SalesOrder/Sink.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\Sink.r) at line 3000

</div>
 


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

Below is the error I got from the server log:

 

[14/01/02@06:58:36.831-0800] P-002500 T-003548 1 AS -- (Procedure: 'as/activate.p' Line:490) Incoming call from TCS-950691:1
[14/01/02@06:58:36.832-0800] P-002500 T-003548 2 AS AS -- TRACE: SINGLE-RUN Procedure 'bo/SalesOrder/Sink.p:DeleteByID' START (14244)
[14/01/02@06:58:36.882-0800] P-005568 T-003412 3 AS AS -- TRACE: SINGLE-RUN Procedure END SUCCESS. (14265)
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- ** No ttOrderHed record is available. (91)
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- ** ABL Debug-Alert Stack Trace **
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- --> orderHedBeforeDelete bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 145553
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     OrderHedDeleteRow bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 9046
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     DeleteByID bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 25153
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     DeleteByID bo/SalesOrder/Sink.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\Sink.r) at line 3000
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- Error attempting to push run time parameters onto the stack. (984)
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- ** ABL Debug-Alert Stack Trace **
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS -- --> orderHedBeforeDelete bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 145553
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     OrderHedDeleteRow bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 9046
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     DeleteByID bo/SalesOrder/SalesOrder.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\SalesOrder.r) at line 25153
[14/01/02@06:58:36.892-0800] P-002500 T-003548 1 AS --     DeleteByID bo/SalesOrder/Sink.p (C:\APPS\EPICOR905\Server\bo\SalesOrder\Sink.r) at line 3000

No we do not. Infact, this code worked well in 904. As a matter of fact, using the ICE BL Tester and calling the fucntion throws an error. Therefore, I enabled tracing and tired to manualy delete the the Sales Order Number from the Epicor Client Sales Order Entry. We found that the Delete Function was not called anymore but they do an Update instead.