I have a problem with a production bizobj set I need help with.

I have the following structure:
     Orders
        Order Line Items
             Order Line Item Options

In order line items, I have a unit price with options as a virtual 
field.  The code for the field function is below.

     def _getUnitPriceWithOptions(self):
         price = 0.0
         for record in self.orderLineItemOptionsBizobj.getDataSet():
             price += float(record["price"])
         return price + float(self.getFieldVal("unit_price"))

My problem is that I expect the order line item options bizobj to get 
requeried for each line when the order line items are scanned through 
when they are loaded into the grid.  This is definitely not happening 
and it was working a bit ago.  As a result, the options for the first 
line item are being applied to all line items and options for all the 
other line items are ignored because the bizobj never requeries on the scan.

Regards,

Nate
_______________________________________________
Post Messages to: [email protected]
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/[email protected]

Reply via email to