QuickBooks Integrator 2020 Kotlin Edition

Questions / Feedback?

ParseAggregate Method

Parses the aggregate returned from another component's ItemAggregate property.

Syntax

public fun parseAggregate(aggregate: String?)

Remarks

This method takes the XML aggregate returned from any component's ItemAggregate property, and then fills all the properties of this component. 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 Kotlin Edition - Version 20.0 [Build 7941]