Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

If you want to use calculation results of a specific SKU in a Live Price Grid (LPG) in another calculation:

  1. Run api.find() with type PGI

  2. A filter on SKU returns all Price Grid Items (lines in a price grid) for a given SKU.

def resultSet = api.find("PGI", Filter.equal("sku", mysku))

Note:

  • resultSet can return multiple lines if the SKU is present in multiple LPG’s.

  • The structure of resultSet[i] depends on the items of the LPG.

  • For the LPG of matrix type, use the type code XPGI.

  • No labels