Restriction of discount total amount

Dear All expert,
I meet a problem that with restriction for discount's total amount.
I have two condtion type , one is for amout discount another one is for percent discount.
After calculation, if the total discount's amount is greater than the sales price I need issue a error message.
But I checked the limitation for condition , for percent It is only can check the percent limitation with  upper and lower limitation when user input the percent not the value after the calculation.
The percent discount is after the amount discount.So I can not check it in amount discount.
Do you have any suggestion ?

Thanks for your reply.
Do you mean issue a error in the routine of the calculation ?
But we already try this way.After issue the error message, user can not go ahead.But He should has the chance to change something.

Similar Messages

  • Discounting total amount due numeric field

    I am working on a registration form and need to apply a discount if two particular checkboxes are selected. 
    Checkbox #1 – Early registration = $1595
    Checkbox #2 – Standard registration = $1795
    Checkbox #3 – Special rate = $495
    Checkbox #4 – Optional workshop = $395
    Numeric Field – Total Payment Due
    If the user selects checkbox #1 (early) or #2 (standard), they have to pay the $395 for the optional workshop.
         Total box =
         sum (EarlyReg, StandardReg, SpecReg, WorkshopReg) <-- THIS WORKS
    If the user selects BOTH checkbox #3 (special registration rate) AND checkbox #4 (optional workshop), they do not pay for the workshop.
    So instead of $890, they will pay $495.
         Total box =
    I welcome any ideas you may have and would love to hear if you think I'm going at this in the wrong direction.
    I am new to this...would appreciate a step-by-step with syntax. Thanks!

    TundraSteve, Thanks for the reply.
    Your suggestion got me on the right path. Here's what worked using FormCalc on the TotalDue field:
    if (SpecReg + WorkshopReg == 890) then
      SpecReg
    else
      sum (EarlyReg, StandardReg, SpecReg, WorkshopReg)
    endif
    Thanks again!

  • Discount in pricing for total amount sales order

    Hi developpers,
    You know a standard procedure for calculate, a particular discount for sold to party, with relation to the total amount of sales order.
    Thanks in advance
    Domenico

    Dear Manti,
    -->Create condition table with the field Slod-to-party
    -->Put that field in to access sequence
    -->You define the the discount condition type in the transaction V/06 or you copy standard discount condition type.
    (Based on the % or Value or Fixed)
    -->Assign acces sequence to that condition type.
    -->Put that condition type in your pricing procedure after gross price total.
    -->Calculate that discount condition type from gross value.
    -->Put net value after deduction of the Discount in the pricing procedure.
    -->Maintain the condition record for that discount in the VK11 transactio.
    Now you create sales order discount will come in the sales order.
    I hope it will help you
    Regards,
    Murali.

  • Purchase Order Total Amount at Header level and Report Execution

    Dear Experts,
    Here by i am facing problem with Purchase Order Total amount.
    I have local Pricing Procedure for price stipulations (like discounts, Freight, packaging). the calculation at item level is correct. tax calculation is done by tax code. The total PO Price is including all items in PO and tax amount. But at header level conditions net value is showing only gross price.
    How to pick up total price including tax amount at header level conditions?
    Please provide me solution on it ?

    Dear Experts,
    Here by i am facing problem with Purchase Order Total amount.
    I have local Pricing Procedure for price stipulations (like discounts, Freight, packaging). the calculation at item level is correct. tax calculation is done by tax code. The total PO Price is including all items in PO and tax amount. But at header level conditions net value is showing only gross price.
    How to pick up total price including tax amount at header level conditions?
    Please provide me solution on it ?
    Edited by: Kiran Mujumdar on Feb 23, 2009 7:08 PM

  • In A/P Service Invoice, a discount percent amount is automatically entered

    Hi all,
    I am stumped.  On a random basis (about 25% of time) a discount percent is appearing (not entered) in the field of a multi-line A/P Service invoice.  The percent amount appears to be random as well. The discount percent field is not visible and inactive in form settings.  What could be causing this?
    Thanks, Bill

    Hi,
    Please check the following scenario :
    One scenario is caused when the Total amount changed after system calculate it according to Unit Price.
    Check the following steps to reproduce this scenario,
    - open ap invoice and choose Services
    - choose an account and type Unit price, Total amount will be
      calculated automatillcay
    - change the total amount.
    - System will calculate the difference and leave it in Discount field.
      Not change the Price field.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Discount taken amount not appeared in Cash discount taken special G/L A/c

    Hi,
    I have entered invoice amount of 25000 INR and payment terms as 0002. I have given 100 INR bank charges. For this I have created Cash discount taken and Bank charges A/c in FS00. I have entered 20000 INR as partila payment and Special G/L Key as 'D' in Vendor A/c Details. Payment term 0002 is applicable to  20000 in this case or only for 25000 INR?
    Thanks,
    BGRAJU

    Hi,
    Payment term apply to whole amount of the invoice.
    Suppose if you pay the remaining 5000 also in time according to the payment terms.
    You'll receive cash discount for total amount and not for only 20000.
    Rgds
    Murali. N

  • PO Condition type to be included in the total amount of PO

    Hi,
    I have a PO conditiont type configured with the ff. attributes:
    1. Condition Class is Discount or surcharge.
    2. Calculation type is percentage.
    3. Cond. category is delivery costs.
    I want to include the additional cost of this condition in the total amount of the PO. How will I configure the condition type to behave this way?

    Hi,
    Go to SPRO- MM - Purchasing - Conditions - Define Price determination Process - Define calculation schema
    Select the pricing procedure and go to the control data add the new condition type that you have configured as an additional step in the pricing procedure before the total amount.
    Regards
    Merwyn

  • Sapscript PO MEDRUCK total amount including condition charges

    Hie gurus , i need your help with  a sapscript  Purchase order  Medruck, i can't find
    the variable which contains PO total that includes condition charges, (e.g Freight charge , discount and customs).
    i am just getting an amount that does not include those . does anyone know where to get the total amount which includes
    those ?

    In M/06, we have Octroi (Amt) with Condition type ZOC2.
    Now what should be check there..
    Plz guide..

  • Calculate 3% revenue on total amount in SO

    Hi
    I have a scenerio in pricing which I want to charge a customer with 3% -5% on the total amount of invoice as we have helped him to achieve his goal by fulfulling his order.
    So we are charging the customer as he uses our services and at the same time we want to charge him extra 3-5% as we have helped thme to achiev the goal.
    Please explain in detail would really appreciate
    Thanks In Advance

    Hi,
    From what you have asked, I think you are charging Commission Charges from your customer. Do you have to show the rate at which you are charging him extra or is it only for statistical purpose?
    You can create a new Condition Type ZXXX which will be of Type- Discount or Surcharge and Category-Value.
    If you want to maintain Condition Record, you can create the Access Sequence based on the Sales org+Customer.
    In Pricing Procedure it will be placed below the Tax Total and will be calculated as Total of Base Total and Tax as I suppose you are going to calculate your Commission on total value i.e. the Invoice Value inclusive of Tax.
    Hope this should solve your problem.
    Regards,
    Karthik

  • My total amount of DOWNLOADED APPS. do NOT show up on iPhone HOME pages.

    My total amount of DOWNLOADED APPS. do NOT show up on iPhone HOME pages.
    I have the BIG DOG 16 gig iPhone and I am only limitted to 9 pages of APPS.
    For what I PAID for this GREAT Phone, there should be NO LIMIT as to how many APPS. that I can download until and UNLESS my memory is FULL, which it is NOT even half full yet.
    APPLE: Please change this LIMITATION, because there seems to be thousands of APPS. to choose from. Just as you have NO-LIMIT on the number of songs that I can download, I would like it to be the SAME for my APPS.
    Thank you.

    This ***** badly
    http://discussions.apple.com/thread.jspa?threadID=1807300&tstart=0

  • Po list showing the total amount with advances given & open GR quantity

    Hi Gurus,
    My client need to know the list of total p/os showing its gross total amount only (& not with the line items) with the advances rendered to them & its open GR quantity against total qunatity mentioned.
    I hv tried in ME80FN, ME2N, ME2L ME2M..etc and all other reports but the system is showing the same with the line items. Kindly advise.
    Regds
    Prashant Bijutkar

    Prashant,
    All three informations will not be available in one report(gross total amount  not with the line items and the advances rendered to them & its open GR quantity against total qunatity mentioned).
    You have to dovelop this report. please take help from technical consultant.
    One more thing the open GR quantity will always at PO line item level not at header level.
    Regards,
    Manish

  • The page total amount is not correct on discoverer plus 10.1.1.48.18

    on my discoverer report, there is sunnary field based on a column.
    for example, I have a salesrep expense discoverer report.
    the salesrep name is the page item, each page has one salesrep, under the page item there are many line which show the expense detail amount, there is a column called expense, under the expense column there is a total amount summary field to sum the expense for this salesrep.
    Sometimes, the total amount is not the sum of the expense column, sometimes the total amount show negative zero as: -0.00. What I thought this maybe a number round issue.
    Does anybody has similar issue? how to fix this ?
    Thanks

    I actually used toad to run the query and exported to EXCEL then sum it in excel, I got the correct total amount.
    the following is the SQL query, we use the total feature to sum the commission:
    select
    pt.payee_salesrep_id,
    sr.name||','||sr.attribute9 salesrep_name,
    sr.attribute15 employee_number,
    pt.payrun_id,
    pr.name payrun_name,
    decode(pt.incentive_type_code,'COMMISSION',2,'PMTPLN',4,'PMTPLN_REC',1,'MANUAL_PAY_ADJ',2) Sort,
    decode(pt.incentive_type_code, 'PMTPLN','To be Applied in Future','PMTPLN_REC','Previous Payments Affecting Commissions',q.description) Variable,
    sum(decode(pt.incentive_type_code,
    'COMMISSION',decode(q.attribute3,'ARR 12-36',apps.sg_oic_reports.get_multiple(q.name,to_number(ch.attribute16)),1) sign(pt.payment_amount) abs(pt.input_achieved) ,
    pt.payment_amount)
    ) Revenue,
    sum(pt.payment_amount) commission
    from apps.cn_payment_transactions pt,
    apps.cn_commission_headers ch,
    apps.jtf_rs_salesreps sr,
    apps.cn_quotas q,
    apps.cn_payruns pr
    WHERE pt.quota_id = q.quota_id
    and ch.commission_header_id(+) = pt.commission_header_id
    and pt.payee_salesrep_id = sr.salesrep_id
    and pt.payrun_id = pr.payrun_id
    and hold_flag <> 'Y'
    and pr.accounting_period_id>2005012
    and pt.payment_amount<>0
    group by
    pt.payee_salesrep_id,
    sr.name||','||sr.attribute9,
    sr.attribute15,
    pt.payrun_id,
    pr.name,
    pt.incentive_type_code,
    decode(pt.incentive_type_code,'COMMISSION',2,'PMTPLN',4,'PMTPLN_REC',1,'MANUAL_PAY_ADJ',2) ,
    decode(pt.incentive_type_code, 'PMTPLN','To be Applied in Future','PMTPLN_REC','Previous Payments Affecting Commissions',q.description)
    having sum(pt.payment_amount) <>0

  • How to print total amount in last page of purchase orde using xml publisher

    Hi
    I customizing purchase order report using xml publisher.
    i have to print total amount at last every purchse order.
    how to compare carry forward amount in xml publisher

    I think the guys overhere :
    BI Publisher
    can help you a lot better

  • Ssrs 2008 r2 display only final total amount

    In an existing ssrs 2008 r2 report, I want the final grand total to appear as the last amount displayed in the SSRS report.
    In the 'main' matrix of the report, I have created an outside group row below the last line of the matrix.
    The expresion for this statement looks the the following:
    ="Grand Total: $"+str(sum(cdec(Fields!TransactionAmount.Value),"datasetname")).
    The total amount is correct, but this total amount line appears after every control break. Basically the amount appears every
    time the control break changes by date, teacher, or student number.
    The extra row I added does contain grouping references to date, teacher, and student number. Thus to solve my problem:
    1. Can you tell me how to remove the grouping references to date, teacher, and student number so that the last row will be the only place the total amount will be displayed?
    2. If the above is not an option, can you tell me how to add an extra row to the 'main' matrix so the report groupings do not appear on the final total line?
    3. If the above 2 choices are not an option, would you tell me how to add the final total line in the final report footer and/or any place you believe the final total amount will appear only one time?

    Hi Wendy,
    According to your description, you want to add a row into your matrix to get the total value of TransactionAmount. This can be final total value which appears only one time in your matrix. Right?
    In this scenario, the reason why the total amount line appears after each break change (data, teacher..) because this total amount line is still within the parent group. I guess you didn't add the outside group row on the top parent group. So we just need
    to right click on the textbox which is top parent group, insert a row outside of group. Then put your expression into the added row. Now the total amount will appear only one time in the matrix. It looks like below:
    Reference:
    Understanding Groups (Report Builder and SSRS)
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Simon Hou 

  • Total Amount value not displaying while executing print progrm for PO form.

    Hi All,
               I created the PO form, for this i written a print program.After executing this print program everything s displaying & populating, but only the Total Amount  not displaying r not populating.
              But, if i run the PO n tcode ME23N the Total Amount is displaying, after assigning the form n NACE.
    So help me to get the Total Amount to be displayed n main window, while executing the print program.
    Like this i declared n smartform,                    Total net value excl. tax           &is_ekko-waers& &is_pekko-netwr&......
    The print program as follows,
    report zpo.
    tables: ekko,pekko,ekpo,ekpa,eket,ekkn,ekek,komk,nast.
    data: fm_name type rs38l_fnam.
    data: is_ekko type standard table of ekko with header line.
    data: is_pekko type pekko occurs 0 with header line.
    data: it_ekpa like standard table of ekpa,
          it_ekpo like standard table of ekpo,
          it_pekpo like standard table of pekpo,
          it_eket like standard table of eket,
          it_tkomv like standard table of komv,
          it_ekkn like standard table of ekkn,
          it_ekek like standard table of ekek,
          it_komk like standard table of komk.
    selection-screen: begin of block b1 with frame title text-001.
      parameters: pr_ebeln like ekpo-ebeln obligatory.
    selection-screen: end of block b1.
    select * from ekpo into table it_ekpo where ebeln = pr_ebeln.
    select * from ekko into is_ekko where ebeln = pr_ebeln.
    endselect.

    code as follows,
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME                 = 'ZPURCHASE'
    *   VARIANT                  = ' '
    *   DIRECT_CALL              = ' '
    IMPORTING
        FM_NAME                  = fm_name
    CALL FUNCTION fm_name  "'/1BCDWB/SF00000060'
      EXPORTING
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
    *   CONTROL_PARAMETERS         =
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
    *   OUTPUT_OPTIONS             =
    *   USER_SETTINGS              = 'X'
        IS_EKKO                    = is_ekko
        IS_PEKKO                   = is_pekko
    *   IS_NAST                    =
    *   IV_FROM_MEM                =
    *   IV_DRUVO                   =
    * IMPORTING
    *   DOCUMENT_OUTPUT_INFO       =
    *   JOB_OUTPUT_INFO            =
    *   JOB_OUTPUT_OPTIONS         =
      TABLES
           it_ekpo                   = it_ekpo
           it_pekpo                  = it_pekpo
           it_ekkn                   = it_ekkn
           it_ekpa                   = it_ekpa
           it_ekek                   = it_ekek
           it_komk                   = it_komk
           it_eket                   = it_eket
           it_tkomv                  = it_tkomv.
    * EXCEPTIONS
    *   FORMATTING_ERROR           = 1
    *   INTERNAL_ERROR             = 2
    *   SEND_ERROR                 = 3
    *   USER_CANCELED              = 4
    *   OTHERS                     = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

Maybe you are looking for