Prices on invoices not mantained - Discounts - Special Prices

Hello everybody,
I'm developing with SBO2005 A PL7 and DI API.
I have this problem with an our addon that generates invoices.
If I set this properties:
.Lines.Price = X
.Lines.DiscountPercent = Y
and I have Stock Management - Price Lists - Special Prices - Discount Groups setted for this customer,
the price X comes mantained ok, but the DiscountPercent Y comes overwritten on this instruction:
objInvoice.Add as if it takes another PriceList.
Do you know why?
How can I set this field AR/Invoice - Form Settings  - Price List (for the document)?
Thank you
Andy

I intended the field Price List field in [Form 998, Item = 31, Variable = 2, OCTG.ListNum]
Thank you again

Similar Messages

  • Special price for BPs

    Hi experts,
    I have created a special price for a BP based on trade price as price list and it is not on automatic mode, when I do sales order for this BP the unit price is same as trade price and the discount and price after discount comes from the special price as defined.
    Now when I change the trade price for this item and do sales order then the unit price is not same as trade price, it is showing the old trade price,
    Here my question is if I define special price and keep it on non auto mode, when there is a trade price change then where from the unit price comes at sales order? is it from special price?
    Thanks in advance.
    Rgds
    Suman

    Hi Suman Roy...
    Special Price Use
    Special prices can be used for the following scenarios:
    You want to specify a special price for a customer when a particular item or an item from a particular item group is purchased. In this case, you specify a price that depends on the business partner.
    You want to define special prices for an item that are to apply for particular periods of time. In this case, you specify a date-dependent price.
    Depending on the quantity ordered, you want to assign a special price. If the quantity ordered is very large, you sell or buy an item at a lower price than with a small quantity. In this case, you specify a quantity-based price.
    From time to time, you will also want to update all or particular special prices. You can do this, for example, by changing the discount for selected special prices. You can also select specific special prices and change only these prices. You can refer price list updates to the derived special prices. You may also want to delete particular special prices after a defined period of time. Once you have defined special prices for individual cases (that is, for a particular business partner), you can copy them to other business partners or groups of business partners according to various sets of rules.
    If you want to refer discounts to particular item groups, items with particular properties, or manufacturers regardless of the business partner, you can define discount groups.
    If you do not want special prices to depend on a business partner, you can also define special prices for a price list. These always apply if no special prices have been defined for a business partner. These special prices can also be defined on the basis of a particular date and/or quantity.
    Automatic Price Calculation
    When you enter a business transaction, such as an outgoing invoice or a purchase order, the system calculates the price for an item automatically. The system proceeds as follows here:
    The system first checks whether a special price has been defined for the item for this particular business partner. This special price could also be based on a particular date or quantity.
    If no special price has been defined, the system checks whether a discount group has been defined for the business partner that can be applied to the item.
    If no special price has been defined, the system checks whether a special price has been defined for the item (for the price list entered in the master record of the business partner), which once again can be based on a particular date or quantity.
    If no special price has been defined, the system copies the price for the item from the price list entered in the master record of the business partner.
    If a discount has been granted because of a special price, the discount is indicated in the detailed information of a line in the purchasing or sales document in the Discount % field.
    Regards

  • Special prices query

    Hi All,
    Hope you someone can help me on a query.
    I have a price list "sales standard price list" having increased it by 5% from january it has affected / updated  all the Special prices associated with the 5% increase having auto update flagged.
    The  BP - items special prices which have the OSPP - AutoUpdt as "Y" have also been increased. I will need to update certain BP - Item  linked to special prices but are not flagged i.e., OSPP- AutoUpdt "N"
    I need a list of the item which have not been updated that i refer and see *** some of the items require to be manuallu update with 5% increase in special prices too.
    A query to  identify the details
    BP / Item No / Price after discount - Special Prices on which the Autoupdt box is not checked. / Price list if possible.
    Thank you,
    Regards,
    Rakesh N

    Thanks have resolved it using query generator OSPP. It was easy though.

  • Adding special prices to items query.

    Hi, I'm just wondering if anybody can help me work out how to add special prices to items on a volume basis. say if i sold one item there would be no discount but if i sold 10 then i would automatically want a 5% discount to be given, I've had a look around and nothing seems to be popping out at me, i want the discount given to all customers also.
    many thanks.

    Dear RW,
    Choose  Inventory ->Price Lists ->Special Prices ->Special Prices for Business Partners
    To define the special price of an item for a business partner, in the Special Prices for Business Partners window, enter the required business partner and item information
    To open the Period Discounts window, in the # column, double-click a row . Enter the required dates, price list, discount, and price and choose the Update button
    To save the modified special prices, in the Special Prices for Business Partners window, choose the Update button
    If no date-dependent special price has been defined for an item, SAP Business One assumes that the customer-specific special price has been valid since the date on which it was added. The special price with the appropriate valid-from date appears in the first row.
    Defining Quantity-Based Special Prices for a Business Partner
    Choose  Inventory -> Price Lists -> Special Prices  -> Special Prices for Business Partners .
    The Special Prices for Business Partners window appears.
    To open the Period Discounts window, in the # column, double-click a row . Enter the required dates, price list, discount, and price.
    In the Period Discounts window, double-click a price-list row to open the Special Prices - Volume Discounts window, and enter the quantity, discount, and special price.
    After you enter or change the price, SAP Business One automatically calculates the discount according to the difference between quantity-based and the date-dependent special price.
    To confirm your entries, choose the Update button in the Special Prices - Volume Discounts window and the Period Discounts window.
    To save the modified special prices, choose Update in the Special Prices for Business Partners window.
    To define quantity-based special prices, you do not have to define a date dependency in addition to the SAP Business One default one. You can also define quantity-based special prices directly, based on the special price for the business partner
    Regards,
    Sarkar R

  • Special Prices for "SALE" period.

    Dear SD pricing experts,
    We seek a suggestion for a pretty common scenario wherein  when we have a SALE period -- by definition it could mean special prices for SOME of the regular items -- maybe old arrivals / improper condition of the item hence devalued but still perfectly usable, for a specific period. However for the same period, some items (quantities) of the same, which are in brand new condition, would be available for sale at the regular price.
    How can one handle this in the SAP SD pricing or related. This should be such that only the right material goes at the right price and not the GOOD material at the SALE price.
    Please note there is no separate identification' of the "devalued" items. e.g. cloth items, or cosmetic items which have lost their packaging and likewise.
    Look forward to a valuable solution to this.
    Regards,
    Tariq

    Hi,
    It is understood that you want to give special prices for certain items. The special prices can be given through discount condition  K007.
    1.     Create a condition table that includes u2018Order reasonu2019 as one of the fields. Say, the condition table includes Sales organization, Distribution channel, Division and Order reason. Say, the condition table is 650.
    2.     Create an access sequence Z001 u2013 Discount for SALE period; this access sequence has the condition table 650.
    3.     Enter this access sequence in condition type K007.
    4.     Create order reason as 101-Sale period dis A, 102-Sale period dis B, 103-Sale period dis C [Menu path: Spro >> SD >>Sales >> Sales docu header >> Define order reason]
    5.     Maintain condition record for K007 in VK11. Maintain different discounts for different order reason.
    6.     Create a sales order. If the material is eligible for discount, select the order reason [eg; 101]. The respective discount will be reflected.
    7.     The condition record is controlled by the u2018from- tou2019 validity period.
    8.     If you need to reflect the discounted price in the price PR00 itself, assign this access sequence in the condition type PR00 and maintain different prices for different order reason. You will get PR00 value directly.
    Hope this information will be useful to you.
    Regards,
    K Bharathi

  • Purchase with a SPA (Special Price Agreement)

    Hi,
    1. How I can I find & follow-up price differences coming from an SPA (Special Price Agreement)?
    2. How can I rebook the amounts, as the account is an automatic account?
    The standard SAP functionality for Tolerances will not solve the issue.
    When the lower tolerance limit is exceeded, the invoices does not get blocked, because SAP considers it as a partial payment.
    Thank you for your feedback.
    Kind regards,
    Linda

    Hi,
    With a special price agreement, the standard cost of the machine will not be changed in SAP.
    As a consequence, the invoice will be blocked due to a price difference.
    Blocked invoices can be released in transaction MRBR.
    Then a manual posting needs to be made in FI to correct the COGS.
    Can anyone provide more details about this posting?
    Thank you.
    best regards,
    Linda

  • Update special price field in OSPP

    Hia all,
    When I change the gross price in the sales pricelist, all special prices per BP will be updated if the field Automatic update is marked and is linked to this pricelist.
    However the field OSPP.Price, which should be the new special price per BP, is not updated.
    SAP wrote a note, 849386, which says that this field is only updated as you use the update button in the form Special prices per BP.
    But it's just a normal way to change the overall sales price per article in a price list (manually or by DTW or Excel sheet), which will then update all special prices per article per BP if the automatic update field is marked and linked to this pricelist?
    We use a query which take out data from OSPP (.Price) to show the special price per BP, but it shows all old prices.
    Does anybody know how I can update this field in OSPP by another way?
    It's too much work to update all special prices per BP per article manually everytime a gross price change occurs.
    Thanks in advance.
    Best regards,
    Carl Verhagen

    Hi Ladislav,
    Thanks for your help, but it doesn't solve my problem.
    The note is talking about updating the special prices per BP and the rows behind.
    SAP also says in note 849386 that the field will only be updated as the update button has been used but it is also be updated as the price will be imported by DTW.
    We import our prices not by DTW, but by a specially made Excelsheet and it's working fine untill we noticed that the value in the field OSPP.Price is will not be updated.
    If we use the DTW template special prices, all records will be imported (cardcode *1) and can be found in Hierarchies and Expansions, but can I also import/update prices (by DTW) which will be imported/updated and shown in the pricelist (above the menu hierarchies and expansions) as this price will also appear in the item master.
    Is there a template for this? By the automatic update, the new prices will also then be updated in de special prices per BP.
    Regards,
    Carl

  • Absolute value discount in Special Prices

    I have a customer that has special prices with a value discount, not a percentage one.
    I thought about adding a UDF to the Special Prices table and do a formatted search against it, but later I found that I cannot add an UDF to the Special Prices table...
    All the discount functionality in SBO is percentage based...how should I implement an absolute value discount?
    Any ideas will be much appreciated...

    Hi.
    This is sample code in C++ to add UDF.
    _bstr_t TableName = L"TableUID";
    _bstr_t FieldName;
    HRESULT hr;
    SAPbobsCOM::IUserFieldsMDPtr m_pUserFieldsMD = m_Cmp->GetBusinessObject( SAPbobsCOM::oUserFields );
    m_pUserFieldsMD->PutTableName(TableName);
    FieldName = L"FieldUID";   'without U_'
    m_pUserFieldsMD->PutType(SAPbobsCOM::db_Alpha);
    m_pUserFieldsMD->PutName( FieldName );
    m_pUserFieldsMD->PutDescription( L"desc");          
    m_pUserFieldsMD->PutSize(20);
    m_pUserFieldsMD->PutEditSize(20);
    if ( m_pUserFieldsMD == NULL )
    return -1;
    m_Cmp->StartTransaction();
    hr = m_pUserFieldsMD->Add();
    if (hr!=S_OK)
    'error'
    if ( m_Cmp->InTransaction )
    m_Cmp->EndTransaction( SAPbobsCOM::wf_Commit );
    Hope it helps.
    Kamil Wydra

  • Special prices - Group discount

    Hi
    There are special prices defined for certain customers. A special price discount were defined for a certain period which ended at the end of Sept 2010. Previously a group discount of 10% was defined for this customer. Now that the period discount expired, the special price dicount should revert back to the group discount of 10%  but it doesn't. It just pulls through the normal price as per the price list assigned to the BP.
    I deleted the period discount line in the period discount window even though the period expired but no luck.
    I couldn't find any notes on the subject so has anyone got a solution for me?
    The version is 2007A PL 44
    Regards
    Danie

    Hi
    After much testing it seems that the system handles it in the following manner -
    If the item exists in the window for 'Special prices' - which is the highest level, and even if the disc % is zero, no further checking is done - even though a disc exists in a lower level, in this case 'Group Discounts'.
    When you delete the item from the 'Special Prices' window, the discount defined for 'Groups' pulls through.
    This is the case in 2007 PL44 and also in 8.8 PL11 so I suppose it's just the way SBO handles special prices.
    This may be ok for companies with few bp's and items, but for my client with many bp's and huge warehouses, maintaining special prices is a huge problem.
    Regards

  • Special Prices for BP Period Discounts

    Hi all
    Is it possible to mass import Special Prices for BP Period Discounts for all Customers and Items?
    Kedalene Chong

    Hi,
    How many records you want import?
    If more than thousand records, you need to split the records into 1000 records to import correctly.
    Check SAP notes:
    928625
    - DTW_How to import/update Special Prices via DTW
    Thanks & Regards,
    Nagarajan

  • Special Prices are not expired for BP

    Hi,
    We have set the special prices against a BP code for a date range, even after the expiry of the date range. The special price is picking for the mentioned BP. it is not getting expired as per criteria selected.
    Pl suggest for the issue.

    Hello Vijay57,
    I would like to ask you on which window you wrote the discount.
    If you add a date range the correct field where to add the discount percentage is Discount under:
    Management - Price List - Special prices - Special Prices for Business Partners - Period Discounts.
    There is another Discount field in the Special Prices for Business Partners window, but if you write the discount there it will disregard the date range.
    Can you please tell me if this information helps you?
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Price Block across Invoices (not per invoice)

    Guys
    Do you know of a way to implement price block on the PO level? PP price block is per invoice, is there another way i can set it up so that all invoices are looked at for price block not at a per invoice level?
    Using PP: I can have many invoices, all can potentially be 200 over without going into block.

    For clarification
    Lets assume i have a PO for Qty 10 and price 10000
    If i set PP block for 250, it means i can post
    Invoice 1: Qty 1, price 1200
    Invoice 2: Qty 1, price 1200
    Invoice 3: qty 1 , Price 1200 .. and so on
    Now if i see none of these invoices go into price block - but  i have exceeded po price by 2000
    I want to setup price block such that if sum total of all 10 invoices exceeds 250, it should go into price block.
    Any ideas?

  • Discount Group and Special Prices

    Hello Everyone
    I have a scenario where by the discount given in both Discount Group and Special Prices needs to work in conjunction.Now at the moment if i give it in both discount group and Special Prices for BP,only Special Price discount is being picked up ie its given precedence over Discount Group.Is there any setting that i need to change to make this work.I have to show the difference in discount elsewhere,so only i need to map this in both discount group and special prices.
    Thanks and regards
    Raghu

    hi raghu ram,
    Check the wiki page in this link
    How is the default item unit price determined in marketing documents?
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=29524391
    Hope it will solve problem.
    Jeyakanthan

  • Special prices leading to rounding on lines of sales documents

    Hi
    i have a user who is using special prices against items to store custom prices for their customers.  They are settting a default sell price on the items under special prices as opposed to a % discount as these are fixed prices that they have agreed.  This in turn calculates to percentage discount for each item
    This all seemed to work well when piloting the system pre go live.  However they have since noticed that in some cases based on the way the system works that the system is rounding differently than expected.
    Eg
    Item set up at sell price of u20AC191
    Special price agreed with BP u20AC132
    On a sales invoice sell out 4 items.  You would expect that the system calculate 132 * 5 giving a line total u20AC 528 but instead the system is giving me 527.99
    This is causing problem for the client.  I have logged a message in relation to this but have been informed that this is the way the system works
    Has anyone come up against this before and what solutions have you developed? 
    Thanks in advance
    David

    Gordon
    I have tested as below on the message but they only appear to round the doc total.  All transactions are Euro
    Regards
    David
    30.03.2009 11:55 Reply to Reporter by SAP 
    Dear David,
    Thank you for your feedback.
    We tested your scenario in the version 2007A SP00 PL47.
    Scenario 1:
    1., Administration -> System Initialization -> Document Settings ->
    General tab. In the Rounding method, select By Currency.
    2., Administration -> Setup -> Financials -> Currencies -> Set the
    'Rounding' of the currency used to 'Round to One'.
    The Total of a sales order entered is correctly rounded to one.
    In the Rounding field the rounding difference is showed.
    Scenario 2:
    1., Administration -> System Initialization -> Document Settings ->
    General tab. In the Rounding method, select By Document.
    2., Administration -> System Initialization -> Document Settings ->
    Per Document tab. Select Sales order and tick 'Automatic Rounding for
    Document'.
    The Total of a sales order entered is correctly rounded to one.
    Please upgrade your database to this patch level and test the scenario.
    If the rounding is still not correct please get back to us.
    In case you have any doubt or question please do not hesitate to
    contact me.
    Otherwise please confirm this message at your
    earliest convenience.
    Thank you in advance,
    Best Regards
    Andras Suto
    Support Consultant
    SAP Product Support for SAP Business One
    SAP SSC - Ireland Ltd 
    30.03.2009 16:16 Reply to Support Center  by David Kenny
    Andras
    I have studied your response but I tink we may be discussing two
    different points. Your response seems to relate to rounding on the overall
    document.
    What my client is trying to do is to ensure that each line of the document
    shows the correct rounding. If you took my original examples as a two
    line sales order with a qty of 4 of each product
    Product A - 580.00 * 4 = 2320.01
    Product B - 132 * 4 = 527.99
    The total on the order would be rounded based on what you have
    described above but the individual line totals are rounded incorrectly
    based on the price they have agree with their customer.
    Is there something that can be set in the database to allow for this?
    Regards
    David
    31.03.2009 09:25 Reply to Reporter by SAP 
    Dear David,
    Thank you for your clarification.
    As explained earlier the system supports two types of rounding for
    the calculation of the Total of the document but unfortunately
    it is not possible to use rounding on line level in a document.
    In case your customer would need this, you may consider to use
    a user defined field where the rounding is applied as requested.
    In case you have any doubt or question please do not hesitate to
    contact me.
    Otherwise please confirm this message at your
    earliest convenience.
    Thank you in advance,

  • Special Price Management

    Forum,
    I would like some advice on the best way to handle special prices in "Period and volume discount" currently we have a couple of thousand items in this aera, but only a couple of hundred that are needed. i would like my colleagues (who enter the special prices) to manage this better i.e. when an item is not on special offer (or is not a bulk buy item) for them to remove from this list.  can you let me know what other companys do to manage this area. and if there is an easy way to manage this better.
    Regards,
    Juan

    Would anyone on the forum be able to assist?
    Regards,
    Juan

Maybe you are looking for

  • Mail will not open from dock and wont allow me to shut down, Help?

    My mail will not open from the dock and if I try and close my computer it is prevented by the application mail being open.  Help please.

  • How to display the data in XML files into JSP using Jdeveloper.

    Hi All, I have two XML files one XML file has the view names and the other has the table names of a particular views, how to display the data in JSP using JDeveloper where when i click a particular view the list of tables of that particular view from

  • Error in SCCL on ECC 6.0 system

    Hi, I am trying to copy client 350 from 000. BD54 and SCC4 completed, the test run shows the below error , Error: Table FMATGRED30000001 error in DDIC - Check table with SE14 The data object could not be created: The type FMA TGRED30000001 does not e

  • Script for purchase order

    For the transaction me29n i need to add signature in the script at the bottom . how to find out the script name for diff customer diff manager need to sign so i need to get signature of the manager corresponding to the customer selected how can i do

  • Why is the spry file :SpryDOMUtils.js not uploading to my remote server?

    My website is islamobec.com When i try uploading my site to my remote server i get the following error message in dreamweaver cs4 SpryAssets\SpryDOMUtils.js - error occurred - An FTP error occurred - cannot put SpryDOMUtils.js.  Access denied.  The f