Re: [dabo-users] Production problem with granchild bizobj

Author: John Fabiani

Posted: 2011-12-07 at 11:52:17

On Wednesday, December 07, 2011 08:07:22 AM Paul McNett wrote:

> On 12/7/11 7:55 AM, John Fabiani wrote:

> > On Wednesday, December 07, 2011 06:19:52 AM Paul McNett wrote:

> >> On 12/7/11 5:44 AM, Nate Lowrie wrote:

> >>>>> self.VirtualFields["myfield"] = {"func":

> >>>>> self.getMyField, "requery_children": True}>>

> >>>>> >

> >>>>>

> >>>>> The second thing could be an unintended consequence of

> >>>>> recent

> >>>>> changes, so if you try the above and see no improvement,

> >>>>> please

> >>>>> let us know.

> >>>

> >>> The change in the virtual field did it. I was using the grid as you

> >>> said and the orders object would also automatically update the

> >>> total,

> >>> but would grab the orderline subtotals using getDataSet(), which I

> >>> assume has the same update issue as getFieldVal(). It would also

> >>> make

> >>> sense that when I opened my edit forms the bizobj would requery as

> >>> normal.

> >>

> >> Glad it worked.

> >>

> >> Paul

> >

> > So what caused the issue? It appeared that he made the same call albeit

> > in what I'd call a normal manner or way.

>

> He needed to add the "requery_children" key to the dict.

>

> Paul

Got it - thanks

Johnf

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/3360714.65ZYMlj14S@linux-12

©2011 John Fabiani