Call BO In ABL Blank Title 121672

Got it, makes sense. Thank you!




________________________________
From: Jose Gomez <jose@...>
To: Vantage <vantage@yahoogroups.com>
Sent: Friday, June 14, 2013 9:24 AM
Subject: Re: [Vantage] Re: Call BO In ABL


If you call the .P from the same BO you don't need it. But if you don't you
need to tell it about the data sets


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Fri, Jun 14, 2013 at 9:22 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> Thanks again Jose! That was it.
>
> Why was that reference needed but wasn't in the examples I had seen from
> you or someone else? Is it the newer versions of Epicor that is needed now?
>
>
> ________________________________
> From: Jose Gomez <jose@...>
> To: Vantage <vantage@yahoogroups.com>
> Sent: Friday, June 14, 2013 9:11 AM
>
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
> Try adding this to the top
>
> {bo/UD04_ds.i}
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez
> >
>Â <http://www.google.com/profiles/jose.gomez> <
> http://www.twitter.com/joc85>
>Â <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
>Â <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
> On Fri, Jun 14, 2013 at 8:59 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > It is failing in the .p at this line, RUN GetRows IN hUD14 (input "Key1 =
> > '" + STRING(iOrderNum) + "'", input "", {&output_dataset_UD14DataSet},
> > input 0, input 1, output morePages) NO-ERROR.
> >
> > If I comment out this line I get no errors and the logs display messages
> 1
> > and 2, when I uncomment this line, none of the messages display and I get
> > the unable to understand after -- RUN error.
> >
> > I have simplified this, it is being used on SalesOrder.Update
> > post-processing.
> >
> >
> > {Bpm/Bpm.i &OBJECT_NAME=UD14}
> >
> > define input parameter iOrderNum as integer.
> > define input parameter cRepList as character.
> >
> > {&TRY_PRIVATE}
> >Â Â define variable morePages as logical init false.
> >
> >Â Â define variable i as integer.
> >Â Â define variable hUD14 as handle.
> >Â Â RUN bo\UD14\UD14.p PERSISTENT SET hUD14.
> >Â Â message '1'.
> >
> >Â Â if VALID-HANDLE (hUD14) THEN DO:
> >Â Â Â Â message '2'.
> >
> >Â Â Â Â RUN GetRows IN hUD14 (input "Key1 = '" + STRING(iOrderNum) + "'",
> > input "", {&output_dataset_UD14DataSet}, input 0, input 0, output
> > morePages) NO-ERROR.
> >Â Â end.
> >Â Â else do:
> >Â Â Â Â message "Could not create handle to UD14.p!".
> >Â Â end.
> >
> > delete object hUD14.
> >
> > {&CATCH_PRIVATE}
> >
> > ________________________________
> > From: Jose Gomez <jose@...>
> > To: Vantage <vantage@yahoogroups.com>
> > Sent: Friday, June 14, 2013 8:42 AM
> >
> > Subject: Re: [Vantage] Re: Call BO In ABL
> >
> >
> > Are you in 8x or 9x? can you paste your BPM and your .P? Also can you put
> > Message '1'. etc.. through the code I want to see if its failing to call
> .P
> > or failing within the .P
> >
> > *Jose C Gomez*
> > *Software Engineer*
> > *
> > *
> > *
> > *T: 904.469.1524 mobile
> > E: jose@...
> > http://www.josecgomez.com
> > <http://www.linkedin.com/in/josecgomez> <
> http://www.facebook.com/josegomez
> > >
> >Â <http://www.google.com/profiles/jose.gomez> <
> > http://www.twitter.com/joc85>
> >Â <http://www.josecgomez.com/professional-resume/>
> > <http://www.josecgomez.com/feed/>
> >Â <http://www.usdoingstuff.com>
> >
> > *Quis custodiet ipsos custodes?*
> >
> > On Fri, Jun 14, 2013 at 8:35 AM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> >
> > >
> > >
> > > Run time
> > >
> > >
> > > ________________________________
> > > From: Jose Gomez <jose@...>
> > > To: Vantage <vantage@yahoogroups.com>
> > > Sent: Friday, June 14, 2013 8:12 AM
> > >
> > > Subject: Re: [Vantage] Re: Call BO In ABL
> > >
> > >
> > > You get the error at compile time or at run time?
> > >
> > > *Jose C Gomez*
> > > *Software Engineer*
> > > *
> > > *
> > > *
> > > *T: 904.469.1524 mobile
> > > E: jose@...
> > > http://www.josecgomez.com
> > > <http://www.linkedin.com/in/josecgomez>Â <
> > > http://www.facebook.com/josegomez>
> > >Â <http://www.google.com/profiles/jose.gomez> <
> > > http://www.twitter.com/joc85>
> > >Â <http://www.josecgomez.com/professional-resume/>
> > > <http://www.josecgomez.com/feed/>
> > >Â <http://www.usdoingstuff.com>
> > >
> > > *Quis custodiet ipsos custodes?*
> > >
> > > On Thu, Jun 13, 2013 at 4:59 PM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > >
> > > >
> > > >
> > > > Thanks Chad, I didn't even think to check there.
> > > >
> > > > Still getting the same error however from the .p file Jose posted.
> > > >
> > > > ________________________________
> > > > From: Chad Villa <chad.villa@...>
> > > > To: vantage@yahoogroups.com
> > > > Sent: Thursday, June 13, 2013 4:06 PM
> > > >
> > > > Subject: Re: [Vantage] Re: Call BO In ABL
> > > >
> > > >
> > > > If that was a literal cut and paste from your BPM, it looks like it
> is
> > > > missing a comma after the second input parameter.
> > > >
> > > > -Chad
> > > >
> > > > On Wed, Jun 12, 2013 at 3:49 PM, Ted Koch <tkoch77@...> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > I copied what you posted and pasted into notepad and saved as a .p
> > > file.
> > > > I
> > > > > then entered this in the BPM (APInvoice.Update post-processing) ABL
> > > > Action
> > > > > window but still getting same error (unable to understand after --
> > > > "RUN").
> > > > >
> > > > > FOR EACH ttAPInvHed:
> > > > >Â Â RUN bpm\TAIT\StoreInfoInUD10.p (input ttAPInvHed.InvoiceNum,
> input
> > > > > ttAPInvHed.VendorNum input ttAPInvHed.Description, input
> > > > > ttAPInvHed.DocInvoiceAmt)
> > > > > END.
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: Jose Gomez <jose@...>
> > > > > To: Vantage <vantage@yahoogroups.com>
> > > > > Sent: Wednesday, June 12, 2013 9:49 AM
> > > > >
> > > > > Subject: Re: [Vantage] Re: Call BO In ABL
> > > > >
> > > > >
> > > > > I think thats from Invoice Entry
> > > > >
> > > > > *Jose C Gomez*
> > > > > *Software Engineer*
> > > > > *
> > > > > *
> > > > > *
> > > > > *T: 904.469.1524 mobile
> > > > > E: jose@...
> > > > > http://www.josecgomez.com
> > > > > <http://www.linkedin.com/in/josecgomez>Â <
> > > > > http://www.facebook.com/josegomez>
> > > > >Â <http://www.google.com/profiles/jose.gomez> <
> > > > > http://www.twitter.com/joc85>
> > > > >Â <http://www.josecgomez.com/professional-resume/>
> > > > > <http://www.josecgomez.com/feed/>
> > > > >Â <http://www.usdoingstuff.com>
> > > > >
> > > > > *Quis custodiet ipsos custodes?*
> > > > >
> > > > > On Wed, Jun 12, 2013 at 9:46 AM, Ted Koch <tkoch77@...>
> wrote:
> > > > >
> > > > > > **
> > > > > >
> > > > > >
> > > > > > I am 99% sure the parameters I am passing to GetRows are in
> correct
> > > > > order.
> > > > > > Jose, what BO and method is this example you gave me a couple
> weeks
> > > > > > supposed to run on. I will see if I can get this one to work.
> > > > > >
> > > > > > http://tech.groups.yahoo.com/group/vantage/message/121220
> > > > > >
> > > > > >
> > > > > > [Non-text portions of this message have been removed]
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > > > ------------------------------------
> > > > >
> > > > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You
> > must
> > > > > have already linked your email address to a yahoo id to enable
> > access.
> > > )
> > > > > (1) To access the Files Section of our Yahoo!Group for Report
> Builder
> > > and
> > > > > Crystal Reports and other 'goodies', please goto:
> > > > > http://groups.yahoo.com/group/vantage/files/.
> > > > > (2) To search through old msg's goto:
> > > > > http://groups.yahoo.com/group/vantage/messages
> > > > > (3) To view links to Vendors that provide Vantage services goto:
> > > > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > > >
> > > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > > ------------------------------------
> > > >
> > > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You
> must
> > > > have already linked your email address to a yahoo id to enable
> access.
> > )
> > > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> > and
> > > > Crystal Reports and other 'goodies', please goto:
> > > > http://groups.yahoo.com/group/vantage/files/.
> > > > (2) To search through old msg's goto:
> > > > http://groups.yahoo.com/group/vantage/messages
> > > > (3) To view links to Vendors that provide Vantage services goto:
> > > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > >
> > > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> > > have already linked your email address to a yahoo id to enable access.
> )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> > have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>


