28 April 2018

Line Items Can Reference Every Instance of Another Line Item

  • The new instance_list attribute allows users to reference and retrieve values from every instance of another specified line item.
    • sum([i.**Variable Name** for i in items[“**Evaluation Rate Object Name**”].instance_list]) references and retrieves values from every instance of the specified Evaluation Rate Object.
    • For example, sum([i.customVar for i in items["Test Multiples"].instance_list]) adds every instance of Test Multiples and provides a sum:
PR 6425.png