GR value is less than PO value

Hi,
PO has been created for  150000 l qty and gross price is 31.81. GR made for 21202 qty amount is 671034 but manual calculation it is 674435.
3000 rs price difference is their.
How find find the difference

Hi,
21202*31.81 is 674435.62 only and there seems to be no issue.
However, for differences, in general, possible reasons are as follows.
1. discount condition may be there.
2. Rate may be mentioned per 100 nos (for example) and not per 1 no in the PO.
Please clarify if you mean to say some other issue.
Regards,
Siva

Similar Messages

  • In Adobe Acrobat XI Pro, how do I validate a form field so that it's numerical value is less than or

    I have one numerical field named "B," and I need to validate it so that it is less than or equal to the value of another field named "A." I can't figure out how to do that!

    OK, so the custom calculate script for field B could be something like:
    (function () {
        // Get field values as strings
        var sA = getField("A").valueAsString;
        var sC = getField("C").valueAsString;
        var sD = getField("D").valueAsString;
        // Only perform the calculation if all fields are filled
        if (sA && sC && sD) {
            var sum = +sC + sD;
            event.value = sum;
            // Alert the user if the sum is more than A
            if (sum > +sA) {
                app.alert("Error message goes here");
        } else {
            // Blank this field if all fields are not filled in
            event.value = "";
    Instead of (or in addition to) an app.alert popup, you could place this message in a read-only form field, and clear it if there is no error condition.

  • Java.sql.SQLException: Invalid precision value. Cannot be less than zero

    Hi,
    In my portlet application have several jsf tables which bind to several oracle tables. I have tested the portlet in pluto and tried to deploy it on liferay. However, I get an exception stating:
    java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    What could this exception mean? Has anyone else encountered this?
    Marc
    P.S. The trace is shown below:
    Feb 6, 2007 12:34:56 AM org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.RuntimeException: java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(Cach
    edRowSetDataProvider.java:343)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(Ca
    chedRowSetDataProvider.java:300)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(Cache
    dRowSetDataProvider.java:624)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.
    java:806)
    at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableR
    owGroup.java:429)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowCount(TableRowGroup
    .java:749)
    at com.sun.rave.web.ui.component.Table.getRowCount(Table.java:307)
    at com.sun.rave.web.ui.renderer.TableRenderer.renderTitle(TableRenderer.
    java:400)
    at com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(TableRenderer.
    java:123)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav
    a:683)

    I've dug deeper into this problem and am able reproduce the error in the Pluto server. To reproduce this error, I modified my Oracle jdbc driver from the JSC embedded driver (smoracle.jar) to the Oracle native driver (ojdbc14.jar). Now, I am getting the exception in my Sun Application Server:
    What is the difference between ojdbc14.jar and smoracle.jar that could cause this problem? What can I do so that I can fix this problem for ojdbc14.jar?
    Thanks,
    Marc
    P.S.
    The problem is with the clob column (DOR_NOTE_TX). The stack trace is:
    [#|2007-02-06T09:00:53.663-0800|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=16;|
    Reader executing query ps=0 SELECT DOR_NOTE_DT, DOR_NOTE_TX FROM DOR.DOR_NOTE_DATA WHERE DOR_NOTE_CD='SECURITY' AND TO_CHAR(DOR_Note_Dt, 'mm/dd/yyyy') = '02/05/2007'
    No Params|#]
    [#|2007-02-06T09:00:53.679-0800|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=16;|
    java.sql.SQLException: Invalid precision value. Cannot be less than zero
    Message was edited by:
    marcnikko

  • Can I set the value of kernel paramaters less than default in Solaris 10?

    Can I set the value of kernel paramaters less than default in Solaris 10? If specified less than default values for kernel parameters in /etc/system, system is getting default values for such as SHMMAX, SEMMSL, SEMOPM. Is the default kernel parameter values the minimum values in Solaris 10?
    -Yong

    Yes, but not through /etc/system.
    /etc/system is the old way to do it. As a backward compatibility, it will allow lines there to increase parameters but not decrease them. This is on the theory that many memory defaults were significantly increased, and older /etc/system setups were trying to increase small defaults, not decrease large ones).
    Use prctl and set up a project.
    Darren

  • Asset Value less than 5%

    Dear All,
    we want the list of all assets whose value is less than or equal to 5% in the respective fiscal year,so that we can scrap those assets.
    Is there any SAP Stand report/program available for our requirement,if so suggest.
    If not,suggest any other work around like Query,Report Painter,etc  with details steps("Z" report,my client is not interested).
    Do revert
    Regards,

    .Hi,
    Easier way is to execute the report S_ALR_87011963, download the data into excel and filter less than 5 or 10 percent value assets thru a formula.
    Another option available is to use an additional field for computing NBV and call that field in the query.
    Net Book Value = KANSW + KNAFA + NAFAG
    Best Regards,
    Madhu
    Edited by: Madhusoodanan Ramachandran on Apr 30, 2010 3:31 PM

  • 1.5 Edit Table Partitions - Can not edit Values Less than Field

    When editing (or more importantly to me) creating new partitions through the GUI. This slao was an issue w/1.2.1 that I recently discovered, I was hoping that it would have gotten fixed in 1.5

    Just to confirm this is only a problem when editing a table? It seems fine when creating a table from scratch.
    The field is disabled when editing an existing partition because there isn't (as far as I can tell) an ALTER TABLE clause for changing the less than value of a range partition.
    It's a bug that when you create a new partition, while editing a table, the field is still disabled. I'll log it now.

  • Form has missing values when the database sourced column is less than 0

    Hello,
    I have Apex 4.0. I am making a very simiple form on a table with lots of number columns. When I go into the form linked from a report, it pulls all of the values in from the table for a certain row except for the numbers that are less than 1. Very strange.
    Any ideas?
    Thanks,
    Mark

    Joe Upshaw wrote:
    No, there is, for sure, no such restriction, Mark. To convince yourself of this, just manually add a Page Item to your form. Set "Display As" to number field and set the default to -999. It will display -999.
    Could it be a mismatch between the data type of your source SELECT and the "Display As" on the form field? On the main report, what is the data type for the corresponding column?
    On the field, is the Source Type "Database Column" and is the "Source value or expression" set to the correct, corresponding column name?Also
    When I go into the form linked from a report, it pulls all of the values in from the tableHow does this happen?
    Any other processes run on page rendering?
    Any Post Calculation Computations or Format Masks used on the form items?

  • System reboots with audigy2 value. get irql less than or not equil. please help new c

    hello my name is carlos
    my system reboots at random (more in games) with audigy 2 value..
    could someone please advise me on the problem i have with my new audigy 2 card. i would like to get it working and not have to get another card. i got this one because my onboard sound is so junky with midi music and has a poor s/n on recording. the blaster card seems to meet my expectations except for the reboots.
    i have read on forums about this same issue with ati video cards in the 9200+ range so i thought that might be the cause but i went back to the onboard audio and the problem went away.
    at random my system reboots. i get an error.. irql_not less than or equil or something like that and then it reboots. i let it submit to microsoft and they only say its a problem with a device driver. i have all the updated drivers for all my hardware at this point. i have all the windows updates as well. my xp is legal. i dont think its the power supply but.. could it be? the readings with my digital meter are normal. i have an older but quality digital multi tester. got it when in college. so i know its accurate. it reads 4.9 on 5 and 2.2 on 2. all this info because of the information i have read already. is the audigy a power hungry card? cause i dont get any reboots when i use the onboard sound and my ati video so what ever is going on it has something to do with the sound card.
    i cant find a newer driver on the driver site for it except for the beta. so i assume there is no updated driver for the card.
    i have a ups backup system. it has come on but it has never caused a computer hang when it has. its a 250 watt unit with plenty of battery backup. same battery backs up my ham radio equip. i am going to reinstall the card and see if in some chance it is munipulating the waveform to the supply. the power to the machine reads 22 volts.
    i have had some issues with the power company recently. they had to do some major repairs because i was having problems with flickers. but they fixed... [Show more]

    thank you for your reply to my problem.
    sorry i missed that detail in my information. that is one of the things i checked. video is on 6 and audio is on 7. i dont see any other devices sharing those irqs in the device manager irq information. or any other devices on same irqs or i/o
    before anyone mentions it i also have 3 fans sucking air. my case is actually an old server case with lots of vent holes in front and side. i was thinking of getting some of the slot fans and blowing on video and sound card. could this be the issue? the monitor app says my sytem temp is 82 degrees. 27 on processor.
    i appreaciate the input. i ran it all night last night with nero media player running with visulations on. the music was still playing but the video was locked up when i checked it this morning? nothing but mushrooms on my screen from the visulation. i dont know if something happened with nero (most likely this time) but thats the first time that error came up. the odd thing about this really is that it may go for hours and not do this but it seems to do it more when we play demanding games. i ran the machine yesterday for hours on my inverter (ups system) from the batteries with no problem. its output is just a little hotter than my house voltage 27 volts and my line volatage is about 9. but it may reboot before i get this post completed. it ran without problem for 7 hours with all the major games i have until the batteries ran down. (two high capacity 2 volt deep cycles on the outside deck)its really odd. its almost at random. at this point i suspect that i have a power supply problem of some sort. im gonna get a new supply by friday and see if that hel
    ps.
    i have to wonder who makes the best supply? anyone have any sujestions? perhaps whats really causing this is the capacitors in the supply cant sustain a clean output with the shaky power supplied by aep at my home. aep says that they fixed the problem but i still see flickers. i dont have any problems with the power on anything else in my home. im a little particular. lights that flicker bug me. its not a serious flicker just a slight diming that i have tried to catch with a dvm meter and cant. i have a 350 watts supply but its probably not the best made supply out there. i bought it at a local place that sells off brand computer parts. my fault i guess.. i've had it for maybe 3 years. i had a supply go bad back then and ruin a hard dri've on me. im bad for giving more info than needed but im just a yacker. thanks for the help..

  • Store value less than current week and year.

    Hi All,
    I have a table called BACKLOG whose structure is like this
    ITEM_NUMBER   YEAR_WEEK   MS
    1N58          2012-WK02   01/15/2012
    1N58          2011-WK02   01/15/2011current from my procedure i am storing the value in my new table which is less than current week. But i want to store the value less than current week and current year. Please help me to get how i can do this.
    PROCEDURE BACKLOG_PROC_LT_CW IS
      BEGIN
    DELETE BACKLOG_LT_CW;
    COMMIT;
          INSERT INTO BACKLOG_LT_CW
            SELECT
                  DC_UTIL.GEN_YEAR_WEEK(MS) YEAR_WEEK,
                  ITEM_NUMBER,
                  MSD
                  FROM BACKLOG
              where to_char(MS, 'IW')<to_char(sysdate, 'IW');
      END BACKLOG_PROC_LT_CW;Currently with the above procedure code both the value is storing in my BACKLOG_LT_CW table but if you see the data of BACKLOG table you will find YEAR_WEEk 2012-WK02 falls in next year but still it is storing in my table because i have taken IW only. Please help me to get the soln
    Thanks in advance
    Regards

    Are you looking for this?
    where to_char(MS, 'YYYYIW')<to_char(sysdate, 'YYYYIW');

  • Net value less than COGS

    Hi Gurus
    Please let me know, if there is anyway apart from using an exit, where we can get an alert if the net value of the order is less than the VPRS
    Anurag

    Dear Friend
    This can be achieved in standard itself
    For VPRS condition type maintain subtotal as B and requirement 4 and alternate calculation type as 5 in your pricing procedure and with these settings if nett value is less than VPRS then a warning message will come and even if you save it will tell that that the document is incomplete and you may not be able to create the delivery etc
    This should satisfy your requirement
    If you look at the standard pricing procedure RVAA01 in that VPRS comes with subtotal as B and requirement 4 and we have to add alternate calculation type as 5 to get our requirement in that
    Regards
    Raja

  • Set the values less than the value prompted

    Hi Every one,
    I have a requirement where the report will be navigating to other report.
    example: I have a report A and when I click on the any value in date column it navigate to other report by filtering the data by the date we clicked to navigate.
    Here my question is, it is filtering the navigated report by the date we selected. but I want it filter the dates equal to or less than the date we selected
    like if I click on date 11/7/2011 it should navigate to the report B and in report B the data should show data for the dates equal to or less than 11/7/2011
    is there any way to set this. because i can see only is prompted that we set for this requirement.
    Thanks in Advance.
    Edited by: 861096 on Nov 11, 2011 9:01 AM

    Hi ,
    While creating the prompt give the presentation varible.
    So when you will select the value for the Report A say ex :11/7/2011 it will be catched by the presentation variable.
    In your second report use this presentation variable as a filter condition where date < = presentation variable.
    It will work for you .
    Thanks,
    Ananth

  • If less than replace with no value or zero

    I'm trying to use the diadem calculator to create the equivalent of a 'if less than 4.0 replace with no value or 0' for the complete cell count of a named channel . Either create a new channel for the result or replace the old values
    thanks
    AdeK 

    Hi Adek,
    Twigeater is absolutely right, as always, and he's pointed you to the most recent and syntax-friendly option available in DIAdem 11.0 and later.
    If you are using an older version of DIAdem, or if you're manipulating very large channels, I'd recommend using the old "FormulaCalc()" function, which is faster for numeric channels and has a boolean construction that automatically resolves to 0 or 1, corresponding nicely to what you want.  Here's the code:
    R1 = 0.2L1 = CNo("Noise data/Noise_1")Call FormulaCalc("Ch(L1):= (Ch(L1)>R1)")Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to get value less than 0 = 0

    I am trying to get a formula to do two operation in one field something like:
    form1.#subform[0].yes1.qn1::calculate - (JavaScript, client)
    (p1-s1)
    then if the value is less than "0" the the value = "0"
    what I have so far is not working, any help is greatly appreciated.
    if
    (this.rawValue < 0) this.rawValue
    = 0;
    Thank you.

    Srini,
    Thanks for the reply, although I still cannot get this to work.
    I changed the fields to numeric and it still is not working.

  • Condition for excluding Sales value less than or equal to 0

    Hello Experts,
    I have to create condition in the query designer to exclude Sales Value <=0, and that should be applied to all the column values and result values when we put active.
    Can anyone help ?
    Thanks in advance,
    Venky
    Duplicate Post
    Condition for excluding Sales value less than or equal to 0
    Edited by: Arun Varadarajan on Apr 13, 2010 8:57 PM

    Hello Naveen,
    Thanks for quick reply. I have created condition greater than zero and executed report, i can able to eliminate rows with sales value <=0, but we have other columns in the report say Quantity, Backlog... when we run the report without condition the values which showed are same when we put it in active aslo.
    After eliminating few rows which having some quantity value, that value should be deducted from the result of the quantity. I tried with applying apply to results opton, then also there is no change in the result value of the quantity.
    Our requirement is to apply condition to eliminate rows which are sales value <=0 and same the result values of the columns should effect.
    Is it possible in anyway, if yes please specify solution.
    Thanks,
    Venky

  • Subtotal less than or equal to a max value

    Hi,
    I have the following values in a table:
    drop table t;
    create table t (key number, ind varchar2(1), num number);
    insert into t (key,ind,num) values (1,'Y',2);
    insert into t (key,ind,num) values (2,'Y',10);
    insert into t (key,ind,num) values (3,'Y',12);
    insert into t (key,ind,num) values (4,'Y',9);
    insert into t (key,ind,num) values (5,'Y',1);
    insert into t (key,ind,num) values (6,'Y',1);
    insert into t (key,ind,num) values (7,'Y',8);
    insert into t (key,ind,num) values (8,'Y',1);
    insert into t (key,ind,num) values (9,'N',11);
    insert into t (key,ind,num) values (10,'N',6);
    commit;The values are:
    test@ORA92> select * from t order by key;
           KEY I        NUM
             1 Y          2
             2 Y         10
             3 Y         12
             4 Y          9
             5 Y          1
             6 Y          1
             7 Y          8
             8 Y          1
             9 N         11
            10 N          6
    10 rows selected.
    test@ORA92>For all rows with ind = "Y", I want to add "num" as long as the subtotal is less than or equal to a max value (15). For all rows with ind = "N", I want the sum of "num".
    It should be as follows:
           KEY I        NUM
             1 Y          2    <- consider this, as subtotal is now 2 which is < 15
             2 Y         10   <- consider this, as subtotal is now 12 which is < 15
             3 Y         12   <- ignore this, as subtotal would be 24 which is > 15; keep running total as 12.
             4 Y          9   <- ignore this, as running total would be (12+9=) 21, which is > 15; keep running total as 12
             5 Y          1   <- consider this, as running total is now (12+1=) 13, which is <= 15
             6 Y          1   <- consider this, as running total is now (13+1=) 14 which is <= 15
             7 Y          8   <- ignore this, as running total would be (14+8=) 22, which is > 15; keep running total as 14
             8 Y          1   <- consider this, as running total is now (14+1=) 15, which is <= 15
             9 N         11 <- add this to subtotal for ind = "N"; subtotal = 11
            10 N          6 <- add this to subtotal for ind = "N"; subtotal = (11+6=) 17
    Return "ac" (subtotal for ind = "Y") = 15 - the one we got at key = 8
    Return "dc" (subtotal for ind = "N") = 17 - the one we got at key = 10I have a pl/sql block that does the same:
    test@ORA92>
    test@ORA92> --
    test@ORA92> -- To derive "ac" value:
    test@ORA92> --   Loop through t, and for ind = "Y", keep on adding "num" as long as
    test@ORA92> --   the subtotal is less than "maxnum". Disregard values of "num"
    test@ORA92> --   that would make the subtotal greater than "maxnum".
    test@ORA92> -- To derive "dc" value:
    test@ORA92> --   Sum of "num" values for ind = "N"
    test@ORA92>
    test@ORA92>
    test@ORA92> declare
      2    maxnum   number := 15;
      3    ac       number := 0;
      4    dc       number := 0;
      5    prev     number := 0;
      6  begin
      7    FOR i IN (SELECT ind, num
      8                FROM t
      9              ORDER BY key)
    10    LOOP
    11       IF (i.ind = 'Y') THEN
    12          ac := i.num + prev;
    13          IF (ac > maxnum) THEN
    14             ac := prev;
    15          ELSE
    16             prev := ac;
    17          END IF;
    18       ELSIF (i.ind = 'N') THEN
    19          dc := i.num + dc;
    20       END IF;
    21    END LOOP;
    22    dbms_output.put_line('maxnum  = '||maxnum);
    23    dbms_output.put_line('ac      = '||ac);
    24    dbms_output.put_line('dc      = '||dc);
    25    dbms_output.put_line('prev    = '||prev);
    26  end;
    27  /
    maxnum  = 15
    ac      = 15
    dc      = 17
    prev    = 15
    PL/SQL procedure successfully completed.
    test@ORA92>
    test@ORA92>Is there a way to do this processing in SQL instead ? The database version is 9i R2 (9.2.0.8.0).
    Thanks and appreciate any help and/or pointers.
    pratz...

    Rob, as it was mentioned here it can be done by Hierarichal Queries, disregarding a lot of drawbacks of such a way.
    SQL> with temp as (select t1.*,
      2                 (select case  when t1.ind = 'Y' and sum(num) > 15
      3                               then  null
      4                               else  sum(num)
      5                         end
      6                    from t t2
      7                  connect by level <= t1.lvl
      8                         and t2.key =
      9                             regexp_substr(t1.path, '[^/]+', 1, t1.lvl - level + 1)
    10                   start with t2.key = t1.key) summa
    11            from (select t.*,
    12                         level lvl,
    13                         sys_connect_by_path(key, '/') path,
    14                         sys_connect_by_path(rn, '/') path_rn
    15                    from (select t.*,
    16                                 lpad(row_number() over(partition by ind order by key),2,'0') rn
    17                            from t) t
    18                  connect by prior key < key
    19                         and prior ind = ind
    20                   start with (key, ind) in
    21                              (select min(key), ind from t group by ind)) t1)
    22  --
    23        select ind, avg(summa) keep(dense_rank first order by path_rn) max_summ
    24          from (select temp.*,
    25                       decode(instr(lead(path_rn) over(partition by ind order by path_rn), path_rn),1, 0, 1) flag
    26                  from temp
    27                 where summa is not null)
    28         where flag = 1
    29         group by ind
    30  /
    IND   MAX_SUMM
    N           17
    Y           15
    SQL>

  • Limit the no of segments per IDOC to less than the current default value

    Hi friends,
    please help me in the following issue.
    The possibility to limit the number
    of segments per IDOC to less than the current default value.
    Purpose is to limit the traffic of IDOCs between systems.
    How to solve this issue to avoid traffic
    Thanks in advance.
    Regards
    Sandeep

    Hi Kiran,
    Actually we are using standard ones at that time we are getting prolems. When using custom developed ALE's
    we are putting segment size is less.To decrease segment size is there any filtering at the sender side? To change segment size may be nedd to take help form SAP.
    But if have filtering at any level from sender side need to confirm before consult SAP.
    Regards
    Sandeep

Maybe you are looking for

  • URGENT: Help with QALITY02?

    URGENT: Can somebody point me to finding if the IDOC QALITY02 updates QAMR-ORIGINAL_INPUT(CHAR 25)? I have tried looking in the function module IDOC_INPUT_QALITY02, but haven't found that field in there. I need to map to this field so that I can upda

  • Import Advance Payments via DTW

    Hello Expert, as written in the object i need to import Advance payments (not against any invoice) via DTW. Can i import only the template Payments as a stand alone? the error i get is: no matching records found and here is an example of the template

  • Calling the advance search help using f4 help

    Hi     I have a question.In Items assignemnt blcok  of the opportunity page for product ID field there is an f4 help  associated with it. When we click on f4 help it will open the standard product serach   in a popup where we can serarch for the prod

  • Removing diagrams from the VI.lib

    After saving a new VI created from other VIs and selecting remove diagram the diagrams from the parent VI.lib have been removed. I don't want to alter the parent VIs only the newly created VIs. What am I doing wrong?

  • Logic board delay (shortage?)

    Started experiencing some weirdness and, when I began getting a string of kernel panics, I took my Rev. A 20" iMac to the Apple Store. Sure enough, the main logic board needs to be replaced. The Genius told me it should be ready in a day or so which