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?*
________________________________
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]