Parent BO method that need to access child BO


Author
Message
Chan
Chan
Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I want to create public method to calculate order total in OrderBO. It will sum up line items subtotal by loop thru LineItemsBO datarows. The method will be called before OrderBO.beforesave() event.



My problem is, how could I access child BO - LineItemsBO in OrderBO? I can't set LineItemsBO to ParentBusinessObject property at OrderBO component designer.



Any ideas?



Thank you
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search