Problem in putting the query condition for negative stocks.............

Hi,
I am applying condition to display negative stocks.
Situation is like In the columns , I have key figure stock quantity and stock status(QI , blocked etc)
Accordning to the stock status column is created and all the materials are displayed for that status.
I have put condition on stock quantity to display only the negative stocks.
The result of the report is ok but in one case it is displaying stock qnty 1(positive stock) as well as the negative qnty for that material for different QI status.
I am not able to understant why this positive value is getting displayed in the report when I have put the condition , stock < 0 .
It is happening for only one material whose batch number is same and storage location is also same. But positive value is surpirsing me.
Please let me know if somebody has solution or idea how to solve this situation.
Thanks,
Jeetu

Please dont repost. it saves time for everyone

Similar Messages

  • How to define the query condition of Image Theme in MapBuilder?

    Hi,
    I'm trying to add an dynamic Image Theme in OracleMap, but there's a problem.I defined the query condition of Image Theme like this:
    select scanimage,shap from image where scanimgid=467
    The shap column is the MBR column
    And the XML CODE:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules theme_type="image" image_column="SCANIMAGE" image_format="JPEG" image_unit="M" image_resolution="1.0">
    <rule>
    <features> select scanimage,shap from image where scanimgid=467 </features>
    </rule>
    </styling_rules>
    When i preview this Image Theme ,there is an ORA-00936 error means lack of expression.
    Is there any problem with my definition?Or can query an image from an Image Theme?
    Thanks a lot for your help!
    Message was edited by:
    N.Mars
    null

    Hi Mars,
    predefined image theme definition does not support a "select" statement in the <features> tag. You should just define a query condition in the <features> tag.
    It seems that you are trying to use an image theme in Oracle Maps, but it currently does not support a FOI image theme. You should add a predefined image theme as part of the basemap, and maybe add scales values to set the visibility range of this image theme.
    Joao

  • Problem to get ResultSet when it is used a Date type in the query condition

    hello ,
    I having a bit of nightmare getting a ResultSet how result of one simple Query for a table when the condition WHERE involve a Date type.
    To change the String value in a date to use in the query condition, I tried both:
    String strDate = "dd/mm/yyyy";
    (1.) java.sql.Date sqlDate = new java.sql.Date(strDate.getTime() )
    (2.) SimpleDateFormat formatter = new SimpleDateFormat(strDate) ; sqlDate = formatter.parse(strDate);
    and finally I use this code to get the ResultSet:
    sql = "SELECT * FROM myTable Where (idCli = " + cd_Cli + " And dateReg = " + sqlDate + ")";
    statement = connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    resultSet = statement.executeQuery(sql);
    boolean ok = resultSet.last();
    totNumberOfRegistration = resultSet.getRow();
    But In both the cases I get a empty resultSet.
    I shoul like if someone would look my code to say me where it is the mistake...
    thank you
    tonyMrsangelo
    P.S. I tryed using PrepareStatement too to get the ResultSet, but in that case I couldn't use the ResultSet because executing the statement resultSet.last() I get the error: "Result set type is TYPE_FORWARD_ONLY"

    In a database like Oracle, you need to use a function like TO_DATE; other databases may have something similar.
    However, the proper way to do this is to use a PreparedStatement. Then you can say
    PreparedStatement ps = conn.prepareStatement("update SOMETABLE set SOME_DATE=? where SOME_ID=?");
    ps.setDate(1, new java.sql.Date(someJavaUtilDate.getTime()));
    ps.setInt(2, theId);
    ps.executeUpdate();

  • Publishing server doesn't work - error 'The request URL doesn't contain the query string for the client OS'

    Hi,
    I'm trying to setup an App-V environment in my lab.
    I've used the App-V 5.0 Trial guide to help me configure all necessary components.
    I'm able to install everything without error.
    when come time to publish an app, it simply doesn't show up on my client.
    after looking at events on the client and server, I found that the Publishing server is returning under Admin the following message.
    'The request URL doesn't contain the query string for the client OS'
    My setup is pretty simple.
    App-V Server managament and Publishing on the same box
    App-V database on my SQL server.
    I'm able to see the publishing "webpage" by using http:://localhost:889.
    It only display this :
    -<Publishing Protocol="1.0"
    <Packages />
    </Publishing>
    I've published one app from the management console.
    any idea what could mean this error?
    thanks

    Hi,
    thanks for the link.
    I've validated the suggested debug steps. It seems that the problem is with my Publish server again.
    I've looked in the web.config file. It seems to be missing some parts compare to the example provided.
    Again, I've published an application from the management console. Management and Publishing are running on the same box, while SQL is remote.
    Here's the web.config
    <?xml version="1.0" ?>
    - <configuration>
    - <system.web>
    <compilation debug="false" targetFramework="4.0" />
    <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" />
    - <authentication>
    - <!-- We don't support form authentication, but this will supress x-ray security warning
    -->
    <forms requireSSL="true" />
    </authentication>
    </system.web>
    - <system.webServer>
    - <modules runAllManagedModulesForAllRequests="true">
    <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </modules>
    - <security>
    - <requestFiltering>
    - <verbs>
    <remove verb="GET" />
    <add verb="GET" allowed="true" />
    </verbs>
    </requestFiltering>
    </security>
    </system.webServer>
    - <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    + <behaviors>
    - <serviceBehaviors>
    - <behavior name="">
    <serviceAuthorization impersonateCallerForAllOperations="true" />
    <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    - <bindings>
    - <webHttpBinding>
    - <binding name="SecureBinding">
    - <security mode="Transport">
    <transport clientCredentialType="Windows" />
    </security>
    </binding>
    <binding name="UnsecureBinding" />
    </webHttpBinding>
    </bindings>
    - <protocolMapping>
    <add scheme="http" binding="webHttpBinding" bindingConfiguration="UnsecureBinding" />
    <add scheme="https" binding="webHttpBinding" bindingConfiguration="SecureBinding" />
    </protocolMapping>
    - <standardEndpoints>
    - <webHttpEndpoint>
    - <!--
    Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
    via the attributes on the <standardEndpoint> element below
    -->
    <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" />
    </webHttpEndpoint>
    </standardEndpoints>
    </system.serviceModel>
    </configuration>

  • Uploading a text file from webi filter area as part of the query condition

    Post Author: balasura
    CA Forum: Publishing
    Requirement : Uploading a text file from webi filter area as part of the query condition Hi, I am in a serious requirement which I am not sure available in BO XI. Can some one help me plz. I am using BO XI R2, webi I am generating a ad-hoc report, when I want to give a filter condition for a report, the condition should be uploaded from a .txt file. In the current scenario we have LOV, but LOV could hold only a small number of value, my requirement is just like a lov but the list of values will be available in a text file ( which could number to 2000 or 2500 rows). I would like to upload this 2500 values in the form of a flat text file to make a query and genrate report. Is it possible in BO XI? For Eg:- Select * from Shipment Where u201CShipment id = u2018SC4539u2019 or Shipment id = u2018SC4598u2019u201D The u201Cwhereu201D condition (filter) which has shipment id will be available in a text file and it needs to be loaded in the form of .txt file so that it will be part of the filter condition. Content of a .txt file could be this shipment.txt =============== SC4539 sc2034 SC2343 SC3892 . . . . etc upto 2500 shipment Ids I will be very glad if some could provide me a solution. Thanks in advance. - Bala

    Hi Ron,
       This User does not have the access to Tcode ST01.
       The user executed Tcode SU53 immediately following the authorization failure to see the authorization objects. The 'Authorization obj' is blank and under the Description it has 'The last Authorization check was successful' with green tick mark.
      Any further suggestions, PLEASE.
    Thanks.

  • Problem of putting the label in the middle.

    I am having a problem of putting the label in the middle.
    below are my codes.
    import java.awt.*;
    import java.applet.Applet;
    public class glay1 extends Applet{
    public void init(){
    Button button1;
    TextField textfield1;
    button1 = new Button("Set fuel Price(p)");
    textfield1 = new TextField(" ");
    Label label1, label2, label3, label4;
    label1 = new Label("pump1", Label.CENTER);
    label1.setBackground(Color.white);
    label2 = new Label("pump2", Label.CENTER);
    label2.setBackground(Color.white);
    label3 = new Label("pump3", Label.CENTER);
    label3.setBackground(Color.lightGray);
    label4 = new Label("pump4", Label.CENTER);
    label4.setBackground(Color.lightGray);
    Panel pc = new Panel();
    Panel ps = new Panel();
    setLayout(new BorderLayout());
    setBackground(Color.black);
    pc.setLayout(new GridLayout(2,2,220,50));
    pc.add(label1);
    pc.add(label2);
    pc.add(label3);
    pc.add(label4);
    ps.add(button1);
    ps.add(textfield1);
    add("South", ps);
    add("Center", pc);
    My problem is the label all are put on each corner.
    How to put the label to the middle?
    but I don't want the label to join one another,
    just put them more to the middle only.

    btw, I haven't actually used GridLayout myself but wouldn't it work for you to use the methods setHgap(int hgap) and setVgap(int vgap)?
    With GridBagLayout you can add components of varying sizes and you can easily position them on the grid. Look at this example, adding components to a JPanel called resultsPanel:
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,0,1,1,5,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,1,1,1,1,1);
              FrameTools.addComponent(resultsPanel,resultFileLabel,c,gridbag,1,1,1,1,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,2,1,1,1,1,1);
              FrameTools.addComponent(resultsPanel,loadResultFileButton,c,gridbag,3,1,0,0,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,4,1,1,1,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,2,1,1,5,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,3,1,1,1,1);
              FrameTools.addComponent(resultsPanel,linkerFileLabel,c,gridbag,1,3,1,1,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,2,3,1,1,1,1);
              FrameTools.addComponent(resultsPanel,linkerButton,c,gridbag,3,3,0,0,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,4,3,1,1,1,1);
              FrameTools.addComponent(resultsPanel,new JLabel(" "),c,gridbag,0,4,1,1,5,1);
                   The addComponent(...) method looks like this:
         public static void addComponent(Container target, JComponent comp, GridBagConstraints c, GridBagLayout g, int x, int y, int wx, int wy, int w, int h)
                  c.fill = GridBagConstraints.BOTH;
                  c.gridx = x;
                  c.gridy = y;
                  c.weightx = wx;
                  c.weighty = wy;
                  c.gridwidth = w;
                  c.gridheight = h;
                  g.setConstraints(comp, c);
                  target.add(comp);
           }     x and y specifies the position of the component and w and h the size of it. But really, read the tutorials!
    /P

  • HT5622 I think my granddaughter bought a $3.99 app after I put the password in for a free app.  How can I find out what she purchased?  Can I get credit for it?  I just got an email from my credit card confirming the purchase.

    I think my granddaughter bought a $3.99 app after I put the password in for a free app.  I just got an email from my credit card confirming the purchase.  How can I find out what she purchased?  Can I get credit for it? 

    The password is good for 15 minutes to make purchases. You should receive a receipt in 24 to 48 hours for the purchases. There is a link to Report an issue. You could use that to start a conversation with iTunes Support about a refund.
    Apple considers all sales final. But has been known to offer a one time refund. So the question is, do you want to use your one time refund on this purchase or one more expensive in the future?

  • I can not do the update , what should I do to fix this error ? "There was a problem with downloading the file . For tips on troubleshooting , please go to Customer Support . ( Error code : 204 ) ." thanks

    I can not do the update , what should I do to fix this error ?
    "There was a problem with downloading the file . For tips on troubleshooting , please go to Customer Support . ( Error code : 204 ) ." thanks

    Hi,
    Please refer to the help document below:
    Error downloading, installing, or updating Creative Cloud applications
    Regards,
    Sheena

  • Editing the Query name for all reports in PRD.

    Dear All,
    I have created 25 reports using Query Designer.We have moved all the reports to BI Production. And Clients are using these reports using the Tool Bex Analyser.
    Every time they are navigating through open Query -> Info Areas -> Data targets and Query.
    Instead of going this way, is there any other way to Open a query easily.
    And they wants to modify the Report name and the Technical name for all the reports. Can we able to edit the Query name for all reports, or do i need to go for SAVE AS for all querys.
    Pls Suggest.
    Thanks,
    Ram

    Hi Ram,
    1. For the first question; if it user specific query then ask the users to save them at the FAVORITES so that there is no need to go to the dataprovider specific.
    Or they can create the reports as favorites user menu screen of that particular user.
    2. In order to change the technical name and description of the queries goto RSZC t-code> give the source and target infoprovider as same> select queries>click on the reports>click on transfer selections-->
    Then you get a screen to change the description and technical name.
    But this is pertained to Infoprovider level.
    You can see all the reports on the infoprovider (cube/ods).
    Hope you understood.
    Regards,
    Ravi Kanth

  • Where to put the url endpoint for changing between enviroments?

    Hello,
    I have created a few jax-ws clients. I am now in development stage, but in the future I will want to put them in preproduction enviroment. where is the best place to put the service urls for calling it and changing in an easy way?
    I came from dot net world, I am used to a web.config file which I can change in hot, does java have something like that?
    Thanks in advance.

    If you are using Spring then these will be helpful to you-
    [http://blog.vinodsingh.com/2008/11/environment-specific-property-with.html|http://blog.vinodsingh.com/2008/11/environment-specific-property-with.html]
    [http://blog.vinodsingh.com/2008/05/webservice-endpoint.html|http://blog.vinodsingh.com/2008/05/webservice-endpoint.html]
    if not then you can devise some thing similar.

  • How do i put the new icons for iworks on the toolbar

    how do i put the new icons for iworks on the toolbar

    I think you must mean the Dock (at the bottom of the screen typically).  You should be able to simply drag them from the Applications Folder to the Dock- same as anything else.
    I don't think they can be put in the Toolbar (which is on top of the screen).

  • I have to send large files like 5MB or biger via mobile phone, but in that cases phone is telling mi to plug in power. And when I do that, there is no problem to send the file. For smaller files there is no problem. How can I solve the problem? Because wh

    I have to send large files like 5MB or biger via mobile phone, but in that cases phone is telling mi to plug in power. And when I do that, there is no problem to send the file. For smaller files there is no problem. How can I solve the problem? Because when I'm not at home I can't plug in the power.

    hi,
    I am sending file from server to client i.e client will request for a file and service will send it back....... no socket connection is there...I am using JBOSS and apache axis.
    pls help me out.....
    Rashi

  • HT4199 where do I put the micro sim for the iPad, dosent seem to be any where to insert the card

    Where do I put the micro sim for the iPad , I cant find any where to put the card.

    What model is your iPad? (iPad, iPad 2 or New iPad). Did you get the AT&T or Verizon model? If you got the Verizon model, it doesn't have a SIM slot.

  • I am so confused. I am thinking about buying an iPhone 4S but I want to use those card things that you can put the code in for the phone is this possible? I'm not talking about the 50$ unlimited card just the regular 20$ cards that hold mins and texts...

    I am so confused. I am thinking about buying an iPhone 4S but I want to use those card things that you can put the code in for the phone is this possible? I'm not talking about the 50$ unlimited card just the regular 20$ cards that hold mins and texts... As long as it has the support for the service it's hooked up to?

    As far as I know there is no US cell carrier that allows pay as you go with an iPhone. You can purchase an unlocked iPhone 4S at an Apple Store and try it with a non-supported carrier.

  • I keep putting the code in for a i tunes card and it keeps telling me the card has been redeemed but i cant see any money on my account

    i keep putting the code in for a i tunes card and it keeps telling me the card has been redeemed but i cant see any money on my account

    The receipt usually takes more time to receive. I got my receipt from about 7:00pm yesterday at about 10:00pm today.

Maybe you are looking for

  • IPhoto closes unexpectedly every time I try to open a calendar

    I created a calendar, but I when I tried to go back in and finish it, iPhoto closes. I tried freeing up some space (which shouldn't have been an issue) and it continued to close on me. It happens as soon as I click on the calendar in the library. Any

  • Another "Can't get PHP to start" question

    First: machine = Dual 2.7 GHz PowerPC G5 OS = 10.5.1 I have followed the instructions about editing the httpd.conf and PHP still just shows the source code rather than the web page. One thing I don't understand is that the httpd.conf refers to LoadMo

  • Transformation Layer

    Hello. I'm new there and this is my first thread. I looked in many places but I didn't find solution. I have some problem with transformation GoogleMaps layer. After added MVGoogleMapsLayer to MapViewer I take popup alert [MVMapView.transformGeom] MA

  • Flex 2-15 hibernation stuck

    Brand new (2weeks) unit. Closed last night. This am it was stuck in hibernation. Slow blink on on off button. No light on charge indicator light plugged in or not.  Hold power key does nothing. Keyboard keys no effect. Seems stuck in sleep/hibernatio

  • Ability to CC someone on Eloqua Email, Engage Email

    Hello Fellow Eloquans! I recently received an email from one of the Marketing Users at my organization regarding CC-ing someone on an email that's coming from Eloqua.  Upon doing some research, I've seen several other posts on the topic and wanted to