Pricing Process

A pricing process is an object that runs pricing algorithms to meet the goal of a pricing operation, such as to price a sales transaction.

For example, here's a summary of the predefined Price Sales Transaction pricing process.

summary of the Price Sales Transaction pricing process

Note

  • Pricing comes predefined with a number of pricing processes.

  • A pricing process runs pricing algorithms in a sequence.

  • The Price Sales Transaction pricing process runs a number of pricing algorithms, such as Get Sales Pricing Strategy.

  • Pricing also uses the predefined Calculate Sales Totals and Validate Sales Prices processes.

  • Each pricing algorithm contains steps and can reference other pricing algorithms. For example, the Get Sales Pricing Strategy references other pricing algorithms.

All algorithms process the service data object according to the PriceRequestInternal schema in the service mapping. Pricing uses this logic so the values in an entity that one algorithm processes are available to any other algorithm during processing. For example, the chargeCadidate that Get Base List Price calculates is available in Calculate List Price.

Here's an example flow for the Sales service mapping.

example flow for the Sales service mapping.

Note

  1. The Sales service mapping creates the input PriceSalesTransaction service data object.

  2. PriceSalesTransaction isn't an internal service data object, so the algorithm implicitly converts PriceSalesTransaction into the input PriceRequestInternal service data object.

  3. The algorithm processes the request, then stores results in the output PriceRequestInternal.

  4. The algorithm implicitly synchronizes the output PriceRequestInternal to the output PriceSalesTransaction.

  5. The Sales service mapping sends the output to Order Management.

    The algorithm discards all the internal entities and attributes it used during processing.

All algorithms use a similar flow.

Detailed Sequence

Pricing comes predefined to use the Price Sales Transaction algorithm and the Calculate Sales Order Totals algorithm to do most of the pricing for a sales order. Here's the detailed sequence it uses.

User Action

Step in Price Sales Transaction

Step in Calculate Sales Order Totals

A. Click Create Order, then enter a value in the Customer attribute.

B. Derive Pricing Strategy

C. Calculate List Price Total

D. Enter an item in the Select Item field, then click Search.

E. Get Base List Price

F. Apply Adjustments

G. Calculate List Price

H. Apply Discounts

I. Calculate Net Price

J. Compute Sales Tax

K. Get Costs

L. Calculate Margin

Not applicable

M. Click Add to add an item to an order line.

Not applicable

N. Calculate List Price Total

O. Calculate Discount Total

P. Calculate Net Price Total

Q. Calculate Tax Total

R. Calculate Total Credits

S. Calculate Shipping Total

T. Calculate Total PayNow

U. Click Save, Reprice, or Submit.

Not applicable

V. Repeat steps N through T.

W. Enter an item in the Select Item field, then click Search.

X. Repeat steps E through L.

Not applicable

Y. Click Add to add an item to an order line.

Not applicable

Z. Repeat steps N through T.

AA. Click Save, Reprice, or Submit.

Not applicable

AB. Repeat steps N through T.

For example, assume these steps happen.

  1. The Order Entry Specialist enters a value in the Customer attribute.

    • Order Management sends a request to Pricing.

    • Pricing runs the Derive Pricing Strategy step of the Price Sales Transaction algorithm to determine the pricing strategy to use for the customer.

    • Pricing runs the Calculate List Price Total step of the Calculate Sales Order Totals algorithm to set the total price to zero, then sends a reply to Order Management.

    • Order Management displays the strategy in the View Pricing Strategy and Segment dialog.

  2. The Order Entry Specialist enters an item in the Select Item field of the catalog search line, then clicks Search.

    • Order Management sends a request to Pricing.

    • Pricing runs the Get Base List Price step through the Calculate Margin step of the Price Sales Transaction algorithm to price the item, then sends a reply to Order Management that includes the item price.

    • Order Management displays the price above the order lines area.

  3. The Order Entry Specialist clicks Add to an item to an order line.

    • Order Management sends a request to Pricing.

    • To price the sales order, Pricing runs the Calculate List Price Total step through the Calculate Total PayNow step of the Calculate Sales Order Totals algorithm, then sends a reply to Order Management.

    • Order Management displays the total price for the order line in the Order Lines area, and the total price for the sales order in the order header.