Skip to Content
avatar image
Former Member

Two calculations are required for a single condition type

Hello Experts,

I have a requirement to calculate the VAT conditon type in a pricing procedure...like in one case ( If TAX Indicator set to "0,1,2" at sales order header level) tax should be calculate on PR00 & 3 other condition types....in second case ( If TAX Indicator set to " 3 " at sales order header level) tax should be calculate on 3 other condition types except PR00. But make sure that TAX Indicator "3" always set by user manually during the creation of sales order.

Another hurdle is if user set the indicator as 3 manually during the creation of Sales order then price will not be redetermine automatically, So I need this to be happend automatically.

Let me know how should I proceed further to fix the requirement.

Appriciate quick response.

Regards,

Chandu

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 18, 2011 at 07:59 PM

    Set up your pricing as follows:

    10 PR00

    20 Z001

    30 Z002

    40 Z004

    100 Subtotal #1 = Sum of 10 through 40

    110 ZSUB = Discount condition with condition record for 100% for Tax indicator = '3' (otherwise 0)

    200 Tax base = 100 through 110

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sudir,

      Somehow my edit did not get saved:

      This is suppoed to read

      Set up your pricing as follows:

      10 PR00

      20 Z001

      30 Z002

      40 Z003

      100 Subtotal #1 = Sum of 10 through 40

      110 ZSUB = Discount condition with condition record for 100% for Tax indicator = '3' (otherwise 0) with base = line 10 (PR00)

      200 Tax base = 100 through 110

      In other words:

      For tax indicators = 0,1 or 2

      Tax base (Line 200) = PR00 + Z001 + Z002 + Z003

      For tax indcator = 3

      Tax base = PR00 + Z001 + Z002 + Z003 - (100% x PR00) = Z001 + Z002 + Z003

      Yiou will probably aneed to put some code in one of the sales order user exits to trigger repiricing if you change this manually.