Preview Performance Discount Standard Lookup

Apply actual caller preview/regular performance classifications and discount with unknown price −1; not universally discounted previews or inferred performance phase.

Description

Preview and regular performances may follow different caller pricing policies.

Preview and regular performances may follow different caller pricing policies. Unknown classification should not imply a price.1

Enter nonempty aligned integer codes 0–2/prices 0–1,000,000,000 and discount 0–10,000 basis points. Return half-up rounded applicable prices and unknown indices.

When to use Preview Performance Discount Standard Lookup

Use Preview Performance Discount Standard Lookup when you need to evaluate the supplied records under the calculation and evidence rules below. No phase is inferred or universal preview discount supplied.

Prepare the actual venue, production, inventory or financial records requested. Confirm units and supply applicable local limits or verified catalog values.

How to use Preview Performance Discount Standard Lookup and understand its results

  1. Prepare the actual venue, production, inventory or financial records requested. Confirm units and supply applicable local limits or verified catalog values.
  2. Enter performanceClassificationPreviewRegularUnknownCodes, baseTicketPricesMinor, callerPreviewDiscountBasisPoints using the field table and calculation rules, then run the tool.
  3. Read callerKnownApplicablePricesMinor, unknownPerformancePriceIndices. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
performanceClassificationPreviewRegularUnknownCodesPerformance classification preview regular unknown codeslist of numberRequired
baseTicketPricesMinorBase ticket prices minorlist of numberRequired
callerPreviewDiscountBasisPointsCaller preview discount basis pointsnumberRequired

Enter nonempty aligned integer codes 0–2/prices 0–1,000,000,000 and discount 0–10,000 basis points. Return half-up rounded applicable prices and unknown indices.

code0→discounted preview; 1→base regular; 2→unknown price −1

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
callerKnownApplicablePricesMinorCaller known applicable prices minorlist of number
unknownPerformancePriceIndicesUnknown performance price indiceslist of number
json
{
  "input": {
    "performanceClassificationPreviewRegularUnknownCodes": [
      0,
      1,
      2
    ],
    "baseTicketPricesMinor": [
      1000,
      1000,
      1000
    ],
    "callerPreviewDiscountBasisPoints": 2000
  },
  "output": {
    "callerKnownApplicablePricesMinor": [
      800,
      1000,
      -1
    ],
    "unknownPerformancePriceIndices": [
      2
    ]
  }
}

Limitations and assumptions

No phase is inferred or universal preview discount supplied.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Rush Ticket Under 30 Discount Lookup: Age-restricted rush pricing depends on both age evidence and the supplied eligibility rule. Exclusive age limits differ from inclusive thresholds. For a complementary task, use Group Sales Minimum Discount Tier Lookup: Group-ticket pricing may use a minimum-size tier schedule. Per-seat rounding differs from rounding the total once.

References

  1. Preview Performance Discount Standard Lookup — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies