Date difference is not showing the correct result for date interval

Hi Expert,
                I've created two formula variable one for PO date and another for GR date
while i am taking the date difference of GR and PO date for single PO date selection
it showing me correct result , but while i am taking the date interval for PO date it not
showing the correct result.
eg: PO date: 01.01.2010   for a particular PO and Gr date is suppose 03.01.2010, 06.01.2010
      it showing the result 2 and 5.
But if i am taking date interval for PO date:
eg: 01.01.2010 - 31.01.2010
PO date: 10.01.2010 and GR date are suppose 15.01.2010, 22.01.2010 and 30.01.2010
it showing me 14, 21 and 29
Thanks and Regards
Lalit Kumar

Hi Expert,
                Through replacement path.
Thanks and Regards
Lalit Kumar

Similar Messages

  • Mini Calendar does not show the correct date

    Hi there ,
    in iCal on the bottom left side of the window is the mini Calendar, when I switch between months in this mini Cal,it does not show the correct month anymore and even the button "Today" can not revert the day back ( for example we are now in September, when I open iCal it shows it correctly but after going to next or previous months using the triangles on this mini Cal, the problem comes up ! )

    Maybe it wasn't receiving the correct info from your carrier. You're supposed to turn your phone off once in a while so the carrier can update stuff. I had originally heard that you should do it once a day but I never did that.

  • The percentage completed UI is not showing the correct data

    Hi All,
    I have received complaints from one of my larger customers that a very long form we have created is not showing the correct % completed at the bottom. They get to the penultimate page (the last page only have three text boxes on) and it state that only 41% of the form has been completed.
    It looks to me like the UI is not updating as the questions are being completed. Rather it waits until you move to the next page.
    This is what makes our form look rubbish - you are being told that you have only completed 41% of the form only to move on to the next page and bam, you only have three more boxes to complete.
    Can somebody help me out here.
    Thanks,
    Bill

    Hi Bill;
    I can take a look at your form but you are right that only the pages are accounted for in the percentage and not the form fields so it can be far off from reality.  If there is skip logic in a form that can make it vary more.  It is likely that it is working "correctly" (considering how we calculate) in your form but if you send me the link to your form at [email protected] I can see if it is not.
    Thanks,
    Josh

  • TABLE(CAST()) function not returning the correct results in few scenarios.

    I am using TABLE(CAST()) operation in PL/SQL and it is returning me no data.
    Here is what I have done:
    1.     Created Record type
    CREATE OR REPLACE TYPE target_rec AS OBJECT
    target__id          NUMBER(10),
    target_entity_id NUMBER(10),
    dd           CHAR(3),
    fd           CHAR(3),
    code      NUMBER(10),
    target_pct      NUMBER,
    template_nm VARCHAR2(50),
    p_symbol      VARCHAR2(10),
    pm_init          VARCHAR2(3),
    target_name     VARCHAR2(20),
    targe_type     VARCHAR2(30),
    target_caption     VARCHAR2(30),
    sort_order      NUMBER (4)
    2.     Created Table type
    CREATE OR REPLACE TYPE target_arr AS TABLE OF target_rec
    3.     Created Stored procedure which accepts parameter of type target_arr and runs the Table(Cast()) function on it.
         Following is the simplified form of my procedure.
         PROCEDURE get_target_weights
         p_in_template_target IN target_arr,
         p_out_count          OUT NUMBER,
         IS
         BEGIN
              SELECT count(*) into p_out_count
         FROM TABLE(CAST(p_in_template_target AS                     target_arr)) arr;
         END;
    I am calling get_target_weights from my java code and passing p_in_template_target with 10140 records.
    Scenario 1: If target_pct in the last record is 0, p_out_count returned from the procedure is 0.
    Scenario 2: If target_pct in the last record is any other value(say 0.01), p_out_count returned from the procedure is 10140.
    Please help me understand why the Table(Cast()) is not returning the correct results in Scenario 1. Also adding or deleting any record from the test data returns the correct results (i.e. if keep target_pct in the last record as 0 but add or delete any record).
    Let me know how can I attach the test data I am using to help you debugging as I don’t see any Attach file button on Post Message screen on the forum.

    I am not able to reproduce this problem with a small data set. I can only reproduce with the data having 10140 records.
    I am not sure if this is the memory issue as adding a new record also solves the problem.
    This should not be the error because of wrong way of filling the records in java as for testing purpose I just saved the records which I am sending from java in a table. I updated the stored procedure as well to read the data from the table and then perform TABLE(CAST()) operation. I am still getting 0 as the output for scenario 1 mentioned in my last mail.
    Here is what I have updated:
    1.     Created the table target_table
    CREATE Table target_table
    target_id          NUMBER(10),
    target_entity_id NUMBER(10),
    dd           CHAR(3),
    fd           CHAR(3),
    code      NUMBER(10),
    target_pct      NUMBER,
    template_nm VARCHAR2(50),
    p_symbol      VARCHAR2(10),
    pm_init          VARCHAR2(3),
    target_name     VARCHAR2(20),
    target_type     VARCHAR2(30),
    target_caption     VARCHAR2(30),
    sort_order      NUMBER (4)
    2.     Inserted data into the table : The script has around 10140 rows. Pls let me know how can I send it to you
    3.     Updated procedure to read data from table and stored into variable of type target_arr. Run Table(cast()) operation on target_arr and get the count
    PROCEDURE test_target_weights
    IS
         v_target_rec target_table%ROWTYPE;
         CURSOR wt_cursor IS
         Select * from target_table;
         v_count NUMBER := 1;
         v_target_arr cws_target_arr:= target_arr ();
         v_target_arr_rec target_rec;
         v_rec_count NUMBER;
         BEGIN
         OPEN wt_cursor;
         loop
              fetch wt_cursor into v_target_rec; -- fetch data from table into local           record.
              exit when wt_cursor%notfound;
              --move data into target_arr
              v_target_arr_rec :=                     cws_curr_pair_entity_wt_rec(v_target_rec target_id,v_target_rec. target_entity_id,
                        v_target_rec.dd,v_target_rec.fd,v_target_rec.code,v_target_rec.target_pct,
         v_target_rec.template_nm,v_target_rec.p_symbol,v_target_rec.pm_init,v_target_rec.template_name,
         v_target_rec.template_type,v_target_rec.template_caption,v_target_rec.sort_order);
              v_target_arr.extend();
              v_target_arr(v_count) := v_target_arr_rec;
              v_count := v_count + 1;
         end loop;
         close wt_cursor;
         -- run table cast on target_arr
         SELECT count(*) into v_rec_count
         FROM TABLE(CAST(v_target_arr AS target_arr)) arr;
         DBMS_OUTPUT.enable;
         DBMS_OUTPUT.PUT_LINE('p_out_count ' || v_rec_count);
         DBMS_OUTPUT.PUT_LINE('v_count ' || v_count);
    END;
    Output is
    p_out_count 0
    v_count 10140
    Expected output
    p_out_count 10140
    v_count 10140

  • Oam does not show the correct configuration information

    Oracle apps,
    An issue with the oam.
    There are 2 nodes in our system. In 12
    One is for db and cm
    The other is for forms and apache.
    The system is running fine.
    But from the OAM, where it does not show the correct configuration info.
    From the OAM, all the services are (including db, cm, forms, apache) on one node.
    The issue might be caused by the fact that the web tier was cloned from the cm tier as a workaround for some patch errors in web tier.
    I even used the EXEC FND_CONC_CLONE.SETUP_CLEAN; to clean the system tables and ran
    Autocfg on all tiers. But it didn’t solve this issue.
    How can I fix this OAM problem to make it show the correct information?
    Thanks,
    Lily

    Thanks for reply.
    Yes, I did commit it.
    The hostname information is correct.
    On oam, this web node is there but all the service actually running on this node is
    showing under the cm node .
    <TIER_DB oa_var="s_isDB">NO</TIER_DB>
    <TIER_ADMIN oa_var="s_isAdmin">YES</TIER_ADMIN>
    <TIER_WEB oa_var="s_isWeb">YES</TIER_WEB>
    <TIER_FORMS oa_var="s_isForms">YES</TIER_FORMS>
    <TIER_NODE oa_var="s_isConc">YES</TIER_NODE>
    <TIER_FORMSDEV oa_var="s_isFormsDev">YES</TIER_FORMSDEV>
    <TIER_NODEDEV oa_var="s_isConcDev">YES</TIER_NODEDEV>
    <TIER_WEBDEV oa_var="s_isWebDev">YES</TIER_WEBDEV>

  • Installer is not showing the correct Nodes in RAC

    Hi Experts,
    We are in the process of upgrade oracle database from 9.2.0.3 to 9.2.0.8 in RAC. While installing the 9.2.0.8 patch set it is not showing the correct database nodes, instead of it showing production database nodes, but we are doing doing it in test machine.
    Test Machine hostname:
    db1
    db2
    Prod machine hostname
    prod1
    prod2
    it showing the prod1 and prod2 only.
    please suggest us to solve this
    Note:
    We copy the oracle_home from prod to test for test database cloning.
    Thanks
    R.Sundaravel

    Then it is highly likely your RAC cluster is not correctly configured.
    Open an SR at metalink as the Cluster Verify tool does not exist for your old version.

  • My storage is not showing the correct space

    Hi,
    Why my storage is not showing the correct amount of space? I have MBA mid 2013 with 121gb. However my storage show a different value than its suppose to be especially on the apps. I google the problem, mostly its because of the time machine but I never use the time machine. and some of my friend tells its probably a junk. is the third party apps like apps cleaner and clean my mac is helpful? I attached the screen capture of my storage. As you can see the value of apps is 162gb in fact my flash is only 121gb. its doesn't make any sense. Please help.

    Do not use third party apps such as CleanMyMac on your Mac. They have no effect what so ever on storage space. Your Mac runs maintenance in the background for you >  Mac OS X: About background maintenance tasks
    Reindex Spotlight then check the storage >   Spotlight: How to re-index folders or volumes

  • TS1702 The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar.  Actually, they post exactly 4 hours earlier than the correct time on my Yahoo Calendar.  Does anyone have a "fix" to correct the "time

    The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar. Actually, items post exactly 4 hours earlier than the correct time on my Yahoo Calendar.   My i4S is in the correct New York time zone.  Help?

    I posted this question a while ago and didn't receive any responses but there are a lot of people who have viewed it and 10 have said they have the same question so I thought I would update you that I added my nanny to my exchange server account (created an email for her) and I send all invites to that email address and they work.  So sending invites from an exchange server account to a non-exchange server account apparently is a bug so to solve it, get on an exchange server I guess.

  • I just got an iPod shuffle yesterday and I have downloaded the latest update for iTunes (10.7) and when I plugin it in it says that I have not got the correct software for the iPod

    I just got an iPod shuffle yesterday and I have downloaded the latest update for iTunes (10.7) and when I plugin it in it says that I have not got the correct software for the iPod

    What is the exact error message you are receiving?  Have you checked to make sure the connections on each end of the USB cable are nice and snug?
    B-rock

  • My Airdrop Photos are not showing the correct date when I receive them from my Family.

    When I recieve photos via Airdrop or Shared Photo Stream they are not in the correct order in my Camera roll. The Dates are off. What is happening here?

    You don't need to delete photos from your camera roll to save on backup sizes, you can turn individual items on and off for back up in your iCloud back up settings.
    Apple States that the last 3 back ups are accessible, which means the photos from your back up may not be removed immediately.
    Being able to back up to the cloud can be very useful, especially if you don't have access to a computer or have infrequent access to one, however unless you specifically need to use iCloud for back up, you will find backing up to iTunes significantly more convenient and possibly more reliable.
    More about iCloud v iTunes Back Up

  • Bpel console is not showing the correct reply xml..

    Hi,
    i created a process with xsd:any i/p and xsd:any o/p. Inside the process i just assigning the(asign activity) input payload to output payload. In the console am reciving diffrent outputxml.it's removing deeplevel node as bellow.
    case 1
    I/P :
    <BPELProcessBProcessRequest xmlns="http://iflex.com/BPELProcessB">
    <a></a>
    </BPELProcessBProcessRequest>
    O/P
    <BPELProcessBProcessResponse> </BPELProcessBProcessResponse>
    case 2
    I/P :
    <BPELProcessBProcessRequest xmlns="http://iflex.com/BPELProcessB">
    <a><b id="01"></b></a>
    </BPELProcessBProcessRequest>
    O/P
    <BPELProcessBProcessResponse>
    <a></a>
    </BPELProcessBProcessResponse>
    case 3:
    I/P :
    <BPELProcessBProcessRequest xmlns="http://iflex.com/BPELProcessB">
    <aaa><a><b ></b></a><a><b ><c></c></b></a></aaa>
    </BPELProcessBProcessRequest>
    O/P
    <BPELProcessBProcessResponse>
    <aaa>
    <a></a>
    <a>
    <b></b>
    </a>
    </aaa>
    </BPELProcessBProcessResponse>
    am using BPEL 10.1.2.
    it seems as bug.is this fixed.. any batch updates ??

    please check this thread for above issue. This is not formated well becoz of the xml data input. i used & lt ; and & gt ; for posting xml.. in the forum.
    Bpel console & this forum is not showing the proper  xml..

  • Smart Playlists not showing the correct songs on iPhone 4

    I created a "Smart Playlist" called "100 Newest" which takes the 100 newest songs added to my music list on iTunes.  It displays perfectly on iTunes on my computer but when I sync my iPhone4 to my iTunes, it syncs the regular playlists I create to my phone just fine.  But the "smart playlists" added to my iPhone show up with the correct title, but when I view the playlist on my iPhone, it shows all the songs in my Library under that playlist.  It will NOT show the 100 Newest songs like it shows on my playlist when viewed in iTunes on my iMac.  Grrrrrr!  Does anyone know how to fix this annoying problem.  It's one problem after another I'm dealing with in terms of these playlists to appear and play prooperly on iPhone ios 5.0.x.

    What type of email?

  • Ldapsearch does not return the correct result

    We are using the Netscape Directory server 4.12. We try to use the Radiator Radius server to query the Directory server for authentication.
    When we use the filter:
    uid=itkychan
    to query if the user is in the Directory, it returns the correct result.
    However, we would like to query if the username is in a specified group, e.g. tss_ns_grp, in the Directory, we try to use the following command:
    #./ldapsearch -b "o=The xxx University,c=HK" -h hkpu19
    "(&(cn=tss_ns_grp)(|(&(objectclass=groupofuniquenames)(uniquemember=uid=itkychan))(&(objectclass=groupofnames)(member=uid=itkychan))))"
    but no result is returned.
    itkychan is a member of the group tss_ns_grp. The following is a portion of the LDIF file:
    dn: cn=tss_ns_grp, o=The xxx University, c=HK
    objectclass: top
    objectclass: groupOfUniqueNames
    objectclass: mailGroup
    cn: tss_ns_grp
    mail: [email protected]
    mailhost: abcd.xxxu.edu.hk
    uniquemember: cn=xxxxxxxxxxxxxx, uid=itkychan, ou=xxxu_ITS, o=The xxx University, c=HK
    uniquemember: cn=xxxxxxxxxxxxxx, uid=itjcheng, ou=polyu_ITS, o=The xxx University, c=HK
    uniquemember: .....

    You will have to use the full DN for the member and uniquemember e.g.
    (...(uniquemember=cn=xxxxxxxxxxxxxx, uid=itkychan, ou=xxxu_ITS, o=The xxx University, c=HK)...)

  • How can I get Messages to show the correct time for read receipts?

    Messages in Mountain Lion shows the wrong time for read receipts. For example, my iPad will show a message was read at 3:37 pm but if I open Messages on my MacBook, the read receipt shows the time that I opened the Messages app as opposed to the time the message was actually read. This is not too much of an issue if my iPad is handy, but really, shouldn't Messages on my MacBook be able to show the correct time the message was read? It syncs all the other infromation with Messages on iOs.
    I should mention that if Messages is running on my MacBook when the recipient reads the message, then it does show the correct time the message was read. It's if Messages was not running and I re-launch it that the read receipt time gets mixed up.

    HI,
    As far as I am aware Messages marks or time stamps an iMessage at the time of receipt rather then the time you got around to reading it.
    I will admit that in most cases reading and receiving as the app opens will be near enough the same time in some conversations.
    Adding Time Stamps to Chat is what iChat has always done particularly with AIM based Chats.
    The "Sync" in Messages is "display on all devices"  and after that each iMessages is dealth with separately on each device.
    There is no syncing of deleting/dimssing an iMessages or having read it on another device.
    8:58 PM      Tuesday; April 16, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously
    Message was edited by: Ralph Johns (UK)

  • Tkprof not showing the Execution Plan for Statement

    Hi all
    using oracle 9i release 2
    I have issued the following statements
    alter session set sql_trace
    alter session set events '10046 trace name context forever, level 12';
    --then executed a pl-sql procedure
    after reading the traceout outfile it shows the Execution plan for statements directly wirtten under begin and end block and doesnot displays the plan for the statements written like this
    procedure a is
    cursor b is
    select ename,dname from dept a,emp b
    where a.deptno=b.deptno;
    begin
    for x in a loop --plan not found but stats are written
    select ename into v_ename from emp where empno=300; --does show the plan+stats
    end;
    what I am missing to get the actual plan in trace output file
    thanks in advance

    You have to exit sql*plus after running the procedure, example tkprof is below:
    declare
    cursor c is
    select ename, dname
    from emp, dept
    where emp.deptno = dept.deptno;
    begin
    for v_x in c
    loop
    dbms_output.put_line(v_x.ename || ' ' ||v_x.dname);
    end loop;
    end;
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.06 0 0 0 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.06 0 0 0 1
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 68
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 1 0.00 0.00
    SQL*Net message from client 1 0.00 0.00
    SELECT ENAME, DNAME
    FROM
    EMP, DEPT WHERE EMP.DEPTNO = DEPT.DEPTNO
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 15 0.01 0.00 0 44 0 14
    total 17 0.01 0.00 0 44 0 14
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 68 (recursive depth: 1)
    Rows Row Source Operation
    14 NESTED LOOPS
    14 TABLE ACCESS FULL EMP
    14 TABLE ACCESS BY INDEX ROWID DEPT
    14 INDEX UNIQUE SCAN DEPT_PK (object id 40350)
    Best Regards
    Krystian Zieja / mob

