1 Reply Latest reply: Oct 11, 2012 2:05 AM by Praveer.Rai RSS

    ListPrice and Sale Price

    966835
      HI
      how list price ,sale price,tax and shipping cost are caluculated and which class this operation is done
      and when actually this is happend in atg means while pressing add item to order or some where else?

      Edited by: 963832 on Oct 10, 2012 11:54 PM
        • 1. Re: ListPrice and Sale Price
          Praveer.Rai
          Hi ,

          All pricing related stuffs are done in PricingEngine and Calculators.

          You can enable logging debug for following components and study the log to get a picture of sequence in which these things happen when you add an item to order.

          /atg/commerce/pricing/ItemPricingEngine
          /atg/commerce/pricing/OrderPricingEngine
          /atg/commerce/pricing/ShippingPricingEngine
          /atg/commerce/pricing/TaxPricingEngine
          /atg/commerce/pricing/calculators/OrdersSubtotalCalculator
          /atg/commerce/pricing/calculators/ItemListPriceCalculator
          /atg/commerce/pricing/calculators/ItemSalePriceCalculator
          /atg/commerce/pricing/calculators/ItemDiscountCalculator
          /atg/commerce/pricing/calculators/OrdeDiscountCalculator
          /atg/commerce/pricing/calculators/ShippingDiscountCalculator

          http://docs.oracle.com/cd/E23095_01/CRS.93/ATGCRSOverview/html/s0603pricingtheorder01.html

          http://docs.oracle.com/cd/E23095_01/Platform.93/ATGCommProgGuide/html/s0801usingandextendingpricingservices01.html