Author: Chester Friesen
Posted: 2004-07-14 at 16:00:45
Quote: >>The line items need to be a child of the invoice by setting
the cParentBizObj property of the line items. You can also set the
partent key field and view parameter to do a requery when the parent
is required. The buffering on the parent is normally row and the
child is normaly table. Hope this helps.
Thanks, Todd,
I have an "addressbook" that is parent to "invoice", which is parent
to "invoicelines" That all works fine. My problem is with "lineitems"
which doesn't work to make a child of "invoicelines", at least I
haven't been able to make it work, it always chooses the first record
in the table to update, even though in my screen to choose items it
chooses correctly. Ed' s right, the save() isn't being called without
the parent-child relationships. I wonder, can a bizobj.save() be
called from another without it being in the parent-child order?