Manage Pricing Message Tokens

Create a token that specifies the attributes that Oracle Pricing uses to determine the token value for a pricing entity. Use the token in a pricing message.

Pricing uses the token to get and display the token value at runtime.

A token is placeholder for variable content, such as text or a number. An Oracle application replaces the token with a value at runtime. Consider this QP_CL_CHRG_BATCH_ERR message.

You can't import the charge for the cost list because dates overlap across rows for the item that has the {CHARGE_DEF} charge definition.

where
  • CHARGE_DEF is the name of the token.
  • Consultation is an example value that CHARGE_DEF might contain.

So, the runtime value might be:

You can't import the charge for the cost list because dates overlap across rows for the item that has the Consultation charge definition.

For another example, assume you select the CurrencyCode attribute and the Price List pricing entity, and you use this attribute as a token in a pricing message. At runtime, Pricing returns the value of the CurrencyCode attribute in the pricing message, then displays it in the price breakdown.

You will create a token that Pricing uses when it displays a message for the Standard Desktop item in the Corporate price list. You define Corporate and Standard Desktop each as a token value.

Manage pricing message tokens.

  1. Go to the Setup and Maintenance work area, then go to the task.

    • Offering: Order Management

    • Functional Area: Pricing

    • Task: Manage Pricing Message Token Attribute Definitions

  2. On the Manage Pricing Message Token Attribute Definitions page, in the Active attribute, click Yes, then click Search.

    The Manage Pricing Messages page displays the predefined tokens.

  3. Click Detach, then examine the pricing message tokens.

    To reduce maintenance, use a predefined pricing message token instead of creating a new one.

  4. If you can't locate a pricing message token that meets your requirements, then click Actions > Create, then set the values.

    Attribute

    Description

    Name

    Enter text that Pricing can use to reference this pricing message token.

    • Enter only alphabetic text.

    • Use headline capitalization.

    For this example, enter Custom Price List Message.

    Description

    Enter text that describes the purpose of this pricing message. This description is intended only to help you administer and manage pricing messages. Pricing doesn't display it elsewhere.

    For this example, enter This definition contains custom tokens for prices.

    Pricing Entity

    For this example, choose Price List Items.

    Active

    Add a check mark.

    Package Name

    Enter oracle.apps.scm.pricing.setup.pricingMessages.publicModel.applicationModule.

    You must use this value for all tokens.

    Application Module

    Enter PricingMessageTokenAttrDefnAM. You must use this value for all tokens

    Application Module Configuration

    Enter PricingMessageTokenAttrDefnAMShared. You must use this value for all tokens.

    View Object

    Enter the name of the view object where Pricing must display this message. Use this format.

    <entityName>MessageVO

    where

    • entityName. Identifies the name of pricing entity you set in the Pricing Entity attribute of this token.

    For this example, Pricing must display this message on a price list, so enter PriceListChargeMessageVO.

    Here are the values you can use, depending on how you set the Pricing Entity attribute.

    • CostListChargeMessageVO

    • ItemChargeGuidelineMessageVO

    • ManualChargeAdjustmentMessageVO

    View Criteria

    For this example, choose PriceListChargeMessageVC.

  5. Click Save and Edit.

  6. On the Edit Pricing Message Token Attribute Definition page, in the Pricing Message Token Attributes area, click Refresh Token Attributes.