OptimusPrime


I was just wondering if I can or should update Sales Order Details using the logic below.

To retrieve the collection I plan to use the RetrieveMulitple() method, then update the fields I select in the

collection at once.

For each product in PriceData

Set fields to be retrieved

Create the condition expression

Create the filter expression

Create query using condition and filter expressions

Retrieve record collection using the query

Update the fields of the products in the collection

Next

Should I go about this using the logic above or use a series of loops to update the sale orders individually