parseAggregate (method)
Parses the aggregate returned from another class's ItemAggregate property.
Syntax
- (void)parseAggregate:(NSString*)aggregate;
public func parseAggregate(_ aggregate: String) throws -> Void
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