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