Użytkownik Jacek Kałucki napisał:
> Hi,
>
> Could someone explain me please,
> why if new() method creates exactly one new row,
> all existing rows are scanned for parent link update
> (in setParentFK() metod) each time?
>    

I answer myself.
Because it's used for both, updating PK in current bizobj
and all children if parent PK changes.
But it could have "allRows" parameter and if update take
place from _onNew(), may be called just for new row,
and when celled from _onSaveNew(), for all rows.
It's only suggestion.

-- 
Regards
Jacek Kałucki


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to