Try this instead of the Assign.
Run lib\UpdateTableBuffer.p(input BUFFER OrderRel:HANDLE, 'FirmRelease', "NO").
This sample is used to set the OrderRel.FirmRelease field to False. You may want to comment out the message section to see if that is your error.
Run lib\UpdateTableBuffer.p(input BUFFER OrderRel:HANDLE, 'FirmRelease', "NO").
This sample is used to set the OrderRel.FirmRelease field to False. You may want to comment out the message section to see if that is your error.
--- In vantage@yahoogroups.com, "Cathy" <cathy@...> wrote:
>
> I am still missing the correct syntax. My BPM lets me validate the code
> but, when I try testing - I get an "Unexpected error - see appserver logs."
>
>
>
> It does not even display the "Setting Checkbox to False" - when I comment
> out the Assign JobOper01 = False - it will loop through and display all the
> Operations.
>
>
>
> Any suggestions?
>
>
>
> Thank you -
>
>
>
> ****************************************************************************
> *************************************
>
>
>
> define variable vSubject as character no-undo.
>
> For Each ttJobOper where ttJobOper.rowmod = 'U' and ttJobOper.OpComplete =
> True no-lock.
>
> For each JobOper where ttJobOper.Company = JobOper.Company
> and ttJobOper.JobNum = JobOper.JobNum:
>
> assign vSubject = "Setting Checkbox to False " + string(joboper.OprSeq) +
> '' + joboper.OpDesc + "Job Oper Complete " + string(joboper.OpComplete).
> {lib/publishinfomsg.i &infomsg = vSubject} .
>
> Assign JobOper.checkbox01 = False.
>
> End.
>
> End.
>
>
>
>
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
> cathyattechnologicsys
> Sent: Monday, August 12, 2013 3:10 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Error Message on BPM
>
>
>
>
>
> Just shoot me - yes it is checkbox01.
>
> Now, I am getting an "Unexpected error - see appserver logs."
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , Jose
> Gomez <jose@> wrote:
> >
> > You said checkbox= false... don't you mean checkbox01?
> > On Aug 12, 2013 5:50 PM, "cathyattechnologicsys" <cathy@>
> > wrote:
> >
> > > **
> > >
> > >
> > > I am writing a BPM - Data Directive - In Transaction on the Job
> Operation
> > > Table.
> > >
> > > I want to set checkbox01 to false on all operation when the operation
> > > complete checkbox is true and have a loop.
> > >
> > > The BPM is below but, I receive a message "checkbox matches multiple
> > > fields in JobOper. (3509)".
> > >
> > > It displays each record separately so, why can't it assign checkbox01 =
> > > false separately.
> > >
> > > What is the correct syntax? Your help is appreciated.
> > >
> > > ********************************************************************
> > >
> > > define variable vSubject as character no-undo.
> > >
> > > For Each ttJobOper where ttJobOper.rowmod = 'U' and ttJobOper.OpComplete
> =
> > > True no-lock.
> > >
> > > For each JobOper where ttJobOper.Company = JobOper.Company
> > > and ttJobOper.JobNum = JobOper.JobNum:
> > >
> > > assign vSubject = "Setting Checkbox to False " + string(joboper.OprSeq)
> +
> > > '' + joboper.OpDesc + "Job Oper Complete " + string(joboper.OpComplete).
> > > {lib/publishinfomsg.i &infomsg = vSubject} .
> > >
> > > Assign JobOper.checkbox01 = False.
> > >
> > > End.
> > >
> > > End.
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>