Thanks Jose, I had forgot about tt tables not being useful for updating in post-processing directives.
________________________________
From: Jose Gomez <jose@...>
To: Vantage <vantage@yahoogroups.com>
Sent: Thursday, August 1, 2013 1:39 PM
Subject: Re: [Vantage] ABL Not Updating Dataset
You could do a GetBy ID
The way I handle these situations is as follows
Use tt Tables to get the primary key
Then using these keys I run a FOR EACH XX on teh real tables and update the
data there (if in 8.03) use UpdateTableBuffer
Then I use the Primary Key to run GetByID and basically "refresh" my
dataset before its sent to the UI (plenty of examples on the list) hope
that helps.
*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: Thursday, August 1, 2013 1:39 PM
Subject: Re: [Vantage] ABL Not Updating Dataset
You could do a GetBy ID
The way I handle these situations is as follows
Use tt Tables to get the primary key
Then using these keys I run a FOR EACH XX on teh real tables and update the
data there (if in 8.03) use UpdateTableBuffer
Then I use the Primary Key to run GetByID and basically "refresh" my
dataset before its sent to the UI (plenty of examples on the list) hope
that helps.
*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, Aug 1, 2013 at 1:35 PM, Ted Koch <tkoch77@...> wrote:
> **
>
>
> How would I do a GetByID and then modify the resultant dataset in a .P
> file without using tt tables?
>
>
> ________________________________
> From: Jose Gomez <jose@...>
> To: Vantage <vantage@yahoogroups.com>
> Sent: Thursday, August 1, 2013 1:04 PM
>
> Subject: Re: [Vantage] ABL Not Updating Dataset
>
>
> can;t modify ttTables in Post it won't commit..
>
> *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, Aug 1, 2013 at 12:47 PM, Ted Koch <tkoch77@...> wrote:
>
> > **
>
> >
> >
> > Post-Processing
> >
> > ScheduleEngine.MoveJobItem
> >
> > ________________________________
> > From: Jose Gomez <jose@...>
> > To: Vantage <vantage@yahoogroups.com>
> > Sent: Thursday, August 1, 2013 11:59 AM
> > Subject: Re: [Vantage] ABL Not Updating Dataset
> >
> >
> >
> > Preo or Post? On What method
> >
> > *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, Aug 1, 2013 at 10:36 AM, tkoch77 <tkoch77@...> wrote:
> >
> > > **
> >
> > >
> > >
> > > Hi all,
> > >
> > > Can anyone tell me if they see something wrong with this code. Where I
> > > have MESSAGE STRING(ttJobHead.ReqDueDate). it prints the correct date
> in
> > > the appserver log, but the date on the job is never updated. Also tried
> > > updating ttJobHead.Date01 and that would not update either.
> > >
> > > Thanks,
> > >
> > > -Ted
> > >
> > > {Bpm/Bpm.i &OBJECT_NAME="JobEntry"}
> > > {Bpm/MiscCallContext.i}
> > > {bo/JobEntry/JobEntry_ds.i}
> > >
> > > define input parameter iJobNum as character.
> > > define input parameter iReqDate as date.
> > >
> > > {&TRY_PRIVATE}
> > >
> > > DEFINE VARIABLE morePages AS LOGICAL.
> > > DEFINE VARIABLE hJobEntry AS HANDLE.
> > >
> > > RUN bo\JobEntry\JobEntry.p PERSISTENT SET hJobEntry.
> > >
> > > IF VALID-HANDLE (hJobEntry) THEN
> > > DO:
> > >
> > > RUN GetByID IN hJobEntry (INPUT iJobNum,
> > > {&output_dataset_JobEntryDataSet}).
> > >
> > > FOR EACH ttJobHead.
> > > ASSIGN ttJobHead.Company = '100'.
> > > ASSIGN ttJobHead.JobNum = iJobNum.
> > > ASSIGN ttJobHead.ReqDueDate = iReqDate.
> > > MESSAGE STRING(ttJobHead.ReqDueDate).
> > > END.
> > >
> > > RUN Update IN hJobEntry({&input-output_dataset_JobEntryDataSet}).
> > >
> > > END.
> > > ELSE
> > > DO:
> > > message "Could not create handle to hJobEntry.p!".
> > > END.
> > >
> > > DELETE OBJECT hJobEntry.
> > >
> > > {&CATCH_PRIVATE}
> > >
> > >
> > >
> >
> > [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]