I want to give sales discounts only for the first five sales order

The scenario is that I have to limit the sales discount to first five sales order that is executed, from the 6th the system should not allow any sales discounts

Hi,
If I understand your requirement correclty you want to pass discount for a particular item for a customer only for the first five sales orders irrespective of the quantity you sell on this order. As I understand this way of limiting discount by way of the count of sales orders is not possible.
What is though possible is to limit the discount per customer or per article or per customer and article combination to either a certain fixed value of discount or limit the discount to certain fixed quantity sold for that article.
The config required is
Condition type  : Scale basis -Either value scale or quantity scale. Scale type -leave this blank.
Condition record  :Chose the scale type as "B- To Scale" and at the time of condition record creation you can define your own Calculation type -either fixed amount,percentage,quantity etc.
All the best.
Kartik Shah

Similar Messages

  • Master Page: Alternatives (Subform Set) works only for the first page

    Hi everybody!
    I have bumped into a very weird problem with ADOBE Forms:
    When I create an 'Alternative' in a Context area and then place it on a Master Page, it works only for the first page. On the rest of pages it always show the 'TRUE' subform, regardless of the condition (which is not changed, of course). Absolutely the same Alternative works perfectly in a Content area for all pages.
    Has anybody seen something like this? Any ideas why?
    Thank you!

    This happens because of the processing of the form.
    You can see this here:
    LiveCycle ES2 * Adobe LiveCycle Designer ES2
    You have to put a own variable, which is set with the value you want in the very beginning.
    I know, it is not that logical in the first moment, but it makes sense.
    Regards
    Florian
    PS: This space SAP Interactive Forms by Adobe is the correct for questions like that

  • Is there a way to create a fade only for the first loop?

    I have a loop (Modern Guitar Rock 04), which I've extended out so it repeats four times. I select the Fade Tool and X-Fade for drag. I then drag just in front of the loop and onto it, which creates a fade. However, this also creates fades at the beginning of the repeating loops. Is there a way to create a fade only for the first loop?

    The loop function always repeats the same region so of course the fade is also copied. So option+drag the original region to make a (non clone) copy, fade the first region and loop the second one (which you just copied).

  • Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Kindly inform any email id or toll free number to contact apple for your below answer, Mr.King_Penguin
    About receiving my credit card being debited for Free App Store Application downloads,
    It should be within a few days, but it might vary a bit by bank/provider :
    I am in India, if the bank don't refunds , what to do?
    Rajagopal.pngr :-  It is only a holding charge, it is not a permanent charge. If it isn't refunded within a few days or so (and it quite possibly won't be over a weekend) then you can query the charge with Apple.

  • Hey my little sister pressed something on my ipod and ever since some o f my songs are playing only for the first few seconds how do i solve this problem

    hey my little sister pressed something on my ipod and ever since some o f my songs are playing only for the first few seconds how do i solve this problem

    BaconBits is right to ask if the files are protected or not.
    DRM files can only be transferred using Windows Media Player, Creative MediaSource or Nano Media Explorer so that the licenses are transferred. Do not try drag'n'drop with Windows Explorer on porotected files. This is explained in the Help file manual on your CD.
    Also do not use Audible Manager to transfer music files.
    PB

  • CC for students is 14.99 a month or prepaid 180 for a year but only for the first year. Does anyone know how much more it is on the second year

    CC for students is 14.99 a month or prepaid 180 for a year but only for the first year. Does anyone know how much more it is on the second year

    Hello,
    please pass through these libks:
    https://creative.adobe.com/plans?plan=edu >>> Promotional pricing for first year. See terms >>> http://www.adobe.com/offer-terms/edu_puf_promo.edu.html >>> After the first year we will renew your contract automatically for another year at the then-current standard annual price (currently at $359.88), unless you cancel.
    Hans-Günter

  • SQLLDR -- WHEN works only for the first INTO table

    I tries to load 2 table from one data file.
    SQLloader loads only the first table in the control file.
    If I switch the INTO sequence it then load the other table that now its the first in the control file.
    It works fine if I split the control into 2 controls that loads the table from
    the same data file.
    Is this a bug or am I forces to load it as two parts?
    -------------------------- control file ----------------------
    LOAD DATA
    INFILE 'test.xml' "STR '\n<ENDREC/>\n'"
    INTO TABLE MSDESTINATIONXML
    APPEND
    WHEN typeid = "D"
    FIELDS TERMINATED BY '^'
         typeid          FILLER char(1),
         ID          char(255),
         letterid      char(255),
         left           char(2000) TERMINATED BY '\n<ENDROW/>\n')
    INTO TABLE MSLETTERXML
    APPEND
    WHEN typeid <> "D"
    FIELDS TERMINATED BY '^'
         typeid          FILLER char(1),
         ID          char(255),
         bundleid      char(255),
         left           char(4000) TERMINATED BY '\n<ENDROW/>\n',
         right           char(4000) TERMINATED BY '\n<ENDROW/>\n')
    ---------------------------- end control file ----------------------------------

    This happens because of the processing of the form.
    You can see this here:
    LiveCycle ES2 * Adobe LiveCycle Designer ES2
    You have to put a own variable, which is set with the value you want in the very beginning.
    I know, it is not that logical in the first moment, but it makes sense.
    Regards
    Florian
    PS: This space SAP Interactive Forms by Adobe is the correct for questions like that

  • Printing Raise_application_error only for the first one..

    Hi, for each procedure i have a raise_application_error.. But after the first one, each one of the calling procedures print their applicaion error as well. How can I set this up so that only the raise_application_error from the function that's the exception is being raised from?
    Edited by: tolgaek on Jan 17, 2011 10:44 AM

    wonderboy87 wrote:
    Well actually, i'm printing the stack using DBMS_UTILITY.format_error_backtrace appended to my message using raise_application_error,Wrong.
    Therefore I don't need the other calling functions to print theirs,sometimes the stack is so deep that, error message gets cut off where you can't see the most important one.. I just want to make it so that only the first raise_application_error gets printed, which has enough information to debug..Wrong.
    You are mistaken in thinking that turning the error stack into an error text string is valid. A text string is unstructured data. An error stack is structured.
    And despite the fact that you can turn the error stack into a text error message, does not mean that the error stack no longer exists and no longer will be processed (and possibly displayed/printed) by the client that made the call.
    There's also a reason for having an error stack and having a separate error message. The former is for code, debuggers and developers to make sense of - this explains the exact status of the call stack at the time of the error. The latter is the nice-human-readable-message that is for end-users and managers and the like. This explains (or should) the business/logical reason of the error.
    It makes no sense to whack the error stack as text into the error message. What for? How does this make the exception any better to process or understand?

  • Credit management not updated for the first credit blocked order only

    Hi experts,
    Pls help to solve. Thx.
    Case: The first sales order is created against credit block because the credit limit is exceeded. In FD33, no credit data related to the first order indicates, i.e. credit limit used shows zero as well as sales value, credit exposure. In VKM1, the blocked order can be captured.
    As long as the second order is created, the credit management can be updated. But, it still does not capture the data from the first order.
    The sales orders I test have the same delivery date.
    Questions:
    1. Is the standard behavior for the dynamic credit check?
    2. If not, how to make credit management consider the first order data?
    PS. In OVA8, update 000012 is applied while horizon is 4 months.

    Hello Jonathan,
    After testing, I found credit management can consider the first order data if using 000018 only. Why 000012 cannot consider it?
    I have checked the explanation for those two update groups by F4. I feel obscure about the explanation of sales order between them (see below).
    000012:
    Sales order
    Increases open order value from delivery-relevant schedule lines
    000018:
    Sales order
    Increases open delivery value
    By the  way, my testing data as below:
    1. were the two sales orders of the same document type? Answer: yes. Same document type, same customer, same delivery date, etc.
    2. were the item categories the same? if not, was one not relevant for credit check? Answer: Yes, the same.
    3. did the documents have the same value? if the second order had a lower value and was not blocked for credit, the exposure will be updated. Answer: yes, credit management can consider the second order data ONLY. It seems the first order have not been created if checking credit management.

  • JLabel with HTML visible only for the first time

    I've implemented a really simple applet:
    public class TestApplet extends JApplet {
      @Override
      public void init() {
        try {
          SwingUtilities.invokeAndWait(new Runnable() {
            public void run() {
              JPanel topPanel = new JPanel();
              topPanel.setLayout(new BorderLayout());
              getContentPane().add(topPanel);
              JLabel labelHello = new JLabel("<html>Hello World!</html>");
              topPanel.add(labelHello, BorderLayout.NORTH);
              JLabel labelHelloNoHTML = new JLabel("Hello World - without html!");
              topPanel.add(labelHelloNoHTML, BorderLayout.SOUTH);
        } catch (Exception e) {
          System.err.println("Couldn't initialize GUI");
    }And there are two html pages, both having the same applet and a link referring to each other:
    index.html
    <html>
           <head><title>Applet</title></head>
           <body>
                  <div><a href="link.html">Link</a></div>
                  <div>
                        <applet hspace="0" height="375" align="left" width="600" vspace="0" mayscript="" alt="GetJava" codebase="./"
                        code="com.test.TestApplet" name="TestApplet"></applet>         
                  </div>
           </body>
    </html>link.html
    <html>
           <head><title>Applet</title></head>
           <body>
                  <div><a href="index.html">Link</a></div>
                  <div>
                        <applet hspace="0" height="375" align="left" width="600" vspace="0" mayscript="" alt="GetJava" codebase="./"
                        code="com.test.TestApplet" name="TestApplet"></applet>         
                  </div>
           </body>
    </html>Now when I navigate to index.html the applet shows correctly both labels but in case I jump to link.html the applet shows only the second label i.e. Hello World - without html! . This seems to be specific to Java version 1.6.0_21 and 1.6.0_22, it was working properly in 1.6.0_17. Is anyone else experiencing similar issue or am I missing something?
    Edited by: user13135196 on Nov 25, 2010 4:33 AM
    Edited by: Slavek Tecl on 25.11.2010 13:12

    I am having this exact same issue. I have a JLabel with <html> for superscript in my JApplet. The first time I run my applet it displays fine. All subsequent times (refresh the page, or close the tab then open again) the JLabel with <html> doesn't show. This issue does NOT occur in the Eclipse Applet Viewer, but does occur with Google Chrome9 and IE8.
    I spent forever checking my methods and changing things trying to figure out why all the other labels show. Never would have guessed <html> in a JLabel would make it not display. This is terrible bug. Please fix ASAP.

  • Want to process a code only for one datapackage

    I am writing a code in the start routine of an ODS (for BW3.5). However, I want a part of that code to be executed only once even if there are many data packages coming. Meaining it should run only for the first data package.
    Is there a field or a flag where I can check when the first data package arrives ?
    Your inputs will be highly appreciated.

    you need to fallow this procedure.
    Put this code in the infopackage routine. For any one of the field
    tables: TVARVC.
    L_T_RANGE-LOW = 'X'.
    L_T_RANGE-HIGH = <CUBE or DSO NAME>
    L_T_RANGE-SIGN = 'I'.
    L_T_RANGE-OPTION = 'EQ'.
    modify TVARVC FROM L_T_RANGE.
    this logic will put entry in the table TVARVC.
    and put this logic in the start routine.
    IF TVARVC-HIGH = <CUBE> AND TVARVC NE 'X'.
    START ROTUINE.
    ENDIF.

  • Showing data for the first row only

    Oracle Experts ,
    Below is my table in oracle.I wnat show Company ID only for the first row of each company. Table 2 is my output .
    Company Country Company ID
    BARCALAYS UK 1
    BARCALAYS USA 1
    BARCALAYS Australia 1
    Kingfisher UK 2
    Kingfisher INDIA 2
    Kingfisher INDIA 2
    Output Table 2 :
    Company Country Company ID
    BARCALAYS UK 1
    BARCALAYS USA Null
    BARCALAYS Australia Null
    Kingfisher UK 2
    Kingfisher INDIA Null
    Kingfisher INDIA Null
    Please give me a sql query.
    Many thanks in advance .
    Regards,
    Dirasa

    based on if a particular country is appearing twice for the same company and company_id wether to show the company_id for that country or not you may use any of the below queries :)
    /* Will show compan_ID twice if the country is repeated */
      with x as (
          select 'Foo' company_name, 'UK' country, 1 company_id from dual
          union all
          select 'Foo', 'USA', 1 from dual
          union ALL
           select 'Foo', 'USA', 1 from dual
           UNION ALL
          select 'Foo', 'AUS', 1 from dual
          union ALL
        select 'Foo', 'AUS', 1 from dual
          union all     
          select 'Bar', 'UK', 2 from dual
          union all
         select 'Bar', 'USA', 2 from dual
         union all
         select 'Bar', 'India', 2 from dual
    SELECT company_name,country,CASE WHEN rn=1 THEN company_id ELSE NULL END company_id
       FROM (SELECT
       company_name,company_id,country,rank()over(PARTITION BY company_name,company_id ORDER BY country) rn
        FROM x)
    /* Will NOT show compan_ID twice even if the country is repeated */   
      with x as (
          select 'Foo' company_name, 'UK' country, 1 company_id from dual
          union all
          select 'Foo', 'USA', 1 from dual
          union all
          select 'Foo', 'AUS', 1 from dual
          union ALL
        select 'Foo', 'AUS', 1 from dual
          union all     
                 select 'Foo', 'USA', 1 from dual
           UNION ALL
          select 'Bar', 'UK', 2 from dual
          union all
         select 'Bar', 'USA', 2 from dual
         union all
         select 'Bar', 'India', 2 from dual
    SELECT company_name,country,CASE WHEN rn=1 THEN company_id ELSE NULL END company_id
       FROM (SELECT
       company_name,company_id,country,row_number()over(PARTITION BY company_name,company_id ORDER BY country) rn
        FROM x)
    /* Will show compan_ID twice if the country is repeated */
      with x as (
          select 'Foo' company_name, 'UK' country, 1 company_id from dual
          union all
          select 'Foo', 'USA', 1 from dual
          union ALL
           select 'Foo', 'USA', 1 from dual
           UNION ALL     
          select 'Foo', 'AUS', 1 from dual
          union ALL
        select 'Foo', 'AUS', 1 from dual
          union all     
          select 'Bar', 'UK', 2 from dual
          union all
         select 'Bar', 'USA', 2 from dual
         union all
         select 'Bar', 'India', 2 from dual
    SELECT company_name,country,CASE WHEN rn=1 THEN company_id ELSE NULL END company_id
       FROM (SELECT
       company_name,company_id,country,dense_rank()over(PARTITION BY company_name,company_id ORDER BY country) rn
        FROM x)
                    Cheers!!!
    Bhushan

  • My Effect preset only animates for the first 5 seconds....

    Greetings-
    (After Effects CS5, Mac OSX)
    I have a comp that is two minutes long. I dropped a preset effect ("Indigestion", in this case, but others produce the same result as well) onto a solid layer. The effect will animate for the first five seconds only, after that it remains static. There appears to be keyframe markers between the zero and five second mark. Why doesn't it animate for the entire duration of the clip? And, why does it decide to place keyframe markers at these points?
    Thanks-

    An effect preset simply adds keyframe and expressions to your layer. If you want the effect to last longer adjust the position of the keyframes.
    These are basic concepts. Are you new to AE? If so please go through the Getting Started documents found here.

  • CoCreateInstance returns 0x8007007e (Module could not be found) for the first call only at system startup on Windows 2008 Enterprise SP2

    Hi Guys,
    I'm experiencing a problem with CoCreateInstance, where it returns error 0x8007007e.
    The code is something like this:
    HRESULT hRes = S_OK;
    CComPtr<IMyInterface> spObj;
    if(FAILED(CoInitialize(NULL))) { /* quit */ }while(FAILED(hRes = spObj.CoCreateInstance(CLDIS_MyClass, NULL, CLSCTX_LOCAL_SERVER)))
    // LogFailure(hRes);
    Sleep(10);
    The problems occurs only on a single machine having Windows 2008 Enterprise SP2 installed (it works fine on other machines / OS versions). It happens only during the system startup (this is a Windows Service) and only for the first call of the CoCreateInstance.
    The second call always succeeds.
    The problem does not occurr when starting the service manually from Services.
    I did some investigation using Process Monitor and found that the HKCR\CLSID\[CLSID of MyClass]\LocalServer32!LocalServer32 registry value is accessed before the failure. The registry value exists - it is added by the Windows Installer during
    installation.
    If I remove the registry value then the CoCreateInstance always succeeds.
    I've been trying to lookup for some documentation on HKCR\CLSID\...\LocalServer32!LocalServer32 but haven't found anything useful other than it's a "Windows Installer Entrypoint". I assume that the Windows Installer does some integrity checks when
    calling CoCreateInstance for such class and this fails for some reason but currently I fail to find the reason.
    Can anyone help finding out what's the root cause of the 0x8007007e error here, please? Any help or tip is much appreciated.
    Many thanks!
    Marcin.

    Hi Marcin,
    This forum is mainly for talk about the product use related issue and not the best place to talk about the develop issue, for the develop issue we can post in MSDN forum for
    the further help and your issue may need capture a dump then for the further analysis it is not an efficient way to work in this community since we may need more resources which is not appropriate to handle in the community. I‘d like to suggest that you submit
    a service request to MS Professional tech support service so that a dedicated Support Professional can further assist with this request.
    MSDN forum
    https://social.msdn.microsoft.com/Forums/en-US/home
    Please visit the below link to see the various paid support options that are available to better meet your needs.
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Thanks for your understanding and support.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Restrict window only on the first page of smartform

    Hi guys
    Please tell me how to restrict the window so that it doesn't appear on the second page. it should appear only on first page.
    I have check the additional events of the window. Even after that its appearing on second page .. how to restrict

    Hi,
    You can do the following thing to restrict the window in the next page.
    1. Copy the first page with all the windows to PAGE2.
    2. Delete the window whihc u don't require in the 2nd or any next page (PAGE2).
    3. Assign 'Next Page' field value as % PAGE2  for PAGE1 & PAGE2 under the General attributes Tab.
    These steps will help you retain a window only for the First page.
    Asha

Maybe you are looking for

  • InDesign Palettes not working

    Hello fellow graphic junkies, I have a big problem. I am using Adobe InDesign CS5 on windows 7 and have been using it just fine for a long time now. Just today it started having problems. When I open a file everything looks correct and works fine, un

  • Short text of service entry sheet in accounting document

    Hi All I want shor text (ESSR - TXZ01) of service entry sheet to get populated in the text field(BSEG - SGTXT) of corresponding accounting document of service entry sheet created against GR document. Please suggest how  can I achieve the same.Is ther

  • CS5.5 ePUB: TOC Marker problems

    Hi all Got a problem with some ePUBs I'm exporting out of CS5.5 (7.5.3). I use the TOC Style feature to generate the navigational menu, which it does, but I had some issues with jumping straight to articles in iBooks. Also I was getting some validati

  • Pagenumber display in report out put..

    Hi all, what are the system variables to dispay report output with <b>pagenumber / total number of pages</b>. my output format is like <b>1/3 2/3 3/3</b>... thanks and regards. Rupa.

  • Report won't run for mimetype=application/vnd.ms-excel

    Hi, My customers need to run reports in excel and type in parameters into the parameter from. The URL is: http://myServer/dev60cgi/rwcgi60?xyz+server=Repserv+report=rptName.rdf+destype=cache+paramform=yes+desformat=delimited+mimetype=application/vnd.