[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
I was browsing the files section and found an example that I cannot get to work, I'm getting a 4GL error which isn't very descriptive and nothing shows in the logs. The example is located here: Files>BPMS>CallBOFromABL.zip.

I'm wondering if I am missing something with my OpenEdge install because I have never been able to get the BO calls from ABL to work, and this example seems simple enough, but won't work.

Thanks for any input,

-Ted
Ok, I was getting the error message because I am stupid and had the .p file in the wrong location. Fixed that, not getting any errors, but no records are being created in UD14. I'm still thinking this is OpenEdge installation related?



________________________________
From: tkoch77 <tkoch77@...>
To: vantage@yahoogroups.com
Sent: Monday, June 10, 2013 5:37 PM
Subject: [Vantage] Call BO In ABL


I was browsing the files section and found an example that I cannot get to work, I'm getting a 4GL error which isn't very descriptive and nothing shows in the logs. The example is located here: Files>BPMS>CallBOFromABL.zip.

I'm wondering if I am missing something with my OpenEdge install because I have never been able to get the BO calls from ABL to work, and this example seems simple enough, but won't work.

Thanks for any input,

-Ted



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
Managed to get Epicor to throw more 4GL errors and messaging is showing up in the appserver logs. I am using the .p as is from the files section. Maybe it is not constructed correctly, but I'm not sure. Thanks.

[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Unable to understand after -- "RUN". (247)
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Invalid statement. (254)
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not understand line 16. (198)
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
[13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Unknown or ambiguous table ttUD14. (725)
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not understand line 19. (196)
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
[13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237




________________________________
From: Ted Koch <tkoch77@...>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Monday, June 10, 2013 5:57 PM
Subject: Re: [Vantage] Call BO In ABL


Ok, I was getting the error message because I am stupid and had the .p file in the wrong location. Fixed that, not getting any errors, but no records are being created in UD14. I'm still thinking this is OpenEdge installation related?



________________________________
From: tkoch77 <tkoch77@...>
To: vantage@yahoogroups.com
Sent: Monday, June 10, 2013 5:37 PM
Subject: [Vantage] Call BO In ABL


I was browsing the files section and found an example that I cannot get to work, I'm getting a 4GL error which isn't very descriptive and nothing shows in the logs. The example is located here: Files>BPMS>CallBOFromABL.zip.

I'm wondering if I am missing something with my OpenEdge install because I have never been able to get the BO calls from ABL to work, and this example seems simple enough, but won't work.

Thanks for any input,

-Ted



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
We are running 9.05.607b. There is no file bo\UD14\UD14.p specified by the RUN command in the example. I don't know what file should/can be used instead.

We have used similar syntax when sending emails via BPM, but in that case the .p file is there.

Sorry I can't be of more assistance.

Bob Beaghan


--- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
>
> Managed to get Epicor to throw more 4GL errors and messaging is showing up in the appserver logs. I am using the .p as is from the files section. Maybe it is not constructed correctly, but I'm not sure. Thanks.
>
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Unable to understand after -- "RUN". (247)
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Invalid statement. (254)
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not understand line 16. (198)
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Unknown or ambiguous table ttUD14. (725)
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not understand line 19. (196)
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
>
>
>
>
> ________________________________
> From: Ted Koch <tkoch77@...>
> To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> Sent: Monday, June 10, 2013 5:57 PM
> Subject: Re: [Vantage] Call BO In ABL
>
>
> Ok, I was getting the error message because I am stupid and had the .p file in the wrong location. Fixed that, not getting any errors, but no records are being created in UD14. I'm still thinking this is OpenEdge installation related?
>
>
>
> ________________________________
> From: tkoch77 <tkoch77@...>
> To: vantage@yahoogroups.com
> Sent: Monday, June 10, 2013 5:37 PM
> Subject: [Vantage] Call BO In ABL
>
>
> I was browsing the files section and found an example that I cannot get to work, I'm getting a 4GL error which isn't very descriptive and nothing shows in the logs. The example is located here: Files>BPMS>CallBOFromABL.zip.
>
> I'm wondering if I am missing something with my OpenEdge install because I have never been able to get the BO calls from ABL to work, and this example seems simple enough, but won't work.
>
> Thanks for any input,
>
> -Ted
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
> [Non-text portions of this message have been removed]
>
It is creating the handle because it gets to this line of code but then says unable to understand after RUN.

RUN GetRows IN hUD14(input "Key1 = '" + STRING(iOrderNum) + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 0, output morePages) NO-ERROR.




________________________________
From: robertbeaghan <robert.beaghan@...>
To: vantage@yahoogroups.com
Sent: Tuesday, June 11, 2013 9:03 AM
Subject: [Vantage] Re: Call BO In ABL


We are running 9.05.607b. There is no file bo\UD14\UD14.p specified by the RUN command in the example. I don't know what file should/can be used instead.

We have used similar syntax when sending emails via BPM, but in that case the .p file is there.

Sorry I can't be of more assistance.

Bob Beaghan


--- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
>
> Managed to get Epicor to throw more 4GL errors and messaging is showing up in the appserver logs. I am using the .p as is from the files section. Maybe it is not constructed correctly, but I'm not sure. Thanks.
>
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Unable to understand after -- "RUN". (247)
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Invalid statement. (254)
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not understand line 16. (198)
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Unknown or ambiguous table ttUD14. (725)
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not understand line 19. (196)
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
>
>
>
>
> ________________________________
>Â From: Ted Koch <tkoch77@...>
> To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> Sent: Monday, June 10, 2013 5:57 PM
> Subject: Re: [Vantage] Call BO In ABL

>
> Ok, I was getting the error message because I am stupid and had the .p file in the wrong location. Fixed that, not getting any errors, but no records are being created in UD14. I'm still thinking this is OpenEdge installation related?
>
>
>
> ________________________________
> From: tkoch77 <tkoch77@...>
> To: vantage@yahoogroups.com
> Sent: Monday, June 10, 2013 5:37 PM
> Subject: [Vantage] Call BO In ABL
>
>
> I was browsing the files section and found an example that I cannot get to work, I'm getting a 4GL error which isn't very descriptive and nothing shows in the logs. The example is located here: Files>BPMS>CallBOFromABL.zip.
>
> I'm wondering if I am missing something with my OpenEdge install because I have never been able to get the BO calls from ABL to work, and this example seems simple enough, but won't work.
>
> Thanks for any input,
>
> -Ted
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
> [Non-text portions of this message have been removed]
>




------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
I dumbed down the code a lot and entered this straight in the ABL action window in Epicor. Still isn't happy about something but I don't know what. Can anyone see anything wrong with this?

FOR EACH TTORDERHED:
define variable iOrderNum as integer.
define variable cRepList as character.
define variable morePages as logical.
define variable i as integer.
DEFINE VARIABLE hUD14 AS HANDLE.
RUN bo\UD14.p PERSISTENT SET hUD14.
   if VALID-HANDLE (hUD14) THEN DO:
      RUN GetRows IN hUD14(input "Key1 = '" + STRING(ttorderhed.OrderNum + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 0, output morePages) NO-ERROR.
   end.
   else do:
      message "Could not create handle to UD14.p!".
   end.
delete object hUD14.
END.


Error Detail
============
** Unable to understand after -- "RUN". (247)
** Invalid statement. (254)
** F:\Epicor\EpicorData\52161248110193132228201922451892332081352241.p Could not understand line 22. (198)




________________________________
From: Ted Koch <tkoch77@...>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Tuesday, June 11, 2013 6:29 PM
Subject: Re: [Vantage] Re: Call BO In ABL


It is creating the handle because it gets to this line of code but then says unable to understand after RUN.

RUN GetRows IN hUD14(input "Key1 = '" + STRING(iOrderNum) + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 0, output morePages) NO-ERROR.




________________________________
From: robertbeaghan <robert.beaghan@...>
To: vantage@yahoogroups.com
Sent: Tuesday, June 11, 2013 9:03 AM
Subject: [Vantage] Re: Call BO In ABL


We are running 9.05.607b. There is no file bo\UD14\UD14.p specified by the RUN command in the example. I don't know what file should/can be used instead.

We have used similar syntax when sending emails via BPM, but in that case the .p file is there.

Sorry I can't be of more assistance.

Bob Beaghan


--- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
>
> Managed to get Epicor to throw more 4GL errors and messaging is showing up in the appserver logs. I am using the .p as is from the files section. Maybe it is not constructed correctly, but I'm not sure. Thanks.
>
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Unable to understand after -- "RUN". (247)
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Invalid statement. (254)
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not understand line 16. (198)
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Unknown or ambiguous table ttUD14. (725)
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not understand line 19. (196)
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL Debug-Alert Stack Trace **
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- --> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 10683
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â Update bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line 11485
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate Server/bo/SalesOrder/SalesOrder.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Â Â MasterUpdate bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at line 5237
>
>
>
>
> ________________________________
>Â From: Ted Koch <tkoch77@...>
> To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> Sent: Monday, June 10, 2013 5:57 PM
> Subject: Re: [Vantage] Call BO In ABL

>
> Ok, I was getting the error message because I am stupid and had the .p file in the wrong location. Fixed that, not getting any errors, but no records are being created in UD14. I'm still thinking this is OpenEdge installation related?
>
>
>
> ________________________________
> From: tkoch77 <tkoch77@...>
> To: vantage@yahoogroups.com
> Sent: Monday, June 10, 2013 5:37 PM
> Subject: [Vantage] Call BO In ABL
>
>
> I was browsing the files section and found an example that I cannot get to work, I'm getting a 4GL error which isn't very descriptive and nothing shows in the logs. The example is located here: Files>BPMS>CallBOFromABL.zip.
>
> I'm wondering if I am missing something with my OpenEdge install because I have never been able to get the BO calls from ABL to work, and this example seems simple enough, but won't work.
>
> Thanks for any input,
>
> -Ted
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
> [Non-text portions of this message have been removed]
>




------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
Are you doing this in a post / pre directive for UD04 object? Or is it for
Sales Order or something else? If that's the case the Syntax Chcker won't
be abel to know what the functions are so you ahve to do it from a .P


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Tue, Jun 11, 2013 at 6:51 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I dumbed down the code a lot and entered this straight in the ABL action
> window in Epicor. Still isn't happy about something but I don't know what.
> Can anyone see anything wrong with this?
>
> FOR EACH TTORDERHED:
> define variable iOrderNum as integer.
> define variable cRepList as character.
> define variable morePages as logical.
> define variable i as integer.
> DEFINE VARIABLE hUD14 AS HANDLE.
> RUN bo\UD14.p PERSISTENT SET hUD14.
> if VALID-HANDLE (hUD14) THEN DO:
> RUN GetRows IN hUD14(input "Key1 = '" + STRING(ttorderhed.OrderNum
> + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 0, output
> morePages) NO-ERROR.
> end.
> else do:
> message "Could not create handle to UD14.p!".
> end.
> delete object hUD14.
> END.
>
> Error Detail
> ============
>
> ** Unable to understand after -- "RUN". (247)
> ** Invalid statement. (254)
> ** F:\Epicor\EpicorData\52161248110193132228201922451892332081352241.p
> Could not understand line 22. (198)
>
>
> ________________________________
> From: Ted Koch <tkoch77@...>
> To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> Sent: Tuesday, June 11, 2013 6:29 PM
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
>
> It is creating the handle because it gets to this line of code but then
> says unable to understand after RUN.
>
> RUN GetRows IN hUD14(input "Key1 = '" + STRING(iOrderNum) + "'", input "",
> {&output_dataset_UD14DataSet}, input 0, input 0, output morePages) NO-ERROR.
>
> ________________________________
> From: robertbeaghan <robert.beaghan@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, June 11, 2013 9:03 AM
> Subject: [Vantage] Re: Call BO In ABL
>
> We are running 9.05.607b. There is no file bo\UD14\UD14.p specified by
> the RUN command in the example. I don't know what file should/can be used
> instead.
>
> We have used similar syntax when sending emails via BPM, but in that case
> the .p file is there.
>
> Sorry I can't be of more assistance.
>
> Bob Beaghan
>
> --- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
> >
> > Managed to get Epicor to throw more 4GL errors and messaging is showing
> up in the appserver logs. I am using the .p as is from the files section.
> Maybe it is not constructed correctly, but I'm not sure. Thanks.
> >
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Unable to
> understand after -- "RUN". (247)
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Invalid
> statement. (254)
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- **
> F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not
> understand line 16. (198)
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Unknown or
> ambiguous table ttUD14. (725)
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- **
> F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not
> understand line 19. (196)
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> >
> >
> >
> >
> > ________________________________
> > From: Ted Koch <tkoch77@...>
> > To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> > Sent: Monday, June 10, 2013 5:57 PM
> > Subject: Re: [Vantage] Call BO In ABL
> >
> >
> > Ok, I was getting the error message because I am stupid and had the .p
> file in the wrong location. Fixed that, not getting any errors, but no
> records are being created in UD14. I'm still thinking this is OpenEdge
> installation related?
> >
> >
> >
> > ________________________________
> > From: tkoch77 <tkoch77@...>
> > To: vantage@yahoogroups.com
> > Sent: Monday, June 10, 2013 5:37 PM
> > Subject: [Vantage] Call BO In ABL
> >
> >
> > I was browsing the files section and found an example that I cannot get
> to work, I'm getting a 4GL error which isn't very descriptive and nothing
> shows in the logs. The example is located here:
> Files>BPMS>CallBOFromABL.zip.
> >
> > I'm wondering if I am missing something with my OpenEdge install because
> I have never been able to get the BO calls from ABL to work, and this
> example seems simple enough, but won't work.
> >
> > Thanks for any input,
> >
> > -Ted
> >
> >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]
Post-processing method directive on sales order.update




________________________________
From: Jose Gomez <jose@...>
To: Vantage <vantage@yahoogroups.com>
Sent: Tuesday, June 11, 2013 8:05 PM
Subject: Re: [Vantage] Re: Call BO In ABL


Are you doing this in a post / pre directive for UD04 object? Or is it for
Sales Order or something else? If that's the case the Syntax Chcker won't
be abel to know what the functions are so you ahve to do it from a .P


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Tue, Jun 11, 2013 at 6:51 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I dumbed down the code a lot and entered this straight in the ABL action
> window in Epicor. Still isn't happy about something but I don't know what.
> Can anyone see anything wrong with this?
>
> FOR EACH TTORDERHED:
> define variable iOrderNum as integer.
> define variable cRepList as character.
> define variable morePages as logical.
> define variable i as integer.
> DEFINE VARIABLE hUD14 AS HANDLE.
> RUN bo\UD14.p PERSISTENT SET hUD14.
>Â Â if VALID-HANDLE (hUD14) THEN DO:
>Â Â Â Â RUN GetRows IN hUD14(input "Key1 = '" + STRING(ttorderhed.OrderNum
> + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 0, output
> morePages) NO-ERROR.
>Â Â end.
>Â Â else do:
>Â Â Â Â message "Could not create handle to UD14.p!".
>Â Â end.
> delete object hUD14.
> END.
>
> Error Detail
> ============
>
> ** Unable to understand after -- "RUN". (247)
> ** Invalid statement. (254)
> ** F:\Epicor\EpicorData\52161248110193132228201922451892332081352241.p
> Could not understand line 22. (198)
>
>
> ________________________________
> From: Ted Koch <tkoch77@...>
> To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> Sent: Tuesday, June 11, 2013 6:29 PM
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
>
> It is creating the handle because it gets to this line of code but then
> says unable to understand after RUN.
>
> RUN GetRows IN hUD14(input "Key1 = '" + STRING(iOrderNum) + "'", input "",
> {&output_dataset_UD14DataSet}, input 0, input 0, output morePages) NO-ERROR.
>
> ________________________________
> From: robertbeaghan <robert.beaghan@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, June 11, 2013 9:03 AM
> Subject: [Vantage] Re: Call BO In ABL
>
> We are running 9.05.607b. There is no file bo\UD14\UD14.p specified by
> the RUN command in the example. I don't know what file should/can be used
> instead.
>
> We have used similar syntax when sending emails via BPM, but in that case
> the .p file is there.
>
> Sorry I can't be of more assistance.
>
> Bob Beaghan
>
> --- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
> >
> > Managed to get Epicor to throw more 4GL errors and messaging is showing
> up in the appserver logs. I am using the .p as is from the files section.
> Maybe it is not constructed correctly, but I'm not sure. Thanks.
> >
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Unable to
> understand after -- "RUN". (247)
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Invalid
> statement. (254)
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- **
> F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not
> understand line 16. (198)
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Unknown or
> ambiguous table ttUD14. (725)
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- **
> F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not
> understand line 19. (196)
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> >
> >
> >
> >
> > ________________________________
> >Â From: Ted Koch <tkoch77@...>
> > To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> > Sent: Monday, June 10, 2013 5:57 PM
> > Subject: Re: [Vantage] Call BO In ABL
> >
> >
> > Ok, I was getting the error message because I am stupid and had the .p
> file in the wrong location. Fixed that, not getting any errors, but no
> records are being created in UD14. I'm still thinking this is OpenEdge
> installation related?
> >
> >
> >
> > ________________________________
> > From: tkoch77 <tkoch77@...>
> > To: vantage@yahoogroups.com
> > Sent: Monday, June 10, 2013 5:37 PM
> > Subject: [Vantage] Call BO In ABL
> >
> >
> > I was browsing the files section and found an example that I cannot get
> to work, I'm getting a 4GL error which isn't very descriptive and nothing
> shows in the logs. The example is located here:
> Files>BPMS>CallBOFromABL.zip.
> >
> > I'm wondering if I am missing something with my OpenEdge install because
> I have never been able to get the BO calls from ABL to work, and this
> example seems simple enough, but won't work.
> >
> > Thanks for any input,
> >
> > -Ted
> >
> >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>


[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
I have copied this code to a .p and placed on the server. Do I need to use the procedure editor to create these files or can I use notepad? I have just been using notepad.


{Bpm/Bpm.i &OBJECT_NAME=UD14}

define input parameter iOrderNum as integer.
define input parameter cRepList as character.

{&TRY_PRIVATE}
   define variable morePages as logical.
   define variable i as integer.
   define variable hUD14 as handle.
  Â
   RUN bo\UD14\UD14.p PERSISTENT SET hUD14.
  Â
   if VALID-HANDLE (hUD14) THEN DO:
      RUN GetRows IN hUD14 (input "Key1 = '" + STRING(iOrderNum) + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 0, output morePages) NO-ERROR.
   end.
   else do:
      message "Could not create handle to UD14.p!".
   end.
     Â
delete object hUD14.

{&CATCH_PRIVATE}

Still getting the same errors.



________________________________
From: Jose Gomez <jose@...>
To: Vantage <vantage@yahoogroups.com>
Sent: Tuesday, June 11, 2013 8:05 PM
Subject: Re: [Vantage] Re: Call BO In ABL


Are you doing this in a post / pre directive for UD04 object? Or is it for
Sales Order or something else? If that's the case the Syntax Chcker won't
be abel to know what the functions are so you ahve to do it from a .P


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Tue, Jun 11, 2013 at 6:51 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I dumbed down the code a lot and entered this straight in the ABL action
> window in Epicor. Still isn't happy about something but I don't know what.
> Can anyone see anything wrong with this?
>
> FOR EACH TTORDERHED:
> define variable iOrderNum as integer.
> define variable cRepList as character.
> define variable morePages as logical.
> define variable i as integer.
> DEFINE VARIABLE hUD14 AS HANDLE.
> RUN bo\UD14.p PERSISTENT SET hUD14.
>Â Â if VALID-HANDLE (hUD14) THEN DO:
>Â Â Â Â RUN GetRows IN hUD14(input "Key1 = '" + STRING(ttorderhed.OrderNum
> + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 0, output
> morePages) NO-ERROR.
>Â Â end.
>Â Â else do:
>Â Â Â Â message "Could not create handle to UD14.p!".
>Â Â end.
> delete object hUD14.
> END.
>
> Error Detail
> ============
>
> ** Unable to understand after -- "RUN". (247)
> ** Invalid statement. (254)
> ** F:\Epicor\EpicorData\52161248110193132228201922451892332081352241.p
> Could not understand line 22. (198)
>
>
> ________________________________
> From: Ted Koch <tkoch77@...>
> To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> Sent: Tuesday, June 11, 2013 6:29 PM
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
>
> It is creating the handle because it gets to this line of code but then
> says unable to understand after RUN.
>
> RUN GetRows IN hUD14(input "Key1 = '" + STRING(iOrderNum) + "'", input "",
> {&output_dataset_UD14DataSet}, input 0, input 0, output morePages) NO-ERROR.
>
> ________________________________
> From: robertbeaghan <robert.beaghan@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, June 11, 2013 9:03 AM
> Subject: [Vantage] Re: Call BO In ABL
>
> We are running 9.05.607b. There is no file bo\UD14\UD14.p specified by
> the RUN command in the example. I don't know what file should/can be used
> instead.
>
> We have used similar syntax when sending emails via BPM, but in that case
> the .p file is there.
>
> Sorry I can't be of more assistance.
>
> Bob Beaghan
>
> --- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
> >
> > Managed to get Epicor to throw more 4GL errors and messaging is showing
> up in the appserver logs. I am using the .p as is from the files section.
> Maybe it is not constructed correctly, but I'm not sure. Thanks.
> >
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Unable to
> understand after -- "RUN". (247)
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Invalid
> statement. (254)
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- **
> F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not
> understand line 16. (198)
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Unknown or
> ambiguous table ttUD14. (725)
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- **
> F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not
> understand line 19. (196)
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL
> Debug-Alert Stack Trace **
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- -->
> UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 10683
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â Update
> bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> 11485
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> Server/bo/SalesOrder/SalesOrder.p
> (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS --Â Â MasterUpdate
> bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> line 5237
> >
> >
> >
> >
> > ________________________________
> >Â From: Ted Koch <tkoch77@...>
> > To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> > Sent: Monday, June 10, 2013 5:57 PM
> > Subject: Re: [Vantage] Call BO In ABL
> >
> >
> > Ok, I was getting the error message because I am stupid and had the .p
> file in the wrong location. Fixed that, not getting any errors, but no
> records are being created in UD14. I'm still thinking this is OpenEdge
> installation related?
> >
> >
> >
> > ________________________________
> > From: tkoch77 <tkoch77@...>
> > To: vantage@yahoogroups.com
> > Sent: Monday, June 10, 2013 5:37 PM
> > Subject: [Vantage] Call BO In ABL
> >
> >
> > I was browsing the files section and found an example that I cannot get
> to work, I'm getting a 4GL error which isn't very descriptive and nothing
> shows in the logs. The example is located here:
> Files>BPMS>CallBOFromABL.zip.
> >
> > I'm wondering if I am missing something with my OpenEdge install because
> I have never been able to get the BO calls from ABL to work, and this
> example seems simple enough, but won't work.
> >
> > Thanks for any input,
> >
> > -Ted
> >
> >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>


[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
Just notepad is fine however when you say o
check your GetRows method in your BPM -> Method Directive Screen

in the Main Screen Click ADvanced it will show you the parameters you are
supposed to pass to get rows make sure they are in the right order



*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Wed, Jun 12, 2013 at 8:02 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I have copied this code to a .p and placed on the server. Do I need to use
> the procedure editor to create these files or can I use notepad? I have
> just been using notepad.
>
> {Bpm/Bpm.i &OBJECT_NAME=UD14}
>
> define input parameter iOrderNum as integer.
> define input parameter cRepList as character.
>
> {&TRY_PRIVATE}
>
> define variable morePages as logical.
> define variable i as integer.
> define variable hUD14 as handle.
>
> RUN bo\UD14\UD14.p PERSISTENT SET hUD14.
>
>
> if VALID-HANDLE (hUD14) THEN DO:
> RUN GetRows IN hUD14 (input "Key1 = '" + STRING(iOrderNum) + "'",
> input "", {&output_dataset_UD14DataSet}, input 0, input 0, output
> morePages) NO-ERROR.
>
> end.
> else do:
> message "Could not create handle to UD14.p!".
> end.
>
> delete object hUD14.
>
> {&CATCH_PRIVATE}
>
> Still getting the same errors.
>
>
> ________________________________
> From: Jose Gomez <jose@...>
> To: Vantage <vantage@yahoogroups.com>
> Sent: Tuesday, June 11, 2013 8:05 PM
>
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
> Are you doing this in a post / pre directive for UD04 object? Or is it for
> Sales Order or something else? If that's the case the Syntax Chcker won't
> be abel to know what the functions are so you ahve to do it from a .P
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
>
> <http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez
> >
> <http://www.google.com/profiles/jose.gomez> <
> http://www.twitter.com/joc85>
> <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
> <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
> On Tue, Jun 11, 2013 at 6:51 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > I dumbed down the code a lot and entered this straight in the ABL action
> > window in Epicor. Still isn't happy about something but I don't know
> what.
> > Can anyone see anything wrong with this?
> >
> > FOR EACH TTORDERHED:
> > define variable iOrderNum as integer.
> > define variable cRepList as character.
> > define variable morePages as logical.
> > define variable i as integer.
> > DEFINE VARIABLE hUD14 AS HANDLE.
> > RUN bo\UD14.p PERSISTENT SET hUD14.
> > if VALID-HANDLE (hUD14) THEN DO:
> > RUN GetRows IN hUD14(input "Key1 = '" + STRING(ttorderhed.OrderNum
> > + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 0, output
> > morePages) NO-ERROR.
> > end.
> > else do:
> > message "Could not create handle to UD14.p!".
> > end.
> > delete object hUD14.
> > END.
> >
> > Error Detail
> > ============
> >
> > ** Unable to understand after -- "RUN". (247)
> > ** Invalid statement. (254)
> > ** F:\Epicor\EpicorData\52161248110193132228201922451892332081352241.p
> > Could not understand line 22. (198)
> >
> >
> > ________________________________
> > From: Ted Koch <tkoch77@...>
> > To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> > Sent: Tuesday, June 11, 2013 6:29 PM
> > Subject: Re: [Vantage] Re: Call BO In ABL
> >
> >
> >
> > It is creating the handle because it gets to this line of code but then
> > says unable to understand after RUN.
> >
> > RUN GetRows IN hUD14(input "Key1 = '" + STRING(iOrderNum) + "'", input
> "",
> > {&output_dataset_UD14DataSet}, input 0, input 0, output morePages)
> NO-ERROR.
> >
> > ________________________________
> > From: robertbeaghan <robert.beaghan@...>
> > To: vantage@yahoogroups.com
> > Sent: Tuesday, June 11, 2013 9:03 AM
> > Subject: [Vantage] Re: Call BO In ABL
> >
> > We are running 9.05.607b. There is no file bo\UD14\UD14.p specified by
> > the RUN command in the example. I don't know what file should/can be
> used
> > instead.
> >
> > We have used similar syntax when sending emails via BPM, but in that case
> > the .p file is there.
> >
> > Sorry I can't be of more assistance.
> >
> > Bob Beaghan
> >
> > --- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
> > >
> > > Managed to get Epicor to throw more 4GL errors and messaging is showing
> > up in the appserver logs. I am using the .p as is from the files section.
> > Maybe it is not constructed correctly, but I'm not sure. Thanks.
> > >
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Unable to
> > understand after -- "RUN". (247)
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> > Debug-Alert Stack Trace **
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> > UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 10683
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- Update
> > bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 11485
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > Server/bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> > line 5237
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** Invalid
> > statement. (254)
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> > Debug-Alert Stack Trace **
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> > UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 10683
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- Update
> > bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 11485
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > Server/bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> > line 5237
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- **
> > F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not
> > understand line 16. (198)
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- ** ABL
> > Debug-Alert Stack Trace **
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- -->
> > UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 10683
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- Update
> > bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 11485
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > Server/bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > > [13/06/10@18:12:07.683-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> > line 5237
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Unknown or
> > ambiguous table ttUD14. (725)
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL
> > Debug-Alert Stack Trace **
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- -->
> > UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 10683
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Update
> > bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 11485
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > Server/bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> > line 5237
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- **
> > F:\Epicor\Epicor905\Server\bpm\TAIT\StoreSORepsInUD14.p Could not
> > understand line 19. (196)
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- ** ABL
> > Debug-Alert Stack Trace **
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- -->
> > UpdatePost94_A1 bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 10683
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- Update
> > bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\bpmExec\LiveBPM\bo\SalesOrder\SalesOrder.r) at line
> > 11485
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > Server/bo/SalesOrder/SalesOrder.p
> > (F:\Epicor\Epicor905\Server\bo\SalesOrder\SalesOrder.r) at line 117487
> > > [13/06/10@18:12:07.684-0400] P-003432 T-003320 1 AS -- MasterUpdate
> > bo/SalesOrder/Sink.p (F:\Epicor\Epicor905\Server\bo\SalesOrder\Sink.r) at
> > line 5237
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: Ted Koch <tkoch77@...>
> > > To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
> > > Sent: Monday, June 10, 2013 5:57 PM
> > > Subject: Re: [Vantage] Call BO In ABL
> > >
> > >
> > > Ok, I was getting the error message because I am stupid and had the .p
> > file in the wrong location. Fixed that, not getting any errors, but no
> > records are being created in UD14. I'm still thinking this is OpenEdge
> > installation related?
> > >
> > >
> > >
> > > ________________________________
> > > From: tkoch77 <tkoch77@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Monday, June 10, 2013 5:37 PM
> > > Subject: [Vantage] Call BO In ABL
> > >
> > >
> > > I was browsing the files section and found an example that I cannot get
> > to work, I'm getting a 4GL error which isn't very descriptive and nothing
> > shows in the logs. The example is located here:
> > Files>BPMS>CallBOFromABL.zip.
> > >
> > > I'm wondering if I am missing something with my OpenEdge install
> because
> > I have never been able to get the BO calls from ABL to work, and this
> > example seems simple enough, but won't work.
> > >
> > > Thanks for any input,
> > >
> > > -Ted
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have already linked your email address to a yahoo id to enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> > and Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have already linked your email address to a yahoo id to enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> > and Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]
I am 99% sure the parameters I am passing to GetRows are in correct order. Jose, what BO and method is this example you gave me a couple weeks supposed to run on. I will see if I can get this one to work.

http://tech.groups.yahoo.com/group/vantage/message/121220

[Non-text portions of this message have been removed]
I think thats from Invoice Entry


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Wed, Jun 12, 2013 at 9:46 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I am 99% sure the parameters I am passing to GetRows are in correct order.
> Jose, what BO and method is this example you gave me a couple weeks
> supposed to run on. I will see if I can get this one to work.
>
> http://tech.groups.yahoo.com/group/vantage/message/121220
>
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]
I copied what you posted and pasted into notepad and saved as a .p file. I then entered this in the BPM (APInvoice.Update post-processing) ABL Action window but still getting same error (unable to understand after -- "RUN").

FOR EACH ttAPInvHed:
   RUN bpm\TAIT\StoreInfoInUD10.p (input ttAPInvHed.InvoiceNum, input ttAPInvHed.VendorNum input ttAPInvHed.Description, input ttAPInvHed.DocInvoiceAmt)
END.




________________________________
From: Jose Gomez <jose@...>
To: Vantage <vantage@yahoogroups.com>
Sent: Wednesday, June 12, 2013 9:49 AM
Subject: Re: [Vantage] Re: Call BO In ABL


I think thats from Invoice Entry


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez>Â <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Wed, Jun 12, 2013 at 9:46 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I am 99% sure the parameters I am passing to GetRows are in correct order.
> Jose, what BO and method is this example you gave me a couple weeks
> supposed to run on. I will see if I can get this one to work.
>
> http://tech.groups.yahoo.com/group/vantage/message/121220
>
>
> [Non-text portions of this message have been removed]
>

>


[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
If that was a literal cut and paste from your BPM, it looks like it is
missing a comma after the second input parameter.

-Chad


On Wed, Jun 12, 2013 at 3:49 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I copied what you posted and pasted into notepad and saved as a .p file. I
> then entered this in the BPM (APInvoice.Update post-processing) ABL Action
> window but still getting same error (unable to understand after -- "RUN").
>
> FOR EACH ttAPInvHed:
> RUN bpm\TAIT\StoreInfoInUD10.p (input ttAPInvHed.InvoiceNum, input
> ttAPInvHed.VendorNum input ttAPInvHed.Description, input
> ttAPInvHed.DocInvoiceAmt)
> END.
>
>
> ________________________________
> From: Jose Gomez <jose@...>
> To: Vantage <vantage@yahoogroups.com>
> Sent: Wednesday, June 12, 2013 9:49 AM
>
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
> I think thats from Invoice Entry
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez> <
> http://www.facebook.com/josegomez>
> <http://www.google.com/profiles/jose.gomez> <
> http://www.twitter.com/joc85>
> <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
> <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
> On Wed, Jun 12, 2013 at 9:46 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I am 99% sure the parameters I am passing to GetRows are in correct
> order.
> > Jose, what BO and method is this example you gave me a couple weeks
> > supposed to run on. I will see if I can get this one to work.
> >
> > http://tech.groups.yahoo.com/group/vantage/message/121220
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]
Thanks Chad, I didn't even think to check there.

Still getting the same error however from the .p file Jose posted.




________________________________
From: Chad Villa <chad.villa@...>
To: vantage@yahoogroups.com
Sent: Thursday, June 13, 2013 4:06 PM
Subject: Re: [Vantage] Re: Call BO In ABL


If that was a literal cut and paste from your BPM, it looks like it is
missing a comma after the second input parameter.

-Chad


On Wed, Jun 12, 2013 at 3:49 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> I copied what you posted and pasted into notepad and saved as a .p file. I
> then entered this in the BPM (APInvoice.Update post-processing) ABL Action
> window but still getting same error (unable to understand after -- "RUN").
>
> FOR EACH ttAPInvHed:
>Â Â RUN bpm\TAIT\StoreInfoInUD10.p (input ttAPInvHed.InvoiceNum, input
> ttAPInvHed.VendorNum input ttAPInvHed.Description, input
> ttAPInvHed.DocInvoiceAmt)
> END.
>
>
> ________________________________
> From: Jose Gomez <jose@...>
> To: Vantage <vantage@yahoogroups.com>
> Sent: Wednesday, June 12, 2013 9:49 AM
>
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
> I think thats from Invoice Entry
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez>Â <
> http://www.facebook.com/josegomez>
>Â <http://www.google.com/profiles/jose.gomez> <
> http://www.twitter.com/joc85>
>Â <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
>Â <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
> On Wed, Jun 12, 2013 at 9:46 AM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I am 99% sure the parameters I am passing to GetRows are in correct
> order.
> > Jose, what BO and method is this example you gave me a couple weeks
> > supposed to run on. I will see if I can get this one to work.
> >
> > http://tech.groups.yahoo.com/group/vantage/message/121220
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>


[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
You get the error at compile time or at run time?


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Thu, Jun 13, 2013 at 4:59 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> Thanks Chad, I didn't even think to check there.
>
> Still getting the same error however from the .p file Jose posted.
>
> ________________________________
> From: Chad Villa <chad.villa@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, June 13, 2013 4:06 PM
>
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
> If that was a literal cut and paste from your BPM, it looks like it is
> missing a comma after the second input parameter.
>
> -Chad
>
> On Wed, Jun 12, 2013 at 3:49 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I copied what you posted and pasted into notepad and saved as a .p file.
> I
> > then entered this in the BPM (APInvoice.Update post-processing) ABL
> Action
> > window but still getting same error (unable to understand after --
> "RUN").
> >
> > FOR EACH ttAPInvHed:
> > RUN bpm\TAIT\StoreInfoInUD10.p (input ttAPInvHed.InvoiceNum, input
> > ttAPInvHed.VendorNum input ttAPInvHed.Description, input
> > ttAPInvHed.DocInvoiceAmt)
> > END.
> >
> >
> > ________________________________
> > From: Jose Gomez <jose@...>
> > To: Vantage <vantage@yahoogroups.com>
> > Sent: Wednesday, June 12, 2013 9:49 AM
> >
> > Subject: Re: [Vantage] Re: Call BO In ABL
> >
> >
> > I think thats from Invoice Entry
> >
> > *Jose C Gomez*
> > *Software Engineer*
> > *
> > *
> > *
> > *T: 904.469.1524 mobile
> > E: jose@...
> > http://www.josecgomez.com
> > <http://www.linkedin.com/in/josecgomez> <
> > http://www.facebook.com/josegomez>
> > <http://www.google.com/profiles/jose.gomez> <
> > http://www.twitter.com/joc85>
> > <http://www.josecgomez.com/professional-resume/>
> > <http://www.josecgomez.com/feed/>
> > <http://www.usdoingstuff.com>
> >
> > *Quis custodiet ipsos custodes?*
> >
> > On Wed, Jun 12, 2013 at 9:46 AM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > I am 99% sure the parameters I am passing to GetRows are in correct
> > order.
> > > Jose, what BO and method is this example you gave me a couple weeks
> > > supposed to run on. I will see if I can get this one to work.
> > >
> > > http://tech.groups.yahoo.com/group/vantage/message/121220
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]
Run time




________________________________
From: Jose Gomez <jose@...>
To: Vantage <vantage@yahoogroups.com>
Sent: Friday, June 14, 2013 8:12 AM
Subject: Re: [Vantage] Re: Call BO In ABL


You get the error at compile time or at run time?


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez>Â <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Thu, Jun 13, 2013 at 4:59 PM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> Thanks Chad, I didn't even think to check there.
>
> Still getting the same error however from the .p file Jose posted.
>
> ________________________________
> From: Chad Villa <chad.villa@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, June 13, 2013 4:06 PM
>
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
> If that was a literal cut and paste from your BPM, it looks like it is
> missing a comma after the second input parameter.
>
> -Chad
>
> On Wed, Jun 12, 2013 at 3:49 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
> >
> >
> > I copied what you posted and pasted into notepad and saved as a .p file.
> I
> > then entered this in the BPM (APInvoice.Update post-processing) ABL
> Action
> > window but still getting same error (unable to understand after --
> "RUN").
> >
> > FOR EACH ttAPInvHed:
> >Â Â RUN bpm\TAIT\StoreInfoInUD10.p (input ttAPInvHed.InvoiceNum, input
> > ttAPInvHed.VendorNum input ttAPInvHed.Description, input
> > ttAPInvHed.DocInvoiceAmt)
> > END.
> >
> >
> > ________________________________
> > From: Jose Gomez <jose@...>
> > To: Vantage <vantage@yahoogroups.com>
> > Sent: Wednesday, June 12, 2013 9:49 AM
> >
> > Subject: Re: [Vantage] Re: Call BO In ABL
> >
> >
> > I think thats from Invoice Entry
> >
> > *Jose C Gomez*
> > *Software Engineer*
> > *
> > *
> > *
> > *T: 904.469.1524 mobile
> > E: jose@...
> > http://www.josecgomez.com
> > <http://www.linkedin.com/in/josecgomez>Â <
> > http://www.facebook.com/josegomez>
> >Â <http://www.google.com/profiles/jose.gomez> <
> > http://www.twitter.com/joc85>
> >Â <http://www.josecgomez.com/professional-resume/>
> > <http://www.josecgomez.com/feed/>
> >Â <http://www.usdoingstuff.com>
> >
> > *Quis custodiet ipsos custodes?*
> >
> > On Wed, Jun 12, 2013 at 9:46 AM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > I am 99% sure the parameters I am passing to GetRows are in correct
> > order.
> > > Jose, what BO and method is this example you gave me a couple weeks
> > > supposed to run on. I will see if I can get this one to work.
> > >
> > > http://tech.groups.yahoo.com/group/vantage/message/121220
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> > have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>


[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]
Are you in 8x or 9x? can you paste your BPM and your .P? Also can you put
Message '1'. etc.. through the code I want to see if its failing to call .P
or failing within the .P


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Fri, Jun 14, 2013 at 8:35 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> Run time
>
>
> ________________________________
> From: Jose Gomez <jose@...>
> To: Vantage <vantage@yahoogroups.com>
> Sent: Friday, June 14, 2013 8:12 AM
>
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
> You get the error at compile time or at run time?
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez> <
> http://www.facebook.com/josegomez>
> <http://www.google.com/profiles/jose.gomez> <
> http://www.twitter.com/joc85>
> <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
> <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
> On Thu, Jun 13, 2013 at 4:59 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > Thanks Chad, I didn't even think to check there.
> >
> > Still getting the same error however from the .p file Jose posted.
> >
> > ________________________________
> > From: Chad Villa <chad.villa@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, June 13, 2013 4:06 PM
> >
> > Subject: Re: [Vantage] Re: Call BO In ABL
> >
> >
> > If that was a literal cut and paste from your BPM, it looks like it is
> > missing a comma after the second input parameter.
> >
> > -Chad
> >
> > On Wed, Jun 12, 2013 at 3:49 PM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > I copied what you posted and pasted into notepad and saved as a .p
> file.
> > I
> > > then entered this in the BPM (APInvoice.Update post-processing) ABL
> > Action
> > > window but still getting same error (unable to understand after --
> > "RUN").
> > >
> > > FOR EACH ttAPInvHed:
> > > RUN bpm\TAIT\StoreInfoInUD10.p (input ttAPInvHed.InvoiceNum, input
> > > ttAPInvHed.VendorNum input ttAPInvHed.Description, input
> > > ttAPInvHed.DocInvoiceAmt)
> > > END.
> > >
> > >
> > > ________________________________
> > > From: Jose Gomez <jose@...>
> > > To: Vantage <vantage@yahoogroups.com>
> > > Sent: Wednesday, June 12, 2013 9:49 AM
> > >
> > > Subject: Re: [Vantage] Re: Call BO In ABL
> > >
> > >
> > > I think thats from Invoice Entry
> > >
> > > *Jose C Gomez*
> > > *Software Engineer*
> > > *
> > > *
> > > *
> > > *T: 904.469.1524 mobile
> > > E: jose@...
> > > http://www.josecgomez.com
> > > <http://www.linkedin.com/in/josecgomez> <
> > > http://www.facebook.com/josegomez>
> > > <http://www.google.com/profiles/jose.gomez> <
> > > http://www.twitter.com/joc85>
> > > <http://www.josecgomez.com/professional-resume/>
> > > <http://www.josecgomez.com/feed/>
> > > <http://www.usdoingstuff.com>
> > >
> > > *Quis custodiet ipsos custodes?*
> > >
> > > On Wed, Jun 12, 2013 at 9:46 AM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > I am 99% sure the parameters I am passing to GetRows are in correct
> > > order.
> > > > Jose, what BO and method is this example you gave me a couple weeks
> > > > supposed to run on. I will see if I can get this one to work.
> > > >
> > > > http://tech.groups.yahoo.com/group/vantage/message/121220
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > >
> > > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > > have already linked your email address to a yahoo id to enable access.
> )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]
It is failing in the .p at this line, RUN GetRows IN hUD14 (input "Key1 = '" + STRING(iOrderNum) + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 1, output morePages) NO-ERROR.

If I comment out this line I get no errors and the logs display messages 1 and 2, when I uncomment this line, none of the messages display and I get the unable to understand after -- RUN error.

I have simplified this, it is being used on SalesOrder.Update post-processing.

{Bpm/Bpm.i &OBJECT_NAME=UD14}

define input parameter iOrderNum as integer.
define input parameter cRepList as character.

{&TRY_PRIVATE}
   define variable morePages as logical init false.
   define variable i as integer.
   define variable hUD14 as handle.
   RUN bo\UD14\UD14.p PERSISTENT SET hUD14.
   message '1'.
   if VALID-HANDLE (hUD14) THEN DO:
      message '2'.
      RUN GetRows IN hUD14 (input "Key1 = '" + STRING(iOrderNum) + "'", input "", {&output_dataset_UD14DataSet}, input 0, input 0, output morePages) NO-ERROR.
   end.
   else do:
      message "Could not create handle to UD14.p!".
   end.
     Â
delete object hUD14.

{&CATCH_PRIVATE}





________________________________
From: Jose Gomez <jose@...>
To: Vantage <vantage@yahoogroups.com>
Sent: Friday, June 14, 2013 8:42 AM
Subject: Re: [Vantage] Re: Call BO In ABL


Are you in 8x or 9x? can you paste your BPM and your .P? Also can you put
Message '1'. etc.. through the code I want to see if its failing to call .P
or failing within the .P


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
 <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
 <http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
 <http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Fri, Jun 14, 2013 at 8:35 AM, Ted Koch <tkoch77@...> wrote:

> **
>
>
> Run time
>
>
> ________________________________
> From: Jose Gomez <jose@...>
> To: Vantage <vantage@yahoogroups.com>
> Sent: Friday, June 14, 2013 8:12 AM
>
> Subject: Re: [Vantage] Re: Call BO In ABL
>
>
> You get the error at compile time or at run time?
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez>Â <
> http://www.facebook.com/josegomez>
>Â <http://www.google.com/profiles/jose.gomez> <
> http://www.twitter.com/joc85>
>Â <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
>Â <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
> On Thu, Jun 13, 2013 at 4:59 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > Thanks Chad, I didn't even think to check there.
> >
> > Still getting the same error however from the .p file Jose posted.
> >
> > ________________________________
> > From: Chad Villa <chad.villa@...>
> > To: vantage@yahoogroups.com
> > Sent: Thursday, June 13, 2013 4:06 PM
> >
> > Subject: Re: [Vantage] Re: Call BO In ABL
> >
> >
> > If that was a literal cut and paste from your BPM, it looks like it is
> > missing a comma after the second input parameter.
> >
> > -Chad
> >
> > On Wed, Jun 12, 2013 at 3:49 PM, Ted Koch <tkoch77@...> wrote:
> >
> > > **
> > >
> > >
> > > I copied what you posted and pasted into notepad and saved as a .p
> file.
> > I
> > > then entered this in the BPM (APInvoice.Update post-processing) ABL
> > Action
> > > window but still getting same error (unable to understand after --
> > "RUN").
> > >
> > > FOR EACH ttAPInvHed:
> > >Â Â RUN bpm\TAIT\StoreInfoInUD10.p (input ttAPInvHed.InvoiceNum, input
> > > ttAPInvHed.VendorNum input ttAPInvHed.Description, input
> > > ttAPInvHed.DocInvoiceAmt)
> > > END.
> > >
> > >
> > > ________________________________
> > > From: Jose Gomez <jose@...>
> > > To: Vantage <vantage@yahoogroups.com>
> > > Sent: Wednesday, June 12, 2013 9:49 AM
> > >
> > > Subject: Re: [Vantage] Re: Call BO In ABL
> > >
> > >
> > > I think thats from Invoice Entry
> > >
> > > *Jose C Gomez*
> > > *Software Engineer*
> > > *
> > > *
> > > *
> > > *T: 904.469.1524 mobile
> > > E: jose@...
> > > http://www.josecgomez.com
> > > <http://www.linkedin.com/in/josecgomez>Â <
> > > http://www.facebook.com/josegomez>
> > >Â <http://www.google.com/profiles/jose.gomez> <
> > > http://www.twitter.com/joc85>
> > >Â <http://www.josecgomez.com/professional-resume/>
> > > <http://www.josecgomez.com/feed/>
> > >Â <http://www.usdoingstuff.com>
> > >
> > > *Quis custodiet ipsos custodes?*
> > >
> > > On Wed, Jun 12, 2013 at 9:46 AM, Ted Koch <tkoch77@...> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > I am 99% sure the parameters I am passing to GetRows are in correct
> > > order.
> > > > Jose, what BO and method is this example you gave me a couple weeks
> > > > supposed to run on. I will see if I can get this one to work.
> > > >
> > > > http://tech.groups.yahoo.com/group/vantage/message/121220
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > >
> > > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> > > have already linked your email address to a yahoo id to enable access.
> )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> > have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must
> have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>

>


[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links



[Non-text portions of this message have been removed]