Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: PFCD-4656

The following example explains some of the Groovy features you can use in PFX formulascalculation logics

We have competitor information stored in a Product Extension called 'Competition', along with a price and validity date. There can be multiple records per competitor, each with different validity and price. We want to create a table with each competitor and its latest price (highest validity date). If two records have the same validity date, pick the higher one.

...