Oralce query giving wrong data

Hi all oracle experts :
in oracle backend ( LOV ) user is selecting 'long text' instead of 'short text' and as a result user is getting wrong data Ship_To_Adress ( column ). here what i need is :
Upon data is coming from Long_Text table - it should not bring the wrong data Ship_To address.. It should give no value on the report.
feasibility of modifying query to maintain two Scenarios - Irrespective of Long or Short text - User should not give wrong 'Ship To' address on the pick ticket.
please go through the following query and make necessary changes. thanks in advance for your precious time valuable advice
looking the feasibility of modifying query to maintain two Scenarios - Irrespective of Long or Short text - User should not give wrong 'Ship To' address on the pick ticket.
Thanks in advance
Shiva
SELECT
     wpsv.pick_slip_number          "Pick Slip #",
     wdd.source_header_number          "Sales Order #" ,
     wdd.source_line_number          "Sales Order Line #" ,
nvl(round(ool.unit_selling_price,2),0) "unitsell price" ,
(nvl(round(ool.unit_selling_price,2),0))*nvl(wpsv.primary_qty,0) "Extended sell rice",
     '*'||wpsv.transaction_id||'*'          "Task ID" ,
     wpsv.transaction_id               "Task ID#" ,
     msi.segment1               "Item",
     msi.description               "Item Description",
     msi.segment1 || ' - ' ||msi.description               "Item - Description",
     wdd.requested_quantity_uom          "UOM",
     wdd.serial_number               "Serial #",
     wnd.delivery_id               "Delivery#",
     wpsv.from_subinventory          "Pick from Sub-inventory",
     wpsv.from_subinventory          || ' - ' ||
          SELECT
               segment1||'.'||segment2||'.'||segment3||'.'||segment4
          FROM
               INV.MTL_ITEM_LOCATIONS
          WHERE
               inventory_location_id     = DECODE(msi.reservable_type,2,wdd.locator_id,wpsv.from_locator_id)
     ) "Pick From",
          SELECT
               segment1||'.'||segment2||'.'||segment3||'.'||segment4
          FROM
               INV.MTL_ITEM_LOCATIONS
          WHERE
               inventory_location_id     = DECODE(msi.reservable_type,2,wdd.locator_id,wpsv.from_locator_id)
     )                    "Pick from Location",
     wpsv.to_subinventory "Deliver to Sub-inventory",
          select
               segment1||'.'||segment2||'.'||segment3||'.'||segment4
          from
               inv.mtl_item_locations
          where
               inventory_location_id     = wpsv.to_locator_id
     )                    "Deliver to Location",
     wpsv.primary_qty          "Quantity to be Picked",
     party.party_name||CHR(10)||
     DECODE(ship_loc.address1, NULL, '',ship_loc.address1||CHR(10))||
     DECODE(ship_loc.address2, NULL, '',ship_loc.address2||CHR(10))||
     DECODE(ship_loc.address3, NULL, '',ship_loc.address3||CHR(10))||
     DECODE(ship_loc.address4, NULL, '',ship_loc.address4||CHR(10))||
     DECODE(ship_loc.city, NULL, NULL, ship_loc.city || ', ') || DECODE(ship_loc.state, NULL, NULL, ship_loc.state || ', ') || DECODE(ship_loc.postal_code, NULL, NULL,      ship_loc.postal_code || ', ') || DECODE(ship_loc.country, NULL, NULL, ship_loc.country) SHIP_TO_ADDRESS,
     NVL(h.shipping_instructions, '-') shipping_instructions,
     NVL(h.shipment_priority_code,'-') shipment_priority_code,
NVL(OL.MEANING,'-') "Freight Terms",
     NVL(FLV.meaning, '-') shipping_method,
     NVL(QQA.quote_attachment, '-'),
     RSA.name,
     NVL(h.packing_instructions, '-') packing_instructions,
     NVL(H.CUST_PO_NUMBER,'-') customer_po#
