QuickBooks Integrator 2020 PHP Edition

Questions / Feedback?

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

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 PHP Edition - Version 20.0 [Build 7941]