Package net.pricefx.server.dto


package net.pricefx.server.dto
Typed records that describe price list items, product references and tiered values.

A logic uses these records to work with three kinds of data. It reads the items of a product in approved price lists, with header information from their price list. It finds the Quote and Rebate Agreement line items that reference a set of products. It works with the tiers of a multi-tier input, where each tier is a target and a value.


 // the items of one product in approved price lists, with price list header information
 def items = api.findApprovedPricelistItems("MB-0001")

 // the Quote line items that reference these products
 def references = api.getProductReferences("Q", ["MB-0001", "MB-0002"] as Set)
 

Reference

  • Classes
    Class
    Description
    A DTO that describes a product reference
    This class acts as a DTO for PricelistItems that are enriched by some price list header information.
    The tiers entered in a multi-tier input: an ordered list of TieredValue.Tier target/value pairs, for example volume breakpoints and the discount or surcharge that applies from each breakpoint.
    One target/value pair of a TieredValue, for example one volume breakpoint and the discount or surcharge that applies from it.