FROM
apps.oe_order_lines_all ool,
     APPS.WSH_PICK_SLIP_V               WPSV,
     WSH.WSH_DELIVERY_DETAILS          WDD,
     INV.MTL_SYSTEM_ITEMS_B          MSI,
     WSH.WSH_DELIVERY_ASSIGNMENTS     WDA,
     WSH.WSH_NEW_DELIVERIES          WND,
     APPS.ORG_ORGANIZATION_DEFINITIONS     ORG,
     WMS.WMS_DISPATCHED_TASKS          WDT,
     APPS.OE_ORDER_HEADERS_ALL          H,
     APPS.HZ_CUST_SITE_USES_ALL          SHIP_SU,
     APPS.HZ_PARTY_SITES               SHIP_PS,
     APPS.HZ_LOCATIONS               SHIP_LOC,
     APPS.HZ_CUST_ACCT_SITES_ALL          SHIP_CAS,
     APPS.HZ_PARTIES                PARTY,
     APPS.FND_LOOKUP_VALUES          FLV,
APPS.OE_LOOKUPS OL,
          SELECT
               OOH.header_id,
               MAX(DECODE(rownum,1, FDST.short_text, ''))||CHR(10)||CHR(10)||MAX(DECODE(rownum,2, FDST.short_text, ''))||MAX(DECODE(rownum,3, FDST.short_text, ''))||CHR(10)||CHR(10)||MAX(DECODE(rownum,4, FDST.short_text, '')) quote_attachment
          FROM
               APPS.FND_ATTACHED_DOCUMENTS     FAD
               , APPS.FND_DOCUMENTS_TL          FDT
               , APPS.FND_DOCUMENTS_SHORT_TEXT     FDST
               , APPS.FND_DOCUMENTS               FD
               , APPS.FND_DOCUMENT_CATEGORIES_TL     FDC
               , APPS.OE_ORDER_HEADERS_ALL          OOH
               , APPS.ORG_ORGANIZATION_DEFINITIONS OOD
          WHERE
               OOD.organization_id =?Organization ? AND
               OOH.ORDER_NUMBER = ?SO#? AND
               OOH.org_id = OOD.operating_unit AND
               TO_CHAR(OOH.header_id) = FAD.pk1_value AND
               FAD.document_id = FDT.document_id AND
               FAD.entity_name = 'OE_ORDER_HEADERS' AND
               FDT.media_id = FDST.media_id AND
               FDT.language = 'US' AND
               FAD.document_id = FD.document_id AND
               FD.category_id = FDC.category_id AND
               FDC.language = 'US' AND
               FDC.user_name ='APS_Pack/AR Invoice/CI/SO Ack Printing'
          GROUP BY
               OOH.header_id
     ) QQA
     , APPS.RA_SALESREPS_ALL RSA
