ParseAggregate Method
Parses the aggregate returned from another class's ItemAggregate property.
Object Oriented Interface
public function doParseAggregate($aggregate);
Procedural Interface
inqb_lineitemgroups_do_parseaggregate($res, $aggregate);
Remarks
This method takes the XML aggregate returned from any class's ItemAggregate property, and then fills all the properties of this class. For example:
Invoice.Add() For (i = 0 to Invoice.ItemCount - 1) LineItems.ParseAggregate(Invoice.ItemAggregate[0]) Debug.Print(LineItems.ItemName & VbTab & LineItems.Quantity & VbTab & LineItems.Amount) Next