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 ?

Similar Messages

  • 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 ?

  • 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

  • Need API for getting List price and unit price before Order entry

    Hello,
    I have requirement of provide unit & list price before order entry (Oracle Pricing and availability form provide the same).
    Please suggest any API for the same.
    Thanks
    Akil.

    Hi,
    Thanks luko,
    I got API QP_PREQ_PUB.PRICE_REQUEST, and its return output as expected,
    Just have confusion that how many qualifiers we have to send
    Here is my sample code
    OR REPLACE PROCEDURE xx_web_get_price (
    IN     NUMBER,
    IN     NUMBER,
    IN     NUMBER,
    IN     NUMBER,
    IN     VARCHAR2,
    IN     VARCHAR2,
    IN     VARCHAR2,
    IN     NUMBER,
    OUT NUMBER,
    OUT NUMBER,
    OUT VARCHAR2,
    OUT VARCHAR2)
    QP_PREQ_GRP.LINE_TBL_TYPE;
    QP_PREQ_GRP.QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
    QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
    QP_PREQ_GRP.CONTROL_RECORD_TYPE;
    QP_PREQ_GRP.LINE_TBL_TYPE;
    QP_PREQ_GRP.QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
    QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
    VARCHAR2 (240);
    VARCHAR2 (240);
    QP_PREQ_GRP.QUAL_REC_TYPE;
    QP_PREQ_GRP.LINE_ATTR_REC_TYPE;
    QP_PREQ_GRP.LINE_REC_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
    QP_PREQ_GRP.RELATED_LINES_REC_TYPE;
    QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
    QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
    INTEGER;
    BINARY_INTEGER;
    VARCHAR2 (240);
    VARCHAR2 (60);
    oe_debug_pub.debug_on;
    oe_debug_pub.initialize;
    := OE_DEBUG_PUB.Set_Debug_Mode ('FILE');
    oe_Debug_pub.setdebuglevel (5);
    ('File : ' || l_file_val);
    QP_Attr_Mapping_PUB.
    (p_request_type_code           => 'ONT',
    => 'L',
    => l_pricing_contexts_Tbl,
    => l_qualifier_Contexts_Tbl);
    := 1;
    ---- Control Record
    .pricing_event := 'LINE';                           -- 'LINE';
    .calculate_flag := 'Y';    --QP_PREQ_GRP.G_SEARCH_N_CALCULATE;
    .simulation_flag := 'N';
    .source_order_amount_flag := 'Y';
    .rounding_flag := 'Q';
    .manual_discount_flag := 'Y';
    .request_type_code := 'ONT';
    .TEMP_TABLE_INSERT_FLAG := 'Y';
    ---- Line Records ---------
    .request_type_code := 'ONT';
    .line_id := 2125125; -- Order Line Id. This can be any thing for this script
    .line_Index := '1';                           -- Request Line Index
    .line_type_code := 'LINE';           -- LINE or ORDER(Summary Line)
    .pricing_effective_date := SYSDATE;    -- Pricing as of what date ?
    .active_date_first := SYSDATE;  -- Can be Ordered Date or Ship Date
    .active_date_second := SYSDATE; -- Can be Ordered Date or Ship Date
    .active_date_first_type := 'NO TYPE';                   -- ORD/SHIP
    .active_date_second_type := 'NO TYPE';                  -- ORD/SHIP
    .line_quantity := 1;                            -- Ordered Quantity
    .line_uom_code := p_uom; --'Ea';                         -- Ordered UOM Code
    .currency_code := p_currency_code; -- 'USD';                           -- Currency Code
    .price_flag := 'Y'; -- Price Flag can have 'Y' , 'N'(No pricing) , 'P'(Phase)
    (1) := line_rec;
    ------ Line Attribute Record
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                               
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE3';
    .PRICING_ATTR_VALUE_FROM := 'ALL';
    .VALIDATED_FLAG := 'N';
    (1) := line_attr_rec;
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                                 --
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE1';
    .PRICING_ATTR_VALUE_FROM := p_item_id;
    .VALIDATED_FLAG := 'N';
    (2) := line_attr_rec;
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                              
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE2';
    .PRICING_ATTR_VALUE_FROM := p_category_id;
    .VALIDATED_FLAG := 'N';
    (3) := line_attr_rec;
    ------ Qualifier Attribute Record
    .LINE_INDEX := 1; -- Attributes for the above line. Attributes are attached with the line index
    .QUALIFIER_CONTEXT := 'MODLIST';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE4';
    .QUALIFIER_ATTR_VALUE_FROM := p_price_list_id;
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (1) := qual_rec;
    .LINE_INDEX := 1;
    .QUALIFIER_CONTEXT := 'CUSTOMER';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE2';
    .QUALIFIER_ATTR_VALUE_FROM := p_customer_account_id;
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (2) := qual_rec;
    .LINE_INDEX := 1;
    .QUALIFIER_CONTEXT := 'CUSTOMER';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE40';
    .QUALIFIER_ATTR_VALUE_FROM := p_customer_category; --'INDUSTRIAL';  
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (3) := qual_rec;
    QP_PREQ_PUB.PRICE_REQUEST (p_line_tbl,
    -- Return Status Information ..
    := x_return_status_text;
    := x_return_status;
    := x_line_tbl.FIRST;
    IF I IS NOT NULL
    THEN
    := x_line_tbl (I).unit_price;
    := x_line_tbl (I).adjusted_unit_price;
    END IF;
    xx_web_get_price;                                     
    Regards,
    akil.

  • 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

  • For some apps it seems impossible to determine the price before, or even after, installing them. How can I get round this?

    For some apps it seems impossible to determine the price before, or even after, installing them. How can I get round this?

    Can you be clearer about what you're seeing?  The price should be clearly stated up front...  Is that not the case?  Note that there may be additional taxes that will increase the final price, and that can't be included in that up-front listed price, since taxes are different everywhere.

  • How to know when the PRICE AFTER DISCOUNT changed and get the value

    Hi,
    Everything I do to see if a value changed in the grid works except for PRICE AFTER DISCOUNT
    which seems to be inaccessible.
    Any idea how to know when exactly this value changed and do actions accordinly ?
    Also I always get 0.00 if I try to get the value of it
    This works to get in the condition of a vlaue changing but I always get 0.00 as the value of the column
    if (pVal.ItemUID == "38" && pVal.ColUID == COL_DISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
        try
            SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
            SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_DISCOUNT).Cells.Item(pVal.Row).Specific;
            SBO_Application.MessageBox("Discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
        catch (Exception ex)
            SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");
    And this do not even get into the condition even tought I SEE the column PRICE AFTER DISCOUNT:
    if (pVal.ItemUID == "38" && pVal.ColUID == COL_PRICEAFTERDISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
        try
            SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
            SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_PRICEAFTERDISCOUNT).Cells.Item(pVal.Row).Specific;
            SBO_Application.MessageBox("Price after discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
         catch (Exception ex)
             SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");

    just idea, maybe it will works
    Create one udf in row level and set there FS based on changes on price after discount and fill value what is in price after discount. Then the validation make on this field instead of standard SAP field.

  • SBO2007A can no longer change the Price after Discount on marketing docs

    In SBO2005A (subjecting to Document Settings), you could change the Price after Discount.  Thisis no longer available in SBO2007A (unless you upgrade from SBO2005A with the appropiate settings.
    I have not found a customer who thinks this is good idea.
    Good to reinstate the functionality.
    Regards
    Jeff

    Hi,
    The field "Price after discount" can become editable if you unmark the checkbox "Calculate the row Total using the Unit Price" (Document Settings->General Tab). As default this checkbox is disabled for new installations.
    Also, please check the following link as well :
    Re: Net price calculation
    Regards,
    Jitin
    SAP Business One Forum Team

  • 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

  • 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

    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

  • 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.

  • Best price on discount & net

    Dear SAPfans,
    Notice that, when creating sales order for item A, system will give the best price for the customer.
    In my pricing procedure we have assign two condition
    1. ZPND - Part Net Disc
    2. ZPDP - Part Promo / Disc
    Let said Item A selling price is $10.00 then customer can get $1.00- discount on net (ZPND).
    or
    there can get 10% discount  (ZPDP).
    10     0     QPRT      Part Price     0     0
    55     0                Gross Price     0     0
    56     0     ZPND      Part Net Disc     55     0
    58     0     ZPDP      Part Promo / Disc     55     0
    59     0     ZPDG      Part Volume Disc     55     0
    60     0     ZPM1       Mesra Card Disc     55     0
    100     0                Net Item Discount     56     99
    450     0     ZPRC      Restocking Charges     0     0
    460     0     ZPFC      Freight Charges     0     0
    500     0               Net 2     400     499
    700     0               Credit Checking Amount     0     0
    701     0     DIFF     Rounding Adjustment     400     499
    751     0     QPRS     Cost     0     0
    800     0          Contribution Margin     0     0
    Does sap give the best price on net or best price on discount or sap will take both of this two discount ?

    Hi,
    This can be sorted out by using Condition Exclusion.
    Please go through this link it will help you about condition exclusion.
    [http://help.sap.com/saphelp_47x200/helpdata/en/93/743483546011d1a7020000e829fd11/frameset.htm]
    Regards,
    Ajit

  • Price condition discount percentage working different

    Dear Gurus,
    I defined a condition. It is a discount.
    Condition class: Discount or surcharge
    Calculation Type: Percentage included
    Pricing Procedure contains only 2 condition; price and discount.
    Value of price is 15000
    Vavue of discount is 15%
    When I run fee calculation, I expect that 15000 - (15000*15%) = 12750, but the result is "12352,94".
    What could be the reason?
    Thanks,

    Did you actually change the sold-to party though or just the payer?  The sold-to party's price list type controls the price list type value copied into the order header.  Even if the payer has a different value, it's not copied to the order header.  You can see this behavior in FV45KFKD_VBKD_FUELLEN.  If you switch sold-to's then you should get a pop-up that new pricing was carried out; you should also see your new price list type value in the order header and you can use the 'analysis' function at the item level to verify that the correct price was used.

  • Can I change price , Quantity , discounts, tax when I am creating an invoic

    Hi All,
    When I am creating invoice in VF01, Shall I change price, Quantity, discounts, tax in the create mode itself. Normally with copy controls every thing is copeid fromorder or delivery. But my question is shall make any changes in invoice at VF01 screen just after entering delivery document, shall I make any changes to price, Quantity, Discount. Where is the control for this If i want to change, is it in copy controls.
    I think you all understand my question.
    waiting for your quick reply.
    Thanks in Advance
    Anil

    Dear Anil
    You can change the pricing, discounts and tax in VF01 but not the quantity. 
    For this, in VTFL, for your item category, for the field "Pricing type", if you have maintained "G".  By maintianing "G", the pricing in billing documents will be copied from sale order.  At the time of billing, if you want to change the price, click on "Update" button at the bottom screen in condition tab so that a box will appear.  Double click on "B" there and you can see the revised pricing in condition tab.  Similarly, if you want to change the tax values, double click on "G".
    Alternatively, in VTFL, for the field "Pricing type", if you maintain "B", then whatever you maintain in VK11, that price only will be there in condition type irrespective of sale order price.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Adobe InDesign crashes frequently (Win8.1pro, CS6 Design Standard)

    I am experiencing an issue with Adobe InDesign. It crashes frequently, 3 or 4 times over an 8 hour work day. There doesn't seem to be a pattern in the crashes, it isn't when I'm doing anything specific, it just happens seemingly randomly. The compute

  • Payment to vendors though bank transfer

    My customer wants now to change vendors payment through APP with bank transfer instead of Cheque Payment. Please guide

  • UI: Toolbar - (F?)AQ about toolbar button activation and usage

    <b>Q:</b> How can I add functionality of the two SAP toolbar buttons shown on the screenshot? <b>Reply:</b> Please note that the clicks on the toolbar buttons are translated into MenuEvents! I.e. if the button is active at the time you want to use it

  • Problem in creating 800 client to see table content .

    HI,     I am new to sap .  I have ideas 4.7 in windows 2003.  i can see table content under user sap* and password 060719* . I  have created a user sapuser . through client 000 , i can create create abap program , but could not find ant table content

  • File renaming in Jython

    Hi all, I have to do validation for a filename in jython .The code picks up a single file from a shared loacation and then i have to check it name against a database column value which i have stored in Odi variable.Can anyone please guide me as to ho