WHERE
     wpsv.move_order_line_id     =wdd.move_order_line_id          AND
     (wdd.source_header_number = ?SO#? )                    AND
     wdd.inventory_item_id     = msi.inventory_item_id(+)          AND
     wdd.organization_id          = msi.organization_id(+)          AND
     wdd.delivery_detail_id     = wda.delivery_detail_id          AND
     wda.delivery_id          = wnd.delivery_id(+)               AND
     wdd.organization_id = org.organization_id               AND
     wdt.TRANSACTION_TEMP_ID(+)=wpsv.transaction_id          AND
     wdt.organization_id (+)      =?Organization ?               AND
     wdd.organization_id          =?Organization ?               AND
     wdd.source_header_number      = h.order_number               AND
     h.salesrep_id = RSA.salesrep_id(+) AND
     h.org_id = RSA.org_id(+) AND
     h.org_id                = org.operating_unit               AND
     SHIP_PS.party_id          = PARTY.party_id(+)           AND
     H.ship_to_org_id          = SHIP_SU.site_use_id(+)           AND
     SHIP_SU.cust_acct_site_id     = SHIP_CAS.cust_acct_site_id(+)      AND
     SHIP_CAS.party_site_id     = SHIP_PS.party_site_id(+)           AND
     SHIP_LOC.location_id(+)     = SHIP_PS.location_id           AND
     H.shipping_method_code     = FLV.lookup_code(+)          AND
     FLV.lookup_type(+)          = 'SHIP_METHOD'               AND
     FLV.language(+)          = 'US'                    AND
     QQA.header_id(+)           = TO_CHAR(H.header_id)           AND
     wpsv.line_status          = 'UNPICKED'               AND
H.FREIGHT_TERMS_CODE=OL.LOOKUP_CODE(+)
AND OL.LOOKUP_TYPE(+) ='FREIGHT_TERMS' AND
OOL.header_id = wdd.source_header_id(+) AND
OOL.line_id = wdd.source_line_id(+) AND
     EXISTS(
          SELECT
               'Y'
          FROM
               INV.MTL_ONHAND_QUANTITIES_DETAIL OHQ
          WHERE
               WDD.inventory_item_id     = OHQ.inventory_item_id     AND
               WDD.organization_id     = OHQ.organization_id     AND
               WPSV.from_subinventory = OHQ.subinventory_code
          GROUP BY
               'Y'
          HAVING
               SUM(transaction_quantity) >0
ORDER BY
     2, 11, 12, 6, 3

Thank you very much indeed for your reply - yes youre right. in oracle backend there are dropdown selections : 1) short text and 2) long text. as per the table user has to select short text so that he will get the correct output , but if by mistake user selects long text then the table is pulling wrong data. so here we need the query to be changed if user selects long text report shouldnt show any data..
i am not sure but as per my little knowledge in oracle i believe that the problem is lying in the folloiwng query line.. please help me out in this regard. i have a screen shots of oralce backend where user is selecting long text / short text but here theres no option of inserting the files...
DECODE(ship_loc.address1, NULL, '',ship_loc.address1||CHR(10))||
DECODE(ship_loc.address2, NULL, '',ship_loc.address2||CHR(10))||
DECODE(ship_loc.address3, NULL, '',ship_loc.address3||CHR(10))||
DECODE(ship_loc.address4, NULL, '',ship_loc.address4||CHR(10))||
DECODE(ship_loc.city, NULL, NULL, ship_loc.city || ', ') || DECODE(ship_loc.state, NULL, NULL, ship_loc.state || ', ') || DECODE(ship_loc.postal_code, NULL, NULL, ship_loc.postal_code || ', ') || DECODE(ship_loc.country, NULL, NULL, ship_loc.country) SHIP_TO_ADDRESS,
Thank you very much once again
Shiva

