Copy Special Prices with unchecked property

Is it possible to copy special prices via the "Copy Special Prices to Selection Criteria" to all Business Partners who do not have a certain property checked?
Thanks,
Luke

Thanks Gordon,
That's what I was thinking. I'll use DTW to import the inverse of unchecked property to another property for all the business partners to do the price update.
-Luke

Similar Messages

  • 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

  • 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

  • Importing special prices

    HI,
    Can somebody give me an example file to import special prices with quantitys area for all BP ????
    Tried something but it didn't update the quantity price only the special price of a BP.
    Thanks
    Mark

    Hi Mark,
    Could you post some of your sample data to see?
    Thanks,
    Gordon

  • How to copy Sales Quotaton prices to Price List or Special Prices

    We frequently use Sales Quotation to communicate deal price offers to customers.  Once these prices are approved, we have to re-type these prices into applicable price lists or special prices. 
    We are looking for a way to copy these deal prices from Sales Quotation (by Business Partner) over to the applicable price list and special prices?
    Please assist?
    Jaco de Villiers

    I was told by my Implementation Partner that it is possible to import and update price list by using the Import function that is available in SBO.  To do this:
    1. From your sales quotation with the agreed prices - export to excel.
    2. Change the format to list: Product code, Price list to update, New price, Currency
    3. Save the file as tab delimited text
    4. Import into SBO using the Administration, Data Import/Export, Data Import, Import from Excel option.
    5. Choose Item type to import
    6. In the B line, choose Price List Code, the list updates to show only the fields relevant to price list updates
    7. Press OK and follow rest of instructions to complete the import.
    I found the above to be simple, repeatable and reliable enough to solve my initial question.

  • Unable to copy the Price Modifiers associated with a Sales Order Line

    Dear All,
    I am copying Sales Order Line using the process_order API. I was not able to copy the Price Modifiers associated with the Lines. How can I accomplish this..?
    Is there any API available for copying the Price Modifier info associated with the Sales Order Line..?
    Environment is 11i and OS is SUN Solaris
    Please update...
    Many thanks in advance..

    Hello All,
    Please let me know is this possible to have the list of Invoices for an associated Sales Order.
    Thanks,
    Abdul

  • Copy Quote discount price with 'line item proposal' in VA01

    Hi Expert
    Does anyone know how we can use 'line item proposal' to copy discount prices from Quotation into Sales Order via VA01?
    We want to copy all line items from a previous quote into new sales order, in our test all line item details was copied across except discount prices (condition type ZPM2). Any idea how we can include the discount prices in the copying.
    Any suggestion will be appreciated
    Thank you

    As already, mention in previous post
    this would not copy pricing.
    It will only copy material & order quantity.
    By using copying control VTAA, I intended to say.
    You should create a sales order with reference to Quotation. For this you need not make any modification to existing standard configuration for copying control for VTAA ( Target: OR & Source: QT ), which will take care of your requirement.
    Regards
    JP

  • Query to see all BP's with a special price for an item

    Hi There,
    I'm currently still learning the product and have been tasked with finding this out, so please bear with me and let me know if there is further information that is required.
    I have a customer running SAP B1 2007 who wishes to produce a report detailing all of the BP's that have a special price for an item. 
    Therefore it would ideally show the item number, all BP's who have a special price and what that price is.
    Is there a standard report that can be run for this?  Or would a query have to be defined?
    Any help would be appreciated.

    Hi,
    AFAIK, no standard report for this. But need not to worry, you just need
    SELECT ItemCode,CardCode,Price FROM OSPP ORDER BY ItemCode,CardCode
    above simple query to cater your need.
    Best Regards,
    Hendry Wijaya

  • 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

  • Deleting single row from Special Price for Business Partners

    Hi Experts,
    How would I go about about deleting a single row from Special Prices for Business Partners across all BPs when for most of my BPs this is the only special price they have.  I have tried using Copy Discounts function but once you are down to 0 rows the record has effectively gone from the table so there is nothing to copy. 
    Hopefully I won't have to go thorugh 5000 records and delete each one idividually.
    Thanks
    Jon

    Hi Jon,
    You may try a tool called B1TCH:
    /people/community.user/blog/2007/08/19/get-your-kicks-with-di-commander
    Thanks,
    Gordon

  • Special Price Records Error (DeleteSpecialPricesNotInB1 in SBOSpecialPrice)

    When synching, my special pricing record count in SBO does not match Web Tools, and an error in SynchManager is thrown:
    SynchModule
    SBOSpecialPrice
    Message
    There are less special price records in WT than in B1. This can be due to an error in synch and can cause pricing inconsistencies.
    SynchMethod
    DeleteSpecialPricesNotInB1
    The thing is, the record count isn't supposed to match. We do some quirky things with pricing between SBO and Web Tools via a custom synch plugin, and since the pricing only synchs from SBO to Web Tools it's not a huge deal. I was wondering, is there any way to disable the SBOSpecialPrice SynchModule altogether? Would that be a bad thing to do? Maybe I can simply hide the error from showing up in the synch - if there's a way to do that, I'd be alright with a [kludge|http://en.wikipedia.org/wiki/Kludge|A kludge (or kluge) is a workaround, a quick-and-dirty solution, a clumsy or inelegant, yet effective, solution to a problem, typically using parts that are cobbled together.] too.

    Hmmmm .... I can think of 2 possible solutions.
    1) Figure out how the synch knows there are less special prices and somehow make "dummy" data that fools the synch.
    2) Add trigger to the PartsPricing tables and copy elsewhere as data is inserted and copy back after .. somehow. Come to think of it .. I think there's a way to write a trigger that can cancel a SQL delete. Try googling something like that.
    Both of these are very risky in my opinion though.

  • 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 price by date

    Maybe someone will be able to help me on this issue.
    We have a customer that we periodacly give him discounts on a group of 20-30 items for a limited time.
    We would like to enter it in SAP but its a lot of work since on every line we have to click again to enter the dates the discount is valid.
    Is there any way to enter a date range and then select all the items that will be discounted that period?
    Ephraim

    Hello ...
    If there is a way you can do ...
    If you open the window of special prices, you can select several lines .. test by selecting from last to first ... then uncheck without double clicking on the first and assigns a date range ... ell copy button then applies discounts and will open a new window that lets you choose any option ..
    I just did .. and that is why I commented that if possible
    Best Regards,

  • DI API: 2005A PL: 08  Special Prices

    Hi everyone,
    I am using the DI-Object SpecialPrices for adding a special price in the Database. We use a German MSSQL Server 2000 and VB.Net (1.1)
    My Code:
    Public Sub PreislisteZwischenspeichernLöschenUndSetzen()
                'Dim oPreisliste As SAPbobsCOM.PriceLists
                Dim oSonderpreisliste As SAPbobsCOM.SpecialPrices
                Dim oSonderpreislisteDataArea As SAPbobsCOM.SpecialPricesDataAreas
                Dim oSonderpreislisteQuantityArea As SAPbobsCOM.SpecialPricesQuantityAreas
                Dim oSBOB As SAPbobsCOM.SBObob
                oSBOB = oCibAddOn.oCompany.GetBusinessObject(BoObjectTypes.BoBridge)
                'oPreisliste = oCibAddOn.oCompany.GetBusinessObject(BoObjectTypes.oPriceLists)
                oSonderpreisliste = oCibAddOn.oCompany.GetBusinessObject(BoObjectTypes.oSpecialPrices)
                ' Staffelpreisliste neu eingeben
                ' Wichtig, Standardpreis muss in der Preisliste unter ITM1 eingegeben sein
                Dim oArtikelPreis As SAPbobsCOM.Items
                Dim oArtikelPreise As SAPbobsCOM.Items_Prices
                oArtikelPreis = oCibAddOn.oCompany.GetBusinessObject(BoObjectTypes.oItems)
                oArtikelPreis.GetByKey("9999")
                Dim intIndex As Integer = 0
                Dim blExit As Boolean = False
                Do While blExit = False And intIndex < oArtikelPreis.PriceList.Count
                    oArtikelPreis.PriceList.SetCurrentLine(intIndex)
                    If oArtikelPreis.PriceList.PriceList = 1 Then
                        oArtikelPreis.PriceList.Currency = "EUR"
                        oArtikelPreis.PriceList.Price = 12.5
                        If oArtikelPreis.Update() <> 0 Then
                            MsgBox(oCibAddOn.oCompany.GetLastErrorDescription)
                        End If
                        blExit = True
                    End If
                    intIndex += 1
                Loop
                oSonderpreisliste.CardCode = "70000"
                oSonderpreisliste.ItemCode = "9999"
                oSonderpreisliste.Currency = "EUR"
                oSonderpreisliste.Price = 12.5
                oSonderpreisliste.PriceListNum = 1
                oSonderpreisliste.SpecialPricesDataAreas.SetCurrentLine(0)
                oSonderpreisliste.SpecialPricesDataAreas.AutoUpdate = BoYesNoEnum.tYES
                oSonderpreisliste.SpecialPricesDataAreas.DateFrom = New System.DateTime(2006, 4, 26)
                oSonderpreisliste.SpecialPricesDataAreas.Dateto = New System.DateTime(2006, 4, 28)
                oSonderpreisliste.SpecialPricesDataAreas.PriceCurrency = "EUR"
                oSonderpreisliste.SpecialPricesDataAreas.PriceListNo = 1
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPrice = 12.5
                oSonderpreisliste.SpecialPricesDataAreas.Add()
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SetCurrentLine(0)
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.PriceCurrency = "EUR"
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Quantity = 1
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SpecialPrice = 12.5
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Add()
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SetCurrentLine(1)
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.PriceCurrency = "EUR"
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Quantity = 100
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SpecialPrice = 10
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Add()
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SetCurrentLine(2)
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.PriceCurrency = "EUR"
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Quantity = 1000
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.SpecialPrice = 7.5
                oSonderpreisliste.SpecialPricesDataAreas.SpecialPricesQuantityAreas.Add()
                If oSonderpreisliste.Add <> 0 Then
                    MsgBox(oCibAddOn.oCompany.GetLastErrorCode)
                    MsgBox(oCibAddOn.oCompany.GetLastErrorDescription)
                End If
                System.Windows.Forms.Application.Exit()
            End Sub
    We get all the time the errormessage: Date is out of range.
    We also try to use the functions SaveAsXML and GetBusinessObjectFromXML, but then the same error comes.
    Trinidad wrote a lot of time that the error is solved in the Version 2005, but it isn`t so for us.
    Please help
    Regards
    Jörn

    Sorry for the double post; I thought I would be better showing how my code goes.
    As with the original poster, I am using the DI-object Special Prices to insert new records. I am trying to create a Special Price that is BP-Item specific, using the default demo company (SBO Demo UK), valid date from 15 Jun to 20 Jun.
    Dim oSpecialPrices As SpecialPrices = oCompany.GetBusinessObject(BoObjectTypes.oSpecialPrices)
    Dim oSpecialPricesDataAreas As SpecialPricesDataAreas = oSpecialPrices.SpecialPricesDataAreas
    ' SpecialPrices settings
    oSpecialPrices.ItemCode = "A1000"
    oSpecialPrices.CardCode = "C1000"
    oSpecialPrices.AutoUpdate = BoYesNoEnum.tYES
    oSpecialPrices.PriceListNum = 3
    oSpecialPrices.DiscountPercent = 50
    ' ------------------ START ------------------
    ' SpecialPricesDataAreas settings
    oSpecialPricesDataAreas.SetCurrentLine(0)
    oSpecialPricesDataAreas.DateFrom = New DateTime(2006, 6, 15)
    oSpecialPricesDataAreas.Dateto = New DateTime(2006, 6, 20)
    oSpecialPricesDataAreas.AutoUpdate = BoYesNoEnum.tYES
    oSpecialPricesDataAreas.Discount = 15
    oSpecialPricesDataAreas.PriceListNo = oSpecialPrices.PriceListNum
    oSpecialPricesDataAreas.PriceCurrency = "GBP"
    oSpecialPricesDataAreas.Add()
    ' ------------------- END -------------------
    ' Adding and checking for any errors
    oSpecialPrices.Add()
    oCompany.GetLastError(lErrCode, sErrMsg)
    If lErrCode <> 0 Then
        MsgBox(lErrCode & ": " & sErrMsg)
    End If
    If the portion of the code between START and END was commented out the insertion was successful. Else as it is, it will keep prompting Invalid Date Range (-10).
    Can anyone please shower some enlightenment?

  • Internal Server Error while sending mail with extended property

    I am using EWS Managed API. I just started fiddling with Extended properties. So I wrote simple code to send a simple mail with extended property attached to it.
    Forming the mail part I simply copy pasted from this
    MSDN page. For testing purpose I suppressed certificate validations.
    This is my complete code:
    1 ServicePointManager.ServerCertificateValidationCallback = delegate(object s, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; };
    2 service = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
    3 service.TraceListener = new TraceListener();
    4 service.TraceEnabled = false;
    5
    6 service.Credentials = new WebCredentials("[email protected]", "password@123");
    7 service.Url = new Uri("https://exchng.domain.com/EWS/Exchange.asmx");
    8
    9 Guid MyPropertySetId = new Guid("{C11FF724-AA03-4555-9952-8FA248A11C3E}");
    10
    11 // Create a definition for the extended property.
    12 ExtendedPropertyDefinition extendedPropertyDefinition = new ExtendedPropertyDefinition(MyPropertySetId, "Expiration Date", MapiPropertyType.String);
    13
    14 // Create an e-mail message that you will add the extended property to.
    15 EmailMessage message = new EmailMessage(service);
    16 message.Subject = "Saved with extendedPropertyDefinition of two days";
    17 message.Body = "The expiration date is contained within the extended property.";
    18 message.ToRecipients.Add("[email protected]");
    19
    20 // Add the extended property to an e-mail message object named "message".
    21 message.SetExtendedProperty(extendedPropertyDefinition, DateTime.Now.AddDays(2).ToString());
    22
    23 // Save the e-mail message.
    24 message.SendAndSaveCopy();
    Please find the rest of the question in first reply, as I got "Body must be 4 to 60000 characters long".

    Rest of the question:
    I am getting below exception (with no nested inner exceptions) on line 24:
    An internal server error occurred. The operation failed.
    at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
    at Microsoft.Exchange.WebServices.Data.ServiceResponse.ThrowIfNecessary()
    at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
    at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalCreateItems(IEnumerable`1 items, FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode, ServiceErrorHandling errorHandling)
    at Microsoft.Exchange.WebServices.Data.ExchangeService.CreateItem(Item item, FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode)
    at Microsoft.Exchange.WebServices.Data.Item.InternalCreate(FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode)
    at Microsoft.Exchange.WebServices.Data.EmailMessage.InternalSend(FolderId parentFolderId, MessageDisposition messageDisposition)
    at Microsoft.Exchange.WebServices.Data.EmailMessage.SendAndSaveCopy()
    If I comment line number 21, the code works fine and sends the message. So why it fails with extended properties?

Maybe you are looking for

  • System Shutdown

    Hello, I have an ERP system connected to BW and CRM. For shutting down the ERP(unix+DB2) what necessary precautions should I take? What are the generic steps to be followed in the BW and CRM systems, before I shutdown the ERP system. Thanks a lot in

  • Why wont BLOBS commit in forms

    I used read-image-file in a 'When-image-pressed' trigger to insert the image. It did'nt work with message '47100 - Cant read image file ...'. I noticed other images in the example tables where all around 100k so i resized mine from 900k to 100k and t

  • Originals and duplicates in iphoto

    I'm trying to clean up iPhoto which currently has 11,000ish photos. I downloaded Duplicate Cleaner for iPhoto which found a lot of duplicate photos. So I deleted all those. Now I'm going through and manually deleting bad photos my kids shot over the

  • Find Indexes not used

    Hi , Is there any script that i can run to see all the indexes that are not used in the Entire batch Jobs (these batch job has many DML's on large number of tables) but present(in valid state) during the Run. The main idea is to have these indexes an

  • My iPhone 4 (CDMA) Wont Upgrade To iOS 5,

    I Get Error (3002) When Upgrading I Get Error (3194) When Trying To Restore It Then Upgrading