Maybe you are looking for

  • Enhancements in CRM IC Webclient

    Hi, We are using SAP CRM Webclient as UI for backend ISU system to achieve Utility specific Customer service scenarios. There are lot of Enhancements happening in ISU Backend processes. My question: How do we realize these enhancments in CRM  IC Webc

  • Problem in Exporting table to Excel2003

    hi, I have used the sample ExporttoExcel2003 component avaliable for download on the SAP site, for my project. It downloads the tables into Excel2003 perfectly fine. <b>however, when the string in the table contains these three characters: & , < , >

  • EIGRP Routing across MPLS Cloud

    I appologize if this has been covered but I dont see any exact hits... We are working with our Service Provider to implement MPLS between our remote sites and main campus. We are currently using PtoP T1 in a hub and spoke model. We are running EIGRP

  • Problem deleting Domains

    Cannot deleting domains. Error encountered stderr Aug 10 08:15:23 deleteObjects: java.lang.NullPointerException stderr Aug 10 08:15:23 deleteObjects:      at com.sun.symon.base.console.manager.CmObjectDelete.run(CmObjectDelete.java:207) stderr Aug 10

  • Mobility between HREAP and NON HREAP does not work..

    HREAP Local Switch and Auth has been enabled on SSID. Indoor AP is in HREAP mode. Outdoor AP does not support HREAP mode. Client connects to indoor AP....continous PING breaks after client roams to outdoor AP. The state of the client is RUN. Disable