Similar Messages

  • Query giving wrong values in portal but correct through RSRT

    Hi,
    Users are running a query through portal which is giving wrong figures. But when we are running the query through RSRT it is showing correct values. The quesry is built on top of an InfoCube which is regularly updated and data in it is matching with R/3.
    This is an Inventory Valuation Query.
    Please suggest what could be the possible issue.
    BR,
    Sayan

    Hi,
    Make sure cache is deleted for the particular query. While the report is executed through portal it refers the cache and if the data in the backend is not changed then the cache for a particular query selection is active and referred each time the query is run.
    on other hand while running RSRT we have an option of not using cache and thus it refers the infoprovider and fetches the correct result. In this case cache could be invalid.
    Try deleting the cache.
    Regards,
    Amit

  • TRUNC() giving wrong data in different versions of Oracle DB

    Hi All,
           I have two oracle data base versions. I need to insert into one temp table with select statement. When i use the same query in both environment am getting different results. Can you please help me on that.
    Version:1
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Version: 2
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE 10.2.0.5.0 Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
    NLSRTL Version 10.2.0.5.0 - Production
    Query we used:
    insert into my_temp_table
    select v_name,trunc(d_charge_date)
    from table1;
    my_temp_table structure:
    v_name               varchar2(30),   
    d_charge_date     date;
    Note: Date columns represented with mm/dd/yyyy format....
    in table1 i have data like this....
    v_name
    d_charge_date
    xxx
    12/2/2012
    yyy
    10/23/2010
    abc
    9/29/2013
    after the insertion into temp table am getting the result like below...
    select * from my_temp_table;
    If i run this query in version 1 am getting the correct data..
    v_name
    d_charge_date
    xxx
    12/2/2012
    yyy
    10/23/2010
    abc
    9/29/2013
    but if i run the same insert query in version 2 getting the wrong data
    v_name
    d_charge_date
    xxx
    12/2/2011
    yyy
    12/2/2011
    abc
    12/2/2011
    If i remove the trunc from the insertion statement i didn't get the wrong data like above...
      I don't know the exactly reason. So can you please help me to identify this cause...

    Hi i think the global temporary table having this issue in version b what i have mentioned above.
    insert into /*+append*/global_temporary_temp
    (v_policy_no,n_seq_no,d_next_chgdue_date,v_charge_freq,v_cntr_stat_code,v_iu_au_base,d_cntr_start_date)
    select distinct a.v_policy_no,a.n_seq_no,trunc(a.d_next_chgdue_date),a.v_charge_freq,b.v_cntr_stat_code,c.v_iu_au_base,b.d_cntr_start_date
    from table_a a,table_2 b,table_3 c
    where a.v_status = 'A'
    and a.v_charge_freq is not null
    and trunc(a.d_next_chgdue_date) <= trunc(sysdate)
    and b.v_cntr_stat_code in ('NB010')
    and a.v_policy_no = b.v_policy_no
    and a.n_seq_no = b.n_seq_no
    and a.v_plri_code = c.v_plan_code
    and a.v_parent_event_code = c.v_parent_event_code
    and a.v_charge_pcode = c.v_charge_pcode
    and a.v_charge_code = c.v_charge_code

  • Connect by Giving wrong data.

    Hello All,
    can somebody describe me the reason that when I run the inner query its giving perfect data but when I run it with by putting it in subquery (Like I mentioned below), It is not giving correct data and taking huge time. I really dont understand the logical reason of it as whatever inner query is giving data ,I should get the same in below mentioned query.
    Can somebody help me?
    SELECT * FROM (
    SELECT distinct PROJECT_NUMBER,
    BOM.ASSY_ITEM,
    BOM.ASSY_ITEM_DESCRIPTION,
    BOM.COMP_ITEM,
    BOM.COMPONENT_ITEM_DESC,
    BOM.QUANTITY BOM_QUANTITY,
    BOM.INVENTORY_ITEM_STATUS_CODE,
    SOL.PRODUCT_NUMBER SOL_ITEM,
    SOL.QTY_ORDERED,
    BOM.BOM_STRUCTURE,
    SOL.SHIP_FROM_WAREHOUSE_ID,
    SOL.ORGANIZATION_ID,
    BOM.WAREHOUSE_ID,
    BOM.WAREHOUSE_CODE
    FROM (SELECT PT.TASK_NUMBER TASK_NUMBER,
    OOL.INVENTORY_ITEM_ID,
    OOL.ORDERED_ITEM SOL_ITEM,
    OOL.QTY_ORDERED,
    SHIP_FROM_WAREHOUSE_ID,
    PPA.SEGMENT1 PROJECT_NUMBER,
    MSI.PRODUCT_NUMBER,
    OOL.ORGANIZATION_ID
    FROM JAROSODS.OE_ORDERLINES_DET OOL,
    JAROSODS.TASK_MAS PT,
    JAROSODS.PROJECT_MAS PPA,
    JAROSODS.ITEMWAREHOUSE_MAS MSI
    WHERE PT.TASK_ID = OOL.TASK_ID AND PT.PROJECT_ID = PPA.PROJECT_ID AND
    OOL.PROJECT_ID = PPA.PROJECT_ID AND
    MSI.ITEMWAREHOUSE_KEY = OOL.ITEMWAREHOUSE_KEY AND
    OOL.MD_SOURCE_SYSTEM = 1 AND PT.MD_SOURCE_SYSTEM in (0, 1) AND
    PPA.MD_SOURCE_SYSTEM in (0, 1) AND
    MSI.md_source_system in (0, 1)
    AND MSI.PRODUCT_NUMBER IN ('1')
    AND OOL.ORGANIZATION_ID IN ('1')
    AND OOL.SHIP_FROM_WAREHOUSE_ID IN (OOL.SHIP_FROM_WAREHOUSE_ID)
    ) SOL,
    (SELECT LEVEL,
    MSIT.PRODUCT_NUMBER ASSY_ITEM,
    MSIC.PRODUCT_NUMBER COMP_ITEM,
    MSIT.WAREHOUSE_ID ORG_ID,
    MP.WAREHOUSE_ID,
    MP.WAREHOUSE_CODE,
    MSIC.INVENTORY_ITEM_ID,
    SUBSTR(MSIT.PRODUCT_NUMBER,
    INSTR(MSIT.PRODUCT_NUMBER, '-', 1, 3) + 1) TASK_NUMBER,
    --bic.COMPONENT_QUANTITY,
    LPAD(' ', 8 * LEVEL) || MSIT.PRODUCT_NUMBER || ' ---> ' ||
    MSIC.PRODUCT_NUMBER BOM_STRUCTURE,
    BIC.QTY_COMPONENT QUANTITY,
    MSIC.INVENTORY_ITEM_STATUS_CODE,
    MSIT.ITEM_LONG_NAME ASSY_ITEM_DESCRIPTION,
    MSIC.ITEM_LONG_NAME COMPONENT_ITEM_DESC
    --msiC.description Component_item_desc
    from JAROSODS.MFG_BOMBILLOFMATERIALS_DET bom,
    JAROSODS.MFG_BOMINVCOMP_DET bic,
    JAROSODS.itemwarehouse_mas msit,
    JAROSODS.itemwarehouse_mas msic,
    JAROSODS.WAREHOUSE_MAS mp
    where 1 = 1 and msit.inventory_item_id = bom.ASSEMBLY_ITEM_ID and
    msit.warehouse_id = bom.warehouse_id and
    msic.inventory_item_id = bic.COMPONENT_ITEM_ID and
    msic.warehouse_id = msit.warehouse_id and
    mp.warehouse_id in (mp.warehouse_id) AND
    bom.common_BILL_SEQUENCE_ID = bic.BILL_SEQUENCE_ID AND
    mp.warehouse_id = msic.warehouse_id
    --AND mp.warehouse_key = msic.itemwarehouse_key
    and level in ('2') AND--------------------------------------------------parameter
    TRUNC(SYSDATE) BETWEEN TRUNC(bic.effectivity_datetime) AND
    NVL(TRUNC(bic.disable_datetime), TRUNC(SYSDATE))
    start with msit.PRODUCT_NUMBER like ('%700433%')------------------------------parameteR
    connect by prior bic.component_item_id = bom.assembly_item_id and
    bom.md_source_system = 1 and bic.md_source_system = 1 and
    msit.md_source_system in (0, 1) and
    msic.md_source_system in (0, 1) and
    mp.md_source_system in (0, 1)) BOM
    WHERE BOM.INVENTORY_ITEM_ID = SOL.INVENTORY_ITEM_ID(+) AND
    BOM.TASK_NUMBER = SOL.TASK_NUMBER(+) AND
    BOM.ORG_ID = SOL.SHIP_FROM_WAREHOUSE_ID(+))

    ok

  • Query giving wrong result

    Hi
    Could anybody tell me why this query is giving the wrong result? The column 'Spend for Selected Period' is showing as far too much (ie exactly 11 times too much!!!) when totalling the 37 invoices involved
    SELECT T0.[CardCode], T0.[CardName],T0.[MailCity] AS 'Town', T2.[SlpName] AS 'Rep',
    SUM(T1.DocTotal - T1.VatSum)  AS 'Spend for Selected Period', MAX(T3.CreateDate) AS 'Last Visit Date'
    FROM OCRD T0  left JOIN OINV T1 ON T0.CardCode = T1.CardCode LEFT JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode LEFT JOIN OSCL T3 ON T0.CardCode = T3.Customer
    where  T0.[CardCode] = 'wyk027/34' AND T1.DocDate BETWEEN '20090101' AND '20091231'
    GROUP BY T0.[CardCode], T0.[CardName],T0.[MailCity], T2.[SlpName]
    Thanks
    Steve

    Hi ,
    It seems like it is duplicated by the number of service calls.
    Try this one:
    SELECT T0.CardCode, T0.CardName,T0.MailCity AS 'Town', T2.SlpName AS 'Rep',
    SUM(T1.DocTotal - T1.VatSum) AS 'Spend for Selected Period', (select MAX(T3.CreateDate) from OSCL T3 where T0.CardCode = T3.Customer) AS 'Last Visit Date'
    FROM OCRD T0 inner JOIN OINV T1 ON T0.CardCode = T1.CardCode inner JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
    where T0.CardCode = '10001' AND T1.DocDate BETWEEN '20090101' AND '20091231'
    GROUP BY T0.CardCode, T0.CardName,T0.MailCity, T2.SlpName
    Best regards,
    Maya

  • Query giving wrong results

    Below is the query thats giving me wrong results ...can anyone help me figure where i am going wrong :(
    SQL> select count(*) from t where source='LP1.1';
      COUNT(*)
            69
    SQL> select count(*) from tblspring where line_a='LP1.1';
      COUNT(*)
           233now when i join these two table ...the total counts exceeds the expected records that i want
    SQL> select count(*) from t , tblspring where t.source=tblspring.line_a and t.source='LP1.1';
      COUNT(*)
         16077

    the thing is i want to filter only those records from table t where the column named  - source is equal to the column named line_a from table tblspring from the query in table t i get 69 records ....
    now when i match the it table tblspring with the condition
    i want the number of records should be less than or equal to 69 but not more than 69
    Edited by: Suhail Faraaz on Mar 5, 2011 7:31 AM

  • Status of data in Bex query shows wrong date

    Dear Experts,
    The Bex qurey after sucessful execution, show the Status of data as old date i.e. feb 2012. but we observed that the data uplaod happens regularly and sucessful.
    we tried executing the same query using RSRT/Bex Analyzer/Portal. the results are same i.e. showing incorrect status of data.
    Note: The Bex query is built on BI Infoset which sources from DSOs and Master Data infoobjects, and  BI version is 7.0.
    Kindly please help for resolving the issue.
    Best Regards,
    Mannu.

    Hi Vijay,
    The data upload has happend today also and it is sucessful, the reporing status is available for requests from respective infoproviders.
    'Status of data' is not a filed. if it an information to tell the status of data in query result.
    Please find the following steps to find the 'status of data'
    go to RSRT->give the query name and execute-> now after query results-> go to last page-> you can find the 'status of data'.
    Best Regards,
    Mannu

  • Infoset Query Returns Wrong Data

    Hi there exports,
    I created a infoset query based on 3 DSO's 0PUR_O01 (Purchase Order Items), 0PUR_DS03 (Purchase Order Item Schedule Line) & a Z-DSO (Material Consumption).
    I need information by PO Number (Item, Material) and the total consumption for that material from the Z-DSO irrespective what the item & PO Number is.
    My link to Z-DSO is material & plant. My problem is that the info from the orther 2 DSO is triple when I run my query.
    Any suggestions?
    Thank you
    Dirk

    Hi,
    This issue arrises due to the infoset property, ie. Infoset provides intersection of data.
    So for a single combination of material and plant in Z-DSO, there might be multiple (here 3)records in other two DSO so you get the triple amount in Query.
    Inorder to overcome it you must ideally join the DSO in a infoset based on the same key fields..
    Hope it helps..
    Regards..
    Umesh.

  • Query giving wrong output

    I am trying to look for sub programs that use the synonyms in the schema.I wrote the following query.But its giving strange output.
      select usy.synonym_name, us.text, us.name, us.type
      from user_synonyms usy, user_source us
    where upper(us.text) like ('%' || usy.synonym_name || '%')
       and usy.synonym_name in
           (select synonym_name
              from user_synonyms us
             where us.synonym_name <> us.table_name
               and table_owner = 'XYZ')
    order by usy.synonym_nameOutput
    synonym_name text
    txn_deposit select pir_detail_txn.instrument_amnt
    I wonder why txn.instrument is taken same as txn_instrument which is the synonym name??

    where name like 'txn_instrument'
    give all outputs like
    txn_instrument
    txn.instrument
    txn1instrument
    txn2instrument .......
    but
    where name like 'txn\_instrument' escape '\'
    gives only txn_instrument
    ~Praveen

  • Iphoto date change giving wrong date

    When I try to change the date of a scanned photo I get a strange and incorrect date in response.
    For example if I put in 25/01/1985 I get a return date of 12/11/573. Each time I try to input the correct date the return date is earlier and earlier.
    I have tried changing the file date through terminal. I have tried resetting the system date but the changed photo date still won't move to the one I input.
    Does anyone know how to fix this?
    Cheers
    Paul

    Hi
    Yep that is where I made the previous changes. I went back there and reset everything to default settings. I also went into the Date and Time pane and changed automatic time, date and zone settings on and off, trying various combinations. But no joy. The photo date won't accept the one I give it.
    This is really annoying. I am otherwise very happy with the Mac. Such a shame that a part of the iPhoto functionality is ruined by this. I was looking forward to having my photos in chronological order.
    Oh well. Hopefully Apple will do something to fix the issue soon.
    Thanks for trying to solve it anyway.
    Regards
    Paul

  • ChooseDate giving wrong date

    Hello:
    I'm using a ADF chooseDate / selectInputDate but i noticed that when i select a day in winter period (30/Oct - 26/Mar) the day comes up minus 1, i.e. if i select 10/March the day it appears on my selectInputDate will be 09/March.
    Why and hpw can i correct this?
    Thanks.

    Here is an excerpt of a bug I logged a few months ago:
    PROBLEM STATEMENT:
    Date picker for af:selectInputDate (Calendar) doesn't return the correct date
    under certain conditions:
    - when the current date is outside the Daylight Saving time
    (called "Summer Time" in Europe)
    - when the Time Zone of the PC is set to GMT
    - when the date that's selected in the Calendar is between the 1st of April
    and the 31st of October
    For example, suppose you're the 1st of March in GMT Time Zone and that you
    select 01-APR-2006 in the calendar:
    31-MAR-2006 will be returned.
    Also, the next time you open the Calendar, the date - 1 day is selected in
    the Calendar.
    For example, if you open the calendar on a selectInputDate with value
    31-MAR-2006, the calendar will display 30-MAR-2006 as the selected date.It seems it's your problem - could you confirm (what's your time zone) ?
    The bug is fixed in JDeveloper 10.1.3.1 (not yet available).
    In case you have access to MetaLink, the bug reference is 5125718 - DATEPICKER (SELECTINPUTDATE) RETURNS A ONE HOUR DIFFERENT DATE
    Regards,
    Didier.

  • Report is giving wrong data for a material

    Hi Gurus,
    The labor cost direct for a material has to be a 0.21 but it is showing -2.1 for that particular material. This is a custom report(its a Z report). . This report is also used for filing for US customs for materials import and export.
    Can anyone please suggest their ideas in changing the direct labor cost for that particular material.
    Thanks,
    Kiran
    Edited by: Kumar&amp;kumar on Nov 2, 2010 2:09 PM

    hi
    good
    NEW-PAGE PRINT ON should be work in the background also,check your syntax with the below syntax,if still it is going to the different printer in the background than check with the configuration setting of printer for the particular report that you r printing,sometime it happens that even in the foreground the correct printer ideanfies but in the background that same printer didnt identify.
    NEW-PAGE PRINT ON
        NEW-SECTION
        PARAMETERS pripar
        ARCHIVE PARAMETERS arcpar
        NO DIALOG.
      DO 440 TIMES.
        WRITE (3) sy-index.
      ENDDO.
      NEW-PAGE PRINT OFF.
    ENDFORM.
    thanks
    mrutyun^

  • Wrong Data Display in Direct DTP

    Dear All.
    we have created an data source base on function module for direct access, the data source work fine in RSA3 giving the right value, but when i check the cube by giving the Date value it give me no result as the same date is showing the result in RSA3.
    i have check in the query that if i give the range for whole month it provide me with the right result but for one day or interval of 10 days or week it return no data.
    but in RSA3 it is showing correct result.
    kindly please let me know the reason why it is showing this behaviour.
    kind regards,

    Due to date format, now solved

  • Same query giving different results

    Hi
    I m surprised to see the behaviour of oracle. I have two different sessions for same scheema on same server. In both sessions same query returns different results. The query involves some calculations like sum and divisions on number field.
    I have imported this data from another server using export / import utility available with 9i server. Before export every thing was going fine. Is there some problem with this utility.
    I m using Developer 6i as the front end for my client server application. The behaviour of my application is very surprizing as once it shows the correct data and if I close the screen and reopen, it shows wrong data.
    I m really stucked with the abnormal behaviour. Please tell me the possiblities and corrective action for these conditions.
    Regards
    Asad.

    There is nothing uncommitted in both the sessions. But still different results are returned.
    I m sending u the exact query and result returned in both sessions.
    Session 1:
    SQL> rollback;
    Rollback complete.
    SQL> SELECT CC.CREDIT_HRS,GP.GRADE_PTS
    2 FROM GRADE G, COURSE_CODE CC, GRADE_POLICY GP
    3 WHERE G.COURSE_CDE=CC.COURSE_CDE
    4 AND G.SELECTION_ID=45 AND G.GRADE_TYP=GP.GRADE_TYP
    5 AND G.TERM_PROG_ID=17 AND GP.TERM_ID=14
    6 /
    CREDIT_HRS GRADE_PTS
    3 4
    4 3.33
    4 3.33
    3 4
    3 4
    3 4
    3 4
    7 rows selected.
    SQL>
    SESSION 2:
    SQL> rollback;
    Rollback complete.
    SQL> SELECT CC.CREDIT_HRS,GP.GRADE_PTS
    2 FROM GRADE G, COURSE_CODE CC, GRADE_POLICY GP
    3 WHERE G.COURSE_CDE=CC.COURSE_CDE
    4 AND G.SELECTION_ID=45 AND G.GRADE_TYP=GP.GRADE_TYP
    5 AND G.TERM_PROG_ID=17 AND GP.TERM_ID=14
    6 /
    CREDIT_HRS GRADE_PTS
    3 4
    4 3.33
    3 4
    3 4
    3 4
    3 4
    6 rows selected.
    SQL>
    U can see in session 1, seven rows are returned while in session 2 six rows are returned. I have issued a rollback before query to be sure that data in both sessions is same.

  • Adobe form is printing wrong data for the first print attempt

    Hi All,
    I need a quick help from Adobe print form gurus. Until now i dint get an issue on printing adobe interactive form from my portal. For eg., when i am giving a print for the first attempt, it was printing the form with wrong data in form fields and whereas when i tried to print it for the second time, then it is printing properly with right information.
    Please help.
    Regards,
    Praveen Kambala.

    Hi Praveen,
    Find out the data what is being printed for the first time, and check what is the flag that is making the change.  Hope that should resolve your issue.
    Thanks,
    Rakesh.

Maybe you are looking for