Issue in query my  order in Order Management

Hi,
I customized the OM module to give credit card information in third party site, for that i assigned dummy values for credit card and card holder name etc in the OM. to open third party site. Now my issue is if i query my order in OM dummy values is dispalyed instead of values given in third party window.
I check the following API's IBY_FNDCPT_SETUP_PUB, IBY_INSTRREG_PUB and IBY_CREDITCARD_PKG.
Istore
I got entries in the IBY_FNDCPT_SETUP_PUB for my istore new card order. Now my issue is if i query that order in the OM my credit card no,card holder name expiration date not displayed instead of dummy values which i assigned is displaying but the details are updated in the lov for that order.
If i do authorization for existing credit card in istore. And query my order in the OM my credit card no,card holder name expiration date are displaying correctly. Now i need solution to fix the problem so help me to fix it.
Regards
Khan

Maybe you can try to reset QueryModel, something like this:
QueryModel queryModel = queryComponent.getModel(); 
QueryDescriptor queryDescriptor = queryComponent.getValue(); 
queryModel.reset(queryDescriptor); 
queryComponent.refresh(FacesContext.getCurrentInstance());
AdfFacesContext.getCurrentInstance().addPartialTarget(queryComponent);Sorry, I don't have any more ideas :(
Dario

Similar Messages

  • Freight Cost issue at Order Management

    Dear All,
    I have Booked a sales order and done pick release process. Now, I would like to attach freight cost before shipping process. Gone to Shipping transaction form, queried my order number then gone to Actions>Assign Freight Cost>Go and assigned predefined freight cost for 1000USD. But it was not reflected in AR Invoice.
    What may be the cause of this issue.

    Hi Al,
    Issue has been resolved. We can use Group condition for this requirement.
    Thanks to all, Lakshmikanth

  • Tuning Oracle Applicatons Order Management Query

    Hi
    We are trying to build a Order Management related workbench for this I have created below query as per the client requirement.
    And I have to use one package function to get Available_qty based on client defination. Package Function name is "xx_eg_calculated_onhand".
    User will query this view based on Customer_id and Salesperson_id. When this view executed with these two values its taking long time.
    But, if user queries with order_number it is getting executed fastly. Could somebody let me know what should I do to get this query execute fast when
    user query with either customer_id or salesrep_id OR both.
    CREATE OR REPLACE VIEW xxrelease_sales_orders_v (row_id,
    sales_oder,
    cust_po_number,
    line_id,
    carrier,
    segment1,
    customer_item_number,
    description,
    ship_from,
    ship_to,
    request_date,
    order_quality,
    available_qty,
    shipped_quality,
    uom,
    customer_name,
    sales_person_name,
    delivery_detail_id,
    cust_hold,
    release_check,
    line_status,
    organization_code,
    org_id,
    order_number,
    tolerance,
    delivery_id,
    organization_id,
    salesrep_id,
    party_id,
    inventory_item_id,
    header_id,
    cust_account_id,
    location_id,
    cust_acct_site_id
    AS
    SELECT      a.row_id,
              a.Sales_Order,
              a.Cust_Po_Number,
              a.Line_ID,
              a.Carrier,
              a.segment1,
              a.Customer_Item_Number,
              a.description,
              a.Ship_From,
              a.ship_to,
              a.request_date,
    a.order_quality,
              DECODE(SIGN(a.Available_qty),-1, 0, a.available_qty) Available_Qty,
              DECODE(SIGN(LEAST(a.order_quality, a.Available_qty)), -1,0, LEAST(a.order_quality, a.Available_qty)) Shipped_Qty,
              a.uom,
              a.Customer_Name,
              a.Sales_Person_Name,
              a.delivery_detail_id,
              a.cust_hold,
              a.release_check,
              a.Line_status,
              a.organization_code,
              a.org_id,
              a.order_number,
    a.tolerance,
              a.delivery_id,
              a.organization_id,
              a.salesrep_id,
              a.party_id,
              a.inventory_item_id,
              a.header_id,
              a.cust_account_id,
              a.location_id,
              a.cust_acct_site_id
    From (
    SELECT     ooh.ROWID row_id,
              ooh.order_number||'-'||ool.line_number||'.'||ool.shipment_number Sales_Order,
              ool.cust_po_number,
              ool.line_id,
              NVL (ool.freight_carrier_code, 'NA') carrier,
              msi.segment1,
              ool.ordered_item Customer_Item_Number,          
              msi.description,
              haou.name Ship_From,
              hl.city || ' ' || hl.state || ' ' || hl.postal_code ship_to,
              NVL (ool.request_date, SYSDATE) request_date,
    NVL (ool.ordered_quantity, 0) order_quality,
              xxeg_releaseworkbench_form_pkg.xx_eg_calculated_onhand(ool.line_id) Available_qty,
              ool.order_quantity_uom uom,
              hp.party_name Customer_Name,
              hca.account_number Customer_Number,
              jrs.name Sales_Person_Name,
              wdd.delivery_detail_id,
              0 cust_hold,
              0 release_check,
              oe_line_status_pub.Get_Line_Status(ool.line_id, ool.flow_status_code) Line_status,
              ool.org_id,
              ooh.order_number,
    NVL (ool.ship_tolerance_above, 0) tolerance,
              wda.delivery_id,
              ool.ship_from_org_id organization_id,
              jrs.salesrep_id,
              hp.party_id,
              msi.inventory_item_id,
              ooh.header_id,
              hca.cust_account_id,
              hps.location_id,
              hcsu.cust_acct_site_id,
              ooh.ship_to_org_id site_use_id,
              hcas.party_site_id,
              '0' organization_code
    FROM      oe_order_headers_all ooh,
              oe_order_lines_all ool,
              wsh_delivery_details wdd,
              wsh_delivery_assignments wda,
              mtl_system_items_b msi,
              hz_cust_accounts hca,
              hz_parties hp,
              jtf_rs_salesreps jrs,
              hz_cust_site_uses_all hcsu,
              hz_cust_acct_sites_all hcas,
              hz_party_sites hps,
              hz_locations hl,
              hr_all_organization_units haou
    WHERE      ooh.header_id = ool.header_id     
    AND          ooh.header_id = wdd.source_header_id
    AND          ool.line_id     = wdd.source_line_id
    AND          wdd.delivery_detail_id = wda.delivery_detail_id
    AND          ool.inventory_item_id = msi.inventory_item_id
    AND          ooh.ship_from_org_id = msi.organization_id
    AND          ooh.sold_to_org_id      = hca.cust_account_id
    AND          hca.party_id          = hp.party_id
    AND          ool.salesrep_id          = jrs.salesrep_id
    AND          ool.org_id               = jrs.org_id
    AND          ooh.ship_to_org_id     = hcsu.site_use_id
    AND          hcsu.cust_acct_site_id = hcas.cust_acct_site_id
    AND          hcas.party_site_id     = hps.party_site_id
    AND          hps.location_id          = hl.location_id
    AND          ool.ship_from_org_id = haou.organization_id
    AND          wdd.released_status     = 'R'
    AND          hcsu.site_use_code     = 'SHIP_TO'
    AND      ool.flow_status_code = 'AWAITING_SHIPPING'
    --and     hca.cust_account_id = 1531 and jrs.salesrep_id = 100000060
    --AND          ooh.order_number = '361130'
    ) a
    Function
    FUNCTION xx_eg_calculated_onhand (p_so_line_id IN NUMBER) RETURN NUMBER IS
    --CREATE OR REPLACE PROCEDURE xx_eg_calculated_onhand (p_so_line_id IN NUMBER) IS
    -- Steps Involved to calculate the onhand availability
    --     1. Get Inventory Item ID and Warehouse from given sales order line ID
    -- Local Variable Declration
         l_inventory_item_id          apps.oe_order_lines_all.inventory_item_id%TYPE := 0;
         l_organization_id          apps.oe_order_lines_all.ship_from_org_id%TYPE := 0;
         l_order_quantity_uom          apps.oe_order_lines_all.order_quantity_uom%TYPE := '';
         l_primary_uom_code          apps.mtl_system_items_b.primary_uom_code%TYPE := '';
         l_onhand_reserve          NUMBER(15,2) := 0;
         l_hard_reservation          NUMBER(15,2) := 0;
         l_so_soft_reservation          NUMBER(15,2) := 0;
         l_wo_soft_reservation          NUMBER(15,2) := 0;
         l_so_released_ware_qty          NUMBER(15,2) := 0;
    -- Cursor declrations
         -- Get inventory item, warehouse and order UOM Details
         CURSOR      Get_inv_and_org_details IS
         SELECT     ool.inventory_item_id,
              ool.ship_from_org_id,
              ool.order_quantity_uom,
              msi.primary_uom_code
         FROM     apps.oe_order_lines_all ool,
              apps.mtl_system_items_b msi
         WHERE     ool.line_id = NVL(p_so_line_id,0)
         AND     ool.inventory_item_id      = msi.inventory_item_id
         AND     ool.ship_from_org_id     = msi.organization_id;
         -- Get Hard Reservation details for given item and warehouse
         CURSOR     Get_Hard_reservation(p_inventory_item_id IN NUMBER, p_organization_id IN NUMBER) IS
         SELECT     SUM(reservation_quantity)
         FROM     apps.mtl_reservations
         WHERE     inventory_item_id      = NVL(p_inventory_item_id,0)
         AND     organization_id          = NVL(p_organization_id, 0)
         AND     demand_source_line_id <> p_so_line_id;
         -- Get Soft reservation details for given item and warehouse for Sales order
         CURSOR     Get_so_soft_reservation (p_inventory_item_id IN NUMBER, p_organization_id IN NUMBER) IS
         SELECT     SUM(mlqv.onhand_qty)
         FROM      xxapps.xx_eg_lot_reservations xelr,
              xxapps.mtl_lot_qty_vw mlqv,
              apps.oe_order_lines_all ool
         WHERE     xelr.lot_no      = mlqv.lot_no
         AND     xelr.so_line_id = ool.line_id
         AND     mlqv.org_id      = ool.ship_from_org_id
         AND     mlqv.item_id      = ool.inventory_item_id
         AND     mlqv.org_id      = p_organization_id
         AND     mlqv.item_id      = p_inventory_item_id;
         -- Get Soft reservation details for given item and warehouse for work orders
         CURSOR     Get_wo_soft_reservation (p_inventory_item_id IN NUMBER, p_organization_id IN NUMBER) IS
         SELECT     SUM(mlqv.onhand_qty)
         FROM      xxapps.xx_eg_lot_reservations xelr,
              xxapps.mtl_lot_qty_vw mlqv,
              wip.wip_requirement_operations wro
         WHERE     xelr.lot_no           = mlqv.lot_no
         AND     xelr.wip_entity_id      = wro.wip_entity_id
         AND     mlqv.org_id           = wro.organization_id
         AND     mlqv.item_id           = wro.inventory_item_id
         AND     mlqv.org_id           = p_organization_id
         AND     mlqv.item_id           = p_inventory_item_id;
         -- Get Sales order lines quantity for the shipment status 'Released to Wareshoue'
         CURSOR     Get_so_qty (p_inventory_item_id IN NUMBER, p_organization_id IN NUMBER) IS
         SELECT      SUM(requested_quantity)
         FROM      apps.wsh_deliverables_v
         WHERE released_status='S'
         AND     inventory_item_id = p_inventory_item_id
         AND organization_id = p_organization_id;
    BEGIN
         Dbms_output.put_line('Function Started with so_line_id = '||p_so_line_id);
         -- Get the inventory_item_id and warehouse id and
         --     ordered quantity uom details
         -- By opening the cursor Get_inv_and_org_details
         OPEN Get_inv_and_org_details;
         FETCH Get_inv_and_org_details INTO l_inventory_item_id,l_organization_id,l_order_quantity_uom,l_primary_uom_code;
         CLOSE Get_inv_and_org_details;
         Dbms_output.put_line('Inventory item id = '||l_inventory_item_id||' and warehouse id = '||l_organization_id);
         IF (l_inventory_item_id = 0 OR l_inventory_item_id IS NULL) OR
              (l_organization_id = 0 OR l_organization_id IS NULL) THEN
              dbms_output.put_line('No inventory/wareshouse details available for given sales order line');
              RETURN 0;
         END IF;
         -- Get onhand available to reserve quantity using API
         -- passing inventory item id and organization id as
         -- a parameters.
         l_onhand_reserve     := apps.xx_utility_pkg.Get_Available_to_Reserve_org(l_inventory_item_id,l_organization_id);
         Dbms_output.put_line('Onhand availability to Reserve quantity = '||l_onhand_reserve);
         -- Get hard reservation quantity by
         -- passing inventory item id and organization id as
         -- a parameters to cursor Get_Hard_reservation
         OPEN Get_Hard_reservation(l_inventory_item_id,l_organization_id);
              FETCH Get_Hard_reservation INTO l_hard_reservation;
         CLOSE Get_Hard_reservation;
         Dbms_output.put_line('Hard Reserve quantity = '||l_hard_reservation);
         -- Get Soft reservation quantity by
         -- passing inventory item id and organization id as
         -- a parameters to cursor
         --     Get_so_soft_reservation for sales lines
         OPEN Get_so_soft_reservation(l_inventory_item_id,l_organization_id);
              FETCH Get_so_soft_reservation INTO l_so_soft_reservation;
         CLOSE Get_so_soft_reservation;
         -- Get Soft reservation quantity by
         -- passing inventory item id and organization id as
         -- a parameters to cursor
         --     Get_wo_soft_reservation for work orders
         OPEN Get_wo_soft_reservation(l_inventory_item_id,l_organization_id);
              FETCH Get_wo_soft_reservation INTO l_wo_soft_reservation;
         CLOSE Get_wo_soft_reservation;
         -- Get Sales order line sum quantity for those
         -- lines which has a status of 'Released to Warehouse'
         -- at their shipment level for given parameters
         OPEN Get_so_qty(l_inventory_item_id,l_organization_id);
              FETCH Get_so_qty INTO l_so_released_ware_qty;
         CLOSE Get_so_qty;
         INSERT INTO xxapps.xxeg_calculated_onhand_tbl
                   order_line_id,
                   inventory_item_id,
                   organization_id,
                   available_to_reserve,
                   hard_reservation,
                   soft_reservation_so,
                   soft_reservation_wo,
                   other_so_lines_qty,
                   run_date
                   VALUES
                   p_so_line_id,
                   l_inventory_item_id,
                   l_organization_id,
                   NVL(l_onhand_reserve,0),
                   NVL(l_hard_reservation,0),
                   NVL(l_so_soft_reservation,0),
                   NVL(l_wo_soft_reservation,0),
                   NVL(l_so_released_ware_qty,0),
                   sysdate
         Commit Work;
    Create table xxapps.xxeg_calculated_onhand_tbl
         order_line_id          NUMBER,
         inventory_item_id      NUMBER,
         organization_id      NUMBER,
         available_to_reserve      NUMBER,
         hard_reservation     NUMBER,
         soft_reservation_so     NUMBER,
         soft_reservation_wo     NUMBER,
         other_so_lines_qty     NUMBER,
         run_date          DATE
         RETURN (NVL(l_onhand_reserve,0) + NVL(l_hard_reservation,0) - (NVL(l_so_soft_reservation,0) + NVL(l_wo_soft_reservation,0)) - NVL(l_so_released_ware_qty,0));
    EXCEPTION
    WHEN others THEN
         RETURN (0);
    END xx_eg_calculated_onhand;
    Kiran

    Hi
    I have gathered a explain plan. Could somebody let me know whats going on.
    plan_table_output
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 1 | 404 | 87 |
    | 1 | NESTED LOOPS | | 1 | 404 | 87 |
    | 2 | NESTED LOOPS | | 1 | 374 | 86 |
    | 3 | NESTED LOOPS | | 1 | 323 | 85 |
    | 4 | NESTED LOOPS | | 1 | 300 | 84 |
    | 5 | NESTED LOOPS | | 1 | 290 | 83 |
    | 6 | NESTED LOOPS | | 1 | 280 | 80 |
    | 7 | NESTED LOOPS | | 1 | 261 | 79 |
    | 8 | NESTED LOOPS | | 1 | 209 | 78 |
    | 9 | NESTED LOOPS | | 1 | 192 | 75 |
    | 10 | NESTED LOOPS | | 1 | 164 | 74 |
    | 11 | NESTED LOOPS | | 1 | 76 | 72 |
    | 12 | NESTED LOOPS | | 1 | 46 | 3 |
    | 13 | TABLE ACCESS BY INDEX ROWID| HZ_CUST_ACCOUNTS | 1 | 16 | 2 |
    |* 14 | INDEX UNIQUE SCAN | HZ_CUST_ACCOUNTS_U1 | 1 | | 1 |
    | 15 | TABLE ACCESS BY INDEX ROWID| HZ_PARTIES | 1 | 30 | 1 |
    |* 16 | INDEX UNIQUE SCAN | HZ_PARTIES_U1 | 1 | | |
    | 17 | TABLE ACCESS BY INDEX ROWID | OE_ORDER_HEADERS_ALL | 1 | 30 | 69 |
    |* 18 | INDEX RANGE SCAN | OE_ORDER_HEADERS_N2 | 1 | | 1 |
    |* 19 | TABLE ACCESS BY INDEX ROWID | OE_ORDER_LINES_ALL | 1 | 88 | 2 |
    |* 20 | INDEX RANGE SCAN | OE_ORDER_LINES_N1 | 6 | | 1 |
    | 21 | TABLE ACCESS BY INDEX ROWID | JTF_RS_SALESREPS | 1 | 28 | 1 |
    |* 22 | INDEX UNIQUE SCAN | JTF_RS_SALESREPS_U1 | 1 | | |
    |* 23 | TABLE ACCESS BY INDEX ROWID | WSH_DELIVERY_DETAILS | 1 | 17 | 3 |
    |* 24 | INDEX RANGE SCAN | WSH_DELIVERY_DETAILS_N3 | 4 | | 2 |
    | 25 | TABLE ACCESS BY INDEX ROWID | MTL_SYSTEM_ITEMS_B | 1 | 52 | 1 |
    |* 26 | INDEX UNIQUE SCAN | MTL_SYSTEM_ITEMS_B_U1 | 1 | | |
    |* 27 | TABLE ACCESS BY INDEX ROWID | HZ_CUST_SITE_USES_ALL | 1 | 19 | 1 |
    |* 28 | INDEX UNIQUE SCAN | HZ_CUST_SITE_USES_U1 | 1 | | |
    | 29 | TABLE ACCESS BY INDEX ROWID | WSH_DELIVERY_ASSIGNMENTS | 1 | 10 | 3 |
    |* 30 | INDEX RANGE SCAN | WSH_DELIVERY_ASSIGNMENTS_N3 | 1 | | 2 |
    | 31 | TABLE ACCESS BY INDEX ROWID | HZ_CUST_ACCT_SITES_ALL | 1 | 10 | 1 |
    |* 32 | INDEX UNIQUE SCAN | HZ_CUST_ACCT_SITES_U1 | 1 | | |
    |* 33 | TABLE ACCESS BY INDEX ROWID | HZ_PARTY_SITES | 1 | 23 | 1 |
    |* 34 | INDEX UNIQUE SCAN | HZ_PARTY_SITES_U1 | 1 | | |
    |* 35 | TABLE ACCESS BY INDEX ROWID | HZ_LOCATIONS | 1 | 51 | 1 |
    |* 36 | INDEX UNIQUE SCAN | HZ_LOCATIONS_U1 | 1 | | |
    | 37 | TABLE ACCESS BY INDEX ROWID | HR_ALL_ORGANIZATION_UNITS | 1 | 30 | 1 |
    |* 38 | INDEX UNIQUE SCAN | HR_ORGANIZATION_UNITS_PK | 1 | | |
    Predicate Information (identified by operation id):
    14 - access("HCA"."CUST_ACCOUNT_ID"=1531)
    16 - access("HCA"."PARTY_ID"="HP"."PARTY_ID")
    18 - access("OOH"."SOLD_TO_ORG_ID"=1531)
    filter("OOH"."SOLD_TO_ORG_ID"="HCA"."CUST_ACCOUNT_ID")
    19 - filter("OOL"."FLOW_STATUS_CODE"='AWAITING_SHIPPING' AND "OOL"."SALESREP_ID"=100000060)
    20 - access("OOH"."HEADER_ID"="OOL"."HEADER_ID")
    22 - access("JRS"."SALESREP_ID"=100000060 AND "OOL"."ORG_ID"="JRS"."ORG_ID")
    filter("OOL"."SALESREP_ID"="JRS"."SALESREP_ID")
    23 - filter("OOH"."HEADER_ID"="WDD"."SOURCE_HEADER_ID" AND "WDD"."RELEASED_STATUS"='R')
    24 - access("OOL"."LINE_ID"="WDD"."SOURCE_LINE_ID")
    26 - access("OOL"."INVENTORY_ITEM_ID"="MSI"."INVENTORY_ITEM_ID" AND
    "OOH"."SHIP_FROM_ORG_ID"="MSI"."ORGANIZATION_ID")
    27 - filter("HCSU"."SITE_USE_CODE"='SHIP_TO')
    28 - access("OOH"."SHIP_TO_ORG_ID"="HCSU"."SITE_USE_ID")
    30 - access("WDD"."DELIVERY_DETAIL_ID"="WDA"."DELIVERY_DETAIL_ID")
    32 - access("HCSU"."CUST_ACCT_SITE_ID"="HCAS"."CUST_ACCT_SITE_ID")
    33 - filter("HZ_PARTY_SITES"."ACTUAL_CONTENT_SOURCE"<>'DNB' AND
    "HZ_PARTY_SITES"."ACTUAL_CONTENT_SOURCE"<>'SST')
    34 - access("HCAS"."PARTY_SITE_ID"="HZ_PARTY_SITES"."PARTY_SITE_ID")
    35 - filter(NVL("HZ_LOCATIONS"."ACTUAL_CONTENT_SOURCE","HZ_LOCATIONS"."CONTENT_SOURCE_TYPE")<>'DNB'
    AND NVL("HZ_LOCATIONS"."ACTUAL_CONTENT_SOURCE","HZ_LOCATIONS"."CONTENT_SOURCE_TYPE")<>'SST')
    36 - access("HZ_PARTY_SITES"."LOCATION_ID"="HZ_LOCATIONS"."LOCATION_ID")
    38 - access("OOL"."SHIP_FROM_ORG_ID"="HAOU"."ORGANIZATION_ID")
    Note: cpu costing is off
    Regards
    Kiran

  • Order Management Performance Issue

    In the Oracle Applications home page, when I login as OM Super User and for order to cash functionality, when I click on Order, Returns > Quick Sales Orders screen, it takes forever to load. When I reboot my client desktop PC machine, it loads quickly.
    Any ideas how to solve this performance issue for Order Management Quick Sales?
    We are running Oracle 12.1.1 EBS on Linux 64 bit OS platform.

    Hi,
    Please see if these documents are applicable.
    Note: 845765.1 - R12: Performance Navigating To Line Item Tab: OE_AK_SOLD_TO_ORGS_V [ID 845765.1]      
    Note: 399998.1 - OEXOEORD: Performance Entering Item On A Sales Order Line
    Regards,
    Hussein

  • Oracle Apps EBS-Order Management Ceritification Query

    Hi Gurus,
    I found there are two different sets of exam for R12 - Certified Implementation Specialist and Certified Expert Consultant.
    First time I am taking certification in Oracle EBS, my company is OPN partner. They have asked me to take certification, please advise which one I have to take first, which is useful and get indepth knowledge about Order management.
    Is there any chronological order to take above test? first specialist, next Expert or directly can I take Expert.
    If anyone has any useful material/ Question and Answers, useful information about EBS-Order management, fundamentals of applications, Kindly forward to [email address removed by moderator for security purposes]
    Thanks
    Kumar
    Edited by: Brandye Barrington on Oct 8, 2012 1:58 PM

    First you need to remove your email address. The moderator will remove it if you don't. Any materials that can be emailed to you are either illicit (brain dumps) or illegal (copyrighted). Requesting them on this forum is not allowed.
    ...please advise which one I have to take first, which is useful and get indepth knowledge about Order management.The Expert certification will require more in-depth knowledge than the specialist certification. Specialist certifications are primarily targeted at candidates belonging to OPN partners to demonstrate overview knowledge rather than in-depth.
    Is there any chronological order to take above test? first specialist, next Expert or directly can I take Expert.The two tests have no relationship to each other in that respect.

  • INVENTORY & ORDER MANAGEMENT Tables join conditions required

    Hi All,
    I have to create one view, it has to display item_number, item_description,quantity_in_warehouse and pendingquantity_in_salesorder.
    query is based on INVENTORY & ORDER MANAGEMENT Tables. i have written below query, it is not giving expected output. Kindly go through once and rectify me if i did any thing wrong while writing the join conditions.
    SELECT mtlb.segment1 Item_Number,
    mtlb.description Item_Description,
    mtld.transaction_quantity Quantity_in_Wearhouse,
    oel.ordered_quantity PendingQuantity_in_SalesOrder
    FROM mtl_system_items_b mtlb,
    mtl_onhand_quantities_detail mtld,
    oe_order_headers_all oeh,
    oe_order_lines_all oel
    WHERE mtlb.inventory_item_id = mtld.inventory_item_id
    AND mtlb.organization_id ; = mtld.organization_id
    AND mtlb.inventory_item_id ; = oel.inventory_item_id
    AND oeh.header_id ; = oel.header_id
    AND oeh.org_id ; = oel.org_id
    AND oeh.ship_from_org_id ; = mtlb.organization_id
    AND oel.ship_from_org_id ; = mtlb.organization_id
    AND mtld.subinventory_code LIKE 'Warehouse'
    AND oel.flow_status_code LIKE 'AWAITING_SHIPPING'
    ORDER BY mtlb.segment1;
    it is bit urgent. please help me to resolve this issue.
    Thanks.
    Edited by: user627525 on Jul 19, 2010 4:35 AM

    Hi Jonny,
    Thanks for your reply. it is very useful for me. need small clarification.
    i have execute the query that u have given. please find the following output.
    segment1 order_number line_number shipment_number on_hand
    210020004000011 10005 1 1 139150
    210020004000011 10006 1 1 139150
    210020004000013 10005 2 1 27675
    210020004000013 10006 2 1 27675
    i have modified the query and added column ordered_quantity from oe_order_lines_all table.
    SELECT
    mtlb.segment1 ; as Item_Number,
    mtlb.description as Item_Description,
    sum(mtld.primary_transaction_quantity) as Quantity_in_Whouse,
    oel.ordered_quantity as PQuantity_in_SOrder
    FROM oe_order_headers_all oeh,
    oe_order_lines_all oel,
    mtl_system_items_b mtlb,
    mtl_onhand_quantities_detail mtld
    WHERE oel.header_id = oeh.header_id
    AND oel.inventory_item_id = mtlb.inventory_item_id
    AND oel.ship_from_org_id = mtlb.organization_id
    AND oel.inventory_item_id = mtld.inventory_item_id
    AND oel.ship_from_org_id = mtld.organization_id
    AND oel.flow_status_code = 'AWAITING_SHIPPING'
    AND mtld.subinventory_code = 'Warehouse'
    GROUP By mtlb.segment1,mtlb.description,oel.ordered_quantity
    ORDER BY mtlb.segment1;
    i have executed the above query. Quantity_in_Whouse is showing double the actual available quantity.
    item_number item_description Quantity_in_Whouse PQuantity_in_SOrder
    210020004000011 item1 278300 100
    210020004000013 item3 55350 125
    when i executed the below query, Quantity_in_Whouse is showing 139050 and 27550 respectively.
    SELECT mtlb.segment1 Item_Number,
    mtlb.description,
    sum(mtld.primary_transaction_quantity) Quantity_in_Whouse
    FROM mtl_system_items_b mtlb,
    mtl_onhand_quantities_detail mtld
    WHERE mtlb.inventory_item_id = mtld.inventory_item_id
    AND mtlb.organization_id ; = mtld.organization_id
    AND mtld.subinventory_code LIKE 'Warehouse'
    and mtlb.segment1 in ('210020004000011','210020004000013')
    group by mtlb.segment1, mtlb.description
    ORDER BY mtlb.segment1;
    item_number item_description Quantity_in_Whouse
    210020004000011 item1 139050
    210020004000013 item3 27550
    please give some solution so that i can display Quantity_in_Whouse as 139050 and 27550 .
    if i am any thing wrong please rectify me.
    Thanks in advance.
    Edited by: user627525 on Jul 19, 2010 7:54 AM
    Edited by: user627525 on Jul 19, 2010 7:56 AM
    Edited by: user627525 on Jul 19, 2010 9:39 AM

  • Creation of PO's from Oracle Order Management

    Required Business Scenario
    Customer orders are received via the internet and imported into Oracle Order Management via an open interface table. The customer orders are processed by Oracle OM and converted to Purchase Orders which are then sent to suppliers (as no stock is held at our site). Goods are then shipped directly to the customer by the supplier. We take a commission for the service offered.
    Problem
    As we take a commission for the service described above, the value of the Purchase Order will be different to the value of the original order received via Order Management, however Oracle Purchasing does not allow you to place a Purchase Order on a percentage basis terms. (we will take a small commission as a percentage of the value of the original order meaning the value of the Purchase Order will be slightly less than the value of the original order). The following scenario attempts to explain the situation:
    Order received via Oracle Order Management
    5 units @ $20 = $100
    Purchase Order created from above order (required scenario)
    5 units @ $19.70 = $ 98.5
    Our commission @ 1.5% = $ 1.5
    Has anyone encountered this scenario before? If so I would appreciate assistance in how to resolve this issue. How can we create a Purchase Order from the order received via Order Management which will have a different value and allows us to take a percentage as commission?
    Thanks
    null

    I came across your email on Oracle AppsNet. My company has the
    exact same requirement. Did you ever receive any replys related
    to this issue? If so would you be so kind as to forward them to
    me? Thanks.
    Required Business Scenario>Customer orders are received via the internet and imported into Oracle Order Management via an open
    interface table. The customer orders are processed by Oracle OM
    and converted to Purchase Orders which are then sent to
    suppliers (as no stock is held at our site). Goods are then
    shipped directly to the customer by the supplier. We take a
    commission for the service offered. >Problem >As we take a
    commission for the service described above, the value of the
    Purchase Order will be different to the value of the original
    order received via Order Management, however Oracle Purchasing
    does not allow you to place a Purchase Order on a percentage
    basis terms. (we will take a small commission as a percentage of
    the value of the original order meaning the value of the
    Purchase Order will be slightly less than the value of the
    original order). The following scenario attempts to explain the
    situation:>Order received via Oracle Order Management>5 units @
    $20 = $100>Purchase Order created from above order (required
    scenario)>5 units @ $19.70 = $ 98.5>Our commission @ 1.5% = $
    1.5>Has anyone encountered this scenario before? If so I would
    appreciate assistance in how to resolve this issue. How can we
    create a Purchase Order from the order received via Order
    Management which will have a different value and allows us to
    take a percentage as commission?>Thanks >null

  • Creation of PO's from Order Management

    Required Business Scenario
    Customer orders are received via the internet and imported into Oracle Order Management via an open interface table. The customer orders are processed by Oracle OM and converted to Purchase Orders which are then sent to suppliers (as no stock is held at our site). Goods are then shipped directly to the customer by the supplier. We take a commission for the service offered.
    Problem
    As we take a commission for the service described above, the value of the Purchase Order will be different to the value of the original order received via Order Management, however Oracle Purchasing does not allow you to place a Purchase Order on a percentage basis terms. (we will take a small commission as a percentage of the value of the original order meaning the value of the Purchase Order will be slightly less than the value of the original order). The following scenario attempts to explain the situation:
    Order received via Oracle Order Management
    5 units @ $20 = $100
    Purchase Order created from above order (required scenario)
    5 units @ $19.70 = $ 98.5
    Our commission @ 1.5% = $ 1.5
    Has anyone encountered this scenario before? If so I would appreciate assistance in how to resolve this issue. How can we create a Purchase Order from the order received via Order Management which will have a different value and allows us to take a percentage as commission?
    Thanks
    null

    I came across your email on Oracle AppsNet. My company has the
    exact same requirement. Did you ever receive any replys related
    to this issue? If so would you be so kind as to forward them to
    me? Thanks.
    Required Business Scenario>Customer orders are received via the internet and imported into Oracle Order Management via an open
    interface table. The customer orders are processed by Oracle OM
    and converted to Purchase Orders which are then sent to
    suppliers (as no stock is held at our site). Goods are then
    shipped directly to the customer by the supplier. We take a
    commission for the service offered. >Problem >As we take a
    commission for the service described above, the value of the
    Purchase Order will be different to the value of the original
    order received via Order Management, however Oracle Purchasing
    does not allow you to place a Purchase Order on a percentage
    basis terms. (we will take a small commission as a percentage of
    the value of the original order meaning the value of the
    Purchase Order will be slightly less than the value of the
    original order). The following scenario attempts to explain the
    situation:>Order received via Oracle Order Management>5 units @
    $20 = $100>Purchase Order created from above order (required
    scenario)>5 units @ $19.70 = $ 98.5>Our commission @ 1.5% = $
    1.5>Has anyone encountered this scenario before? If so I would
    appreciate assistance in how to resolve this issue. How can we
    create a Purchase Order from the order received via Order
    Management which will have a different value and allows us to
    take a percentage as commission?>Thanks >null

  • Copy Function is Not Working properly In Order Management

    Hi,
    Description-
    When an order with remnant model is copied, it copied only the topple model line and they include items attached to the top model line. It doesn’t copy the
    option class lines and the option item lines (unshipped and shipped).
    Example-
    Enter an order with for pd-pto-model. See order#21231.The ordered quantities and structure of the model is shown below:
    pd-pto-model 5 qty
    pd-std-item1 (included item) 5 qty
    pd-pto-oc (option class) 5 qty
    pd-std-item1 (included item with rfr checked) 5 qty
    pd-std-item2 (option item with rfr checked) 5 qty
    pd-std-item3 (option item) 5 qty
    Booked the order and pick relased the order. While shipconfirming only shipped 5 qty of pd-std-item3 and staged the rest. On querying the sales order, the line status is seen correctly as follows:
    pd-pto-model Closed
    pd-std-item1 (included item) Picked
    pd-pto-oc (option class) Closed
    pd-std-item1 (included item with rfr checked) Picked
    pd-std-item2 (option item with rfr checked) Picked
    pd-std-item3 (option item) Partially Interfaced to receivables
    Copied this order from the order header. The new order# is 21232.On querying the order, I see only 2 lines as follows:pd-pto-model.
    Anyone can help me on this issue.
    Thanks,
    Chinna

    haisrig wrote:
    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
    It sounds to me that you've been lucky for 20 years then.
    Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
    (dbx) run
    Running: sel
    stopped in main at line 9 in file "sel.cpp"
        9      sleeptime.tv_sec = 60;
    (dbx) print sleeptime
    sleeptime = {
        tv_sec  = -4198732
        tv_usec = 0
    }That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
    (dbx) print sleeptime
    sleeptime = {
    tv_sec = -830490588
    tv_usec = 134510556
    and I see the behaviour that you describe.
    Paul

  • Is Paypal a supported Payment Method in Oracle Order Management?

    Hi there -
    Has anybody implemented Paypal as payment method for Oracle Order Management?
    We are on 11510 and looking to add Paypal as payment method apart from existing Credit Card, ACH etc.
    I found a very old (2008) note on metalink that says there is an enhancement request for this.
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=351691.1
    We use Paymentech as payment processor.
    Let me know...
    1. If it's supported with Oracle 11510
    2. Anyone has any experience implementing it.
    thanks,
    Edited by: techy on Oct 25, 2010 12:56 PM

    Hi Stephen-
    First of all thanks for your response.
    Please note that I am not talking about using Paypal as payment processor (similar to Paymentech) but I am talking about using "Paypal" payment method for getting payments from your customers.
    As per my brief understanding, I know that Paypal too provides payment processing functionality where I can get my customer Credit Card, bank accounts etc. validated through paypal tool (I think it's call payflow pro similar to paymentech).
    Again, we are on 11510 right now so R12 functionality may not be useful for us.
    Also, we have already integrated and been using paymentech for payment processing for Credit Cards, ACH etc within 11510. There is no issue about that.
    I hope this is clear.
    Edited by: techy on Oct 25, 2010 2:42 PM

  • OPM/Oracle Order Management

    What are the pro's and con's of switching from OPM Order Fulfillment to Oracle Order Management?
    We use Order Fulfillment now and are concern we will lose the profile functionality when and if we upgrade.

    OPM Order Fulfillment is a simple to use Order Entry and Shipping application that meets the needs of many process manufacturers.
    Oracle Order Management is more flexible and configurable to suit a number of different industries. Oracle Process Manufacturing is integrated
    to Order Management and has functionality to support entry of order quantities in two units of measure, as well as designation
    of a preferred quality grade and automatic allocation of process inventory.
    In place of the Order Profile (or order template) functionality available in Order Fulfillment, we recommend using the Copy Order
    functionality in Order Management. You can establish a special order type in Order Management (you can call it Template or
    Profile) and assign a workflow to the order type that makes it "non-transactable" (the order stays in an "entered" state so that
    it can't be booked or shipped). You can query on these special order types and copy them to create standard orders. When you
    copy an order in Order Management, you can change the order type, so the Template order can be copied and the new order
    type can be "Standard".

  • How to implement Approval hierarchy for Sales Order in Order Management.

    Hi,
    We need approval process for sale orders in Order Management module. Currently we are using credit HOLD option for orders at shipping level. The issue we are facing now is we can not cancel those orders who contains Service Line item in it while on HOLD. The restriction raised at the time of cancelling the order that the Line Item is "fulfilled". Service line item's get fulfilled.
    Is that any other possibility to have Approval hierarchy for Sales Orders in Order Management Module? If it is possible can anybody share the related document or implementation guide?
    Thanks with anticipation in advance.
    Many Regards
    Kaleem Bhatti

    I copied the standard order header workflow and the "Book Order, Manual" workflow to custom workflows.  I then modified the "Book Order, Manual" workflow to put another completely custom workflow (call this "Approvals") in between the "Book Eligible" and "Book" steps.
    The "Approvals" step assessed the sales order, changed the order header to the pending approval flow_status_code, and sent out the appropriate notifications.  The "Approvals" step returned a Complete/Incomplete where complete would proceed to "Book" and incomplete would go back to "Book Eligible."  The new workflow was then assigned to the order type needed.  I don't still have access to that environment (job change) or I would give more definite instructions.

  • Issue with a work order

    Hi Team,
    I am having an issue with the work order having multiple line items for the same component. Out of all line items it is showing error for two line items mentioning,
    No status object available for CMP 81411471 0160 0110
    Double clicked on it msg no displayed BS.001
    Please help on this issue, Thanks in advance.
    Regards
    Nivas

    Are you using Work Clearance Management?? Please provide the detailed error message, if any.
    67826 - Restoring the status for orders RIORDST1
    http://scn.sap.com/thread/3209398
    Check the above details.

  • Order management flow path with tcode in pp module

    hi sap guru's,
    i need the order management flow path with tcode in pp module.
    regards,
    muralidhar.t

    Hi Murlidhar,
    Step 1: Material Master
    Logistics > Production > Master Data > Material Master > Material > Create General > Immediately MM01
    Step 2: BOM creation
    Logistics > Production > Master Data > Bills of Material > Bills of Material > Material BOM > Create CS01
    Step 3: Work Center creation
    Logistics > Production > Master Data > Work Center > ( New Screen ) Work Center > Create CR01
    Step 4: Route creation
    Logistics > Production > Master Data > Routings > Routings > Routing > Create CA01
    Step 5: PIR Generation
    Logistics> Production>production planning>demand management>PIR>Create MD61
    Step 6: MRP Run
    Logistics>Materials Management>Material planning>MRP>MRP>Total Planning>Online MD01 
    or
    Logistics > Production > MRP > MRP > Sng-Item, Multi-Level MD02
    Step 7: Evaluation through MRP list and Stock requirement list
    Logistics>Materials Management>Materials Planning>MRP>Evaluations>MRP List>Individual Display MD05
    Logistics>Materials Management>Materials Planning>MRP>Evaluations>Stock Requirements List MD04
    Step 8: Conversion of Planned order to Production order
    Logistics > Production > Production control > Order > Create > With a planned order CO40
    or
    Logistics >Production > Production control >Order > Create >With material CO01(For creating production order Without planned order)
    Step 9: Order management
    Logistics >Production > Production control >Order > Change >With material CO02
    Step10: Confirmations
    Logistics >Production >Production control >Confirmation >Enter >For order CO15
    or
    Logistics >Production >Production control >Confirmation >Enter >For Operation >For time ticket CO11N
    Step11: Goods issue
    1. Logistics >Production >Production Control >Environment >Goods Movement >Goods Issue
    2. Logistics >Materials Management >Inventory Management >Goods Movement >Goods Issue MB1A--261Movement type
    Step12: Goods receipt
    Logistics > Production > Production Order > Environment > Material Movement > Post Mat to Stock
    or
    Logistics > Materials Management > Inventory Management > Goods Movement > Good Receipt > For Order MB31
    Step13: Techo Or Close Order.
    This can be done from Prduction. Order Header menu.   
    Regards,
    R.Brahmankar

  • Taking more time to pull records from Order Management to Receivables

    Hello Everybody.
    We have a legacy system, which pulls the data into OM creating Orders and taking very long time to push them into Receivables.
    Please provide the activities to be performed so as to improve the process.
    Thanks in Advance.

    Hi,
    There are many reported issues about the performance of this concurrent program (verify by the Order Management patchset, application release, applied patches, ..etc) -- Please see these documents for details.
    Note: 469682.1 - Interface Trip Stop Performance Poor For a Large Batch of Transactions where the Assigned Serial Numbers are Out Of Range
    Note: 395442.1 - Interface Trip Stop Performance Is Poor due to a Missing Non-Unique Index on mtl_material_transactions.picking_line_id
    Note: 751991.1 - Slow Performance In Interface Trip Stop on Large Batch
    Note: 262732.1 - WSHINTERFACES Interface Trip Stop Has Performance Problem
    Note: 406662.1 - Interface Trip Stop - Slow Performance
    Note: 248155.1 - Performance Issue in Interface Trip Stop
    Note: 309214.1 - Performance problem with Interface Trip Stop (ITS) for Internal Sales Orders issue transaction
    Note: 411879.1 - Improving Performance in Order Management
    Regards,
    Hussein

Maybe you are looking for

  • Apple Wireless Keyboard with Windows 7 on non Apple Hardware

    Good Day, I love the Apple Wireless Keyboard and it's the on I use when using my Thinkpad laptop as a desktop, meaning connected to an external Monitor and with an external keyboard and mouse. The Keyboard I use is an Apple Wireless Keyboard. On my M

  • Apple kidnapped my Photoshop CS5 Help Menu

    Hi, I've taken a break from using my CS5 Photoshop program and was needing help editing text, so I clicked on "Help" like I did when I was taking a class in Photoshop last year. All the Help Menu brings up now are things related to my Apple computer.

  • Problem to read an external file in a web application

    Hello everybody. I'd like to know a method for reading a file (how I may connect to it?) This file is in a directory is in an external computer. I don't want to use a client/server application. I think that I must to use JNDI but I'm not sure. I thin

  • Iphoto - slideshow in trash freezing Iphoto

    I moved an iphoto slideshow to trash yesterday and now cannot empty the trash as any attempt to click on the slideshow or empy the trash brings up the  rainbow ball  and I have to force quit.  I have tried reorganising my itunes media files but they

  • Converting MM scheduling agreements to SD sales order

    Hai all, How to convert the Material managemnt scheduling agreement to SALES order for processing the export requirments.