Total Before Discount

Hi,
Is there a property in the Sales Order Document to get the Total Before Discount ?

Hi Binita, Hi Marc,
Effectivly your formula is correct.
In my application i don't activate Rounding. So the value is only 0.
To calculate the total before discount :
Total document - rounding - Tax + discount.
(DocTotal - TotalExpns - VatSum + DiscSum --> SQL fields)
(DocTotal - Rounding - VatSum + TotalDiscount --> Properties DIAPI)
Regards
Michael
Edited by: Michael LECLERCQ on Jul 4, 2008 8:49 AM

Similar Messages

  • HOW TO GET TOTAL BEFORE DISCOUNT AMOUNT IN MARKETING DOCUMNET

    HI.
    I need one requirement in this,
    i need to capture the Total before discount amount at A/R invoice.
    i checked in tables Discount and Discount amount will be come below Total before Discount amount
    but Total Before Discount Amount i am not able to get it from the Database.
    Any information plz Update me.

    Hi Srinivas,
    As already answered by Seniors that you have to apply Formula to get Total before Discount. Please check below
    Total Before Discount =  ( DocTotal + DiscSum - VatSum )
    If you want to put FMS then please try below FMS for Header Level
    SELECT ( $[OINV.DocTotal] + $[OINV.DiscSum] - $[OINV.VatSum] )
    Hope this helps
    Regards::::
    Atul Chakraborty

  • Invoice field "Total Before Discount"

    I am importing data via DTW to an invoice. I am then trying to apply a 10% discount. However, the 10% doesn't apply because the field "total before discount" is empty.
    I have tried to look at importing in to this field but can't find which field to update and I also thought that it would update automatically from the line items?
    Although perhaps it's not updating because by adding the items codes and qty during the import it doesn't then set the Total (LC) field. Do I have to set this?
    Edited by: Ricky Thomas on Apr 1, 2011 12:52 PM

    HI,
    Ya,you just add the discount in its respective field along with the previous details(like neceesary standard information for that invoice) and update it through DTW....
    Edited by: kambadasan on Apr 1, 2011 1:29 PM
    Edited by: kambadasan on Apr 1, 2011 1:31 PM

  • Other Charges on total before discount value

    Hi Experts,
    I faced an issue while generating sales quotation, apart from tax code we need to put other charges on the total before discount value of the documents like UT charges,P&F charges, Tarnsit Insurance and TPI Charges.
    However these other charges percentage are variable in nature it depend upon the customer to customer(C2C).
    Please put some light on this major issue of sales process.
    Thanks in Advance
    Regards
    Amit Tyagi

    Hi Amit,
    In the lines of the quotation there is only place for 3 sorts of freight charges, but I think this will be the most easy to use for you.
    At first you have to setup your freight charges: Administration > General Settings > General > Freight
    Define your different charges there, so you can use them in the sales quotation.
    After you have done that, you can open the sales quotation and take a look at the freight charges that is displayed under the document discount. If you click on the golden arrow, you can see the defined freight costs and give in the ammounts.
    You can also do this in the lines, open the form settings for the sales quotation and make the freight costs visible in table format. It is possible to make formatted searches on these colums.
    I have one question remaining at this moment: Do you want to see the extra costs on the lay-out?
    Kind regards,
    Hendri Wessels

  • Total Before Discount field.

    Hi, evrybody!
    Can you show me about what table store Total Before Discount field..in SQL tables
    Can you help me! Thank you.

    Hi,
    The total before discount is the sum of the line total which are stored in the lines table.
    For an example ,
    Sales Order,
    SELECT SUM(PriceBefDi),docentry FROM RDR1 WHERE DOCENTRY = "docentry value" group by docentry.
    Regards,
    Tom.

  • Total Amount before Discount do not match Row total

    Hi,
    I have this scenario for my A/R invoice. The amount in the the total (lc) column do not match with the total before discount field.
    So, when I tried to create Cm for this invoice I encountered an error: There is a difference between total and it's contents.
    What is the possible cause for this and how will I resolve this?
    Thanks!

    Hi Nelle,
    If you are create any UDF related to this calculation at row level then first remove it then check it.
    There are no any UDF created then upgrade your PL..
    Thanks,
    Srujal Patel

  • How can we setup "price before discount" in foreign currency?

    Hi all,
    Hopefully someone can help.How can we setup "price before discount" in foreign currency?   Can someone also please tell me the proper Variable Number (No.) for that?
    Look forward to your reply,

    IHi,
    Thanks for your help..i will give good feedback to you all.
    Just to let you know in pro forma invoices we have got Unit Price in GBP (example: 7.4000 GBP )  but Total line, Total Before Discount, Total (document) are in Euro.We have already changed that to 88->87 and 91->93 so those fields are correct apart Unit Price?
    Any advice please ?

  • Synchronisation of price before discount

    At the time the synchronisation of special prices and discounts was realised last year, there hasn't been a change of the way the prices are synching to Business One.
    Webtools only synches the price after discount to SBO to the field RDR1.Price (which is the field price before discount). On the invoice only the price after discount is shown.
    u221A     OrderDetail.PurchasePrice     NPOrderDetail.PurchasePrice     SAPbobsCOM.Documents.Lines.Price     RDR1.Price
    My customers like to see the price before discount, the discount (in %) and the price after discount on the invoice.
    Any suggestions to solve this. So has someone already build a way around to achieve this.
    When I look at the OrderDetail table I can see the PurchasePrice (Price before discount) and DiscountPer (discount amount per article). When I'm correct these amounts are deducted during the synch and the price after discount is shown in the field RDR1.Price in SBO.
    To achieve it the way we like we have to duplicate the OrderDetail table, rename it, build a plugin so that the PurchasePrice is synched to the field RDR1.Price and that we create a calculation field (PurchasePrice - DiscountPer) and that this field is synching with the field RDR1.Price after discount. SBO will calculate the discount % itself. For the synch we have to use our own OrderDetail table.
    I'm I correct are do we miss something.
    Best regards,
    Tim
    Edited by: T. Verholt on Oct 8, 2009 12:46 PM

    IHi,
    Thanks for your help..i will give good feedback to you all.
    Just to let you know in pro forma invoices we have got Unit Price in GBP (example: 7.4000 GBP )  but Total line, Total Before Discount, Total (document) are in Euro.We have already changed that to 88->87 and 91->93 so those fields are correct apart Unit Price?
    Any advice please ?

  • Grand total "before" on static table

    I can do grand total "before" on pivot table...but I need to do in static table. Is possible??
    With pivot table I have option "after", "before" but in static table I don't have any option...
    Thanks!

    Set the aggregation for the metrics.. Either in RPD or in report.
    In report, Open fx of column and you will aggregation drop down at bottom of pop up window. Set that to proper aggregation, and try grand totals.
    - Madan

  • Charging Tax before Discount

    It has been explained to me that some states, California is one of them, charge tax before the discount.  I can't seem to figure out how to get SAP Business One to support this.  Has anyone else encountered the same issue and if so, how did you solve it?
    Thanks in advance,
    Donald

    Hi Donald,
    Whether the discount is in row level or footer, end result is the same - the tax is calculate post-discount... if you want to keep it within the core SBO product, you may be able to do it but it would require some setup.
    A colleague of mine set up within the tax codes a way for a customer to calculate the self-assessment tax rate and such. You may be able to do the same here but it will depend on what kind of discounts are given - would it be on whole order and/or specific items. You would need a tax code to capture every variable, which could be a complex setup. Other way may be SDK.
    If this is how taxes are calculated in the US, you have a good case for SAP to revise how taxes are set up for US localization by submitting a Product Development request that has legal requirements involved. I believe these are given priority. Submit a support message for this and they will have someone review the request.
    Heather

  • Sort on sub total before section or ruture

    I would like get a sort on sum into rupture or section. But the first sort is the section or rupture (order by caracters).

    When you apply the section or break, the sort priority gets changed and by default it first gets applied to dimension
    on which you have created a section and I guess there is no direct way to change that.
    Not sure if the following trick would work but you can give a try to the following:
    Apply ranking on the dimension based on the sum of the object and then try to sort it based on the rank.
    I hope it helps you.
    Good Luck.
    Rohit

  • Query that show total discount on A/R Invoice

    Dear all,
    I would like to have query that show summary of each invoice number that show 'Total of discount'  ( 'Total of discount' = total of discount in line item + discount of total invoice ). Data that I would like to show on this query is as follow :
    Invoice No, Invoice Date, Customer Code, Total before discount, 'Total of discount',  Total Amount, Vat amount
    Please kindly suggest the way to get this data.
    Thanks you in advanced.
    Angnam

    Hi Angnam K,
    Try This one...hope this will serve your purpose.
    SELECT  DocEntry, DocNum,   CardCode, CardName, DocDate, [Total Before Discount] , [Totaldiscount]+  [OinvDiscount] as [Total of discount], VatSum [Total Tax]      FROM (
    SELECT T0.DocEntry,T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], SUM(T1.[LineTotal])[Total Before Discount],
    SUM(T1.[PriceBefDi] * T1.Quantity *T1.[DiscPrcnt])/100 as [Totaldiscount]
    ,Case When T0.[DiscPrcnt] <> 0 Then  (SUM(T1.[LineTotal])/ T0.[DiscPrcnt]) Else 0 end [OinvDiscount] ,T0.VatSum
    FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    Group By T0.DocEntry,T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[DiscSum] ,T0.[DiscPrcnt],T0.VatSum )Sales
    thanks,
    Kumar
    Edited by: itskumaramit on Jul 13, 2011 12:43 PM

  • A/R Down Payment Invoice with Discount

    Hi,
    I have a design question about the "A/R Down Payment Invoice" functionality in SAP B1 (version 8.81 PL09). Consider the following example:
    I have a sales order with "total before discount" of 1000 euro.  Customer gets 10% discount on this order, so order total is 900 euro.
    I ask the customer to pay 300 euro of these 900 euro in advance (= down payment).  I create a A/R Down Payment Invoice, I copy the sales order into the invoice.  Then, I see the following on my screen: Total before discount = 1000 euro (which is correct), Down Payment = 90% = 900 euro.  This is not correct, because 90% down payment would be 810 euro.
    I go further and give 300 euro in as "down payment" and I ignore the wrong "down payment percentage".  When I create my lay-out for my "down payment invoice", it is not possible to get the discount (of 10% = 100 euro in this example) printed.  I only find the following information in the database table (ODPI): Total before discount = 1000 euro (correct), Discount percentage = 70% (NOT correct, should be 10%), Down Payment percentage = 30% (NOT correct, should be 33,33%).
    This looks like a huge mistake in the design of a "down payment invoice" in SAP B1.  How can I fetch the following data from the database:
    1) Total before discount = 1000 euro
    2) Discount 10% = -100 euro
    3) Total after discount = 900 euro
    4) Down payment = 300 euro
    I can do line 1 and 4, but cannot find a way to retrieve line 2 and 3.
    Regards,
    Pieter

    Hi Pieter,
    Where did you set the discount? Is it on document level?
    Have you tried on line level?
    Thanks,
    Gordon

  • Rounding of document total in draft A/R Invoice

    Hi All,
    I am creating document draft of A/R invoice through user defined screen (DI API). after creating the draft document, when I see the actual draft document through document draft report in SAP, the document total has the difference of 0.1. where should the rounding be changed in system? document and system currency is INR. there is no rounding given in currency setup. i have not given any rounding in document also.
    the values in user defined draft are :
    total before discount : 19144.8
    discount % = 40
    total after discount : 11486.88
    tax (12.5 % for all items in the document )
    tax = 1435.86  (12.5% of total after discount)
    rounding = 0.00
    doctotal : 12922.74
    when it is saved, the system draft document shows following value:
    total before discount : 19144.8
    discount % = 40
    total after discount : 11486.88
    tax = 1435.85  (12.5% of total after discount)
    rounding = 0.00
    doctotal : 12922.73
    if you check, the value is different in tax field. system has calculated tax on 11486.8. whereas, I have calculated tax on 11486.88. and this only gives the difference of 0.1 in doctotal. now, anybody can guide on why this is so?
    thanks and regards,
    Binita
    Edited by: Binita  Joshi on Oct 8, 2009 11:05 AM

    Hi Dwarak.....
    Run time total sum is not possible throgh FMS else you would have to to SDK work. But if you want it to be displayed then you can display it into the simple PLD. Whenever your client requires he will fill the AR invoice details and just click on the print preview. This way you can solve the purpose.......
    Regards,
    Rahul

  • Error in discount amount  in Purchase order PLD

    Hi Experts,
    My client requirement is that they want to have the discount in amount wise like for eg  i am giving discount 10% on 1000 rupees product where as SAP gives the value as Total before discount is 900 where as my requirement is to have 100 rs as discount amount.
    So what i was doing like unit price(-)amount so this gives me the exact value. Now they problem is that when i am doing for any multi currency the discount amount is coming in ****** astrks, so when i have checked  the problem is the Unit price is in multi currency and the amount is coming in INR the system is unable to calculate so how to resolve this issue. Please help me out waiting for your reply.

    Hi,
    I would do the following - create a formula field: ("Price before discount (var 81)"/100)*POR1.DiscPrcnt
    This will give you the discount amount in the currency of Unit price field.
    BR,
    Marina.

Maybe you are looking for