Disable a descriptive flexfield in Order Management

Hi,
I set a descriptive flexfield in the sales order window in OM, now i would like to disable it, How do i do it?
thanks in Advance,
PR

If you have enabled any segments, just disable the segments and context if you have any.
Thanks
Nagamohan

Similar Messages

  • Descriptive flexfield for different purchase order types

    Hi,
    Can i have a descriptive flexfield for different purchase order types?
    Scenario : I have two purchase order types
    1. Blanket : done from req--> auto create --> standard PO
    2. Standard --> Direct PO
    Regards
    846691

    You can use darpan77's suggestion for context sensitive DFF. See http://oracle.anilpassi.com/context-sensitive-descriptive-flexfields.html for an example.
    However, both options you mentioned talk about standard po. Is the difference in how they are generated? (One is manual and the other is autocreated?)

  • Order Lines Descriptive Flexfield

    We import our orders from an external system. We have many additional attributes to store at the order line level. We have already used all 20 Segments on the Additional Line Information Descriptive Flexfield but we still have more attributes to store.
    Is there somewhere else we can store these values? On another DFF or some other solution.?

    You can create a custom table with the order_line_id as the primary key. And you can store your additional data in columns of this table.
    The data won't be visible in the seeded OE form. You will have to write a custom screen that shows data. It will be very easy to create a ZOOM from the OE screens that opens your custom form to show data for a given order line.
    There are global_attribute fields that are typically used by Oracle for localizations. If you do not have any localizations, you can try using them.
    Hope this answers your question
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant
    513-325-9026

  • How to disable programmatically an item in a Descriptive flexfield

    Hi friends,
    doy you know How to disable programmatically an item in a Descriptive flexfield using CUSTOM.pll?
    The problem is that I need to do it under the WHEN-NEW-RECORD-INSTANCE event, and the item (based in an attribute column of a database table) hasn't a canvas asociated at that moment....
    Do you have any example?
    Thanks,
    Jose.

    Hi Prashant,
    mmm yes, for now there are two fields it he DFF window.. but in a future .. may be more..
    I've found a function:
    fnd_flex_key_api.enable_column that may be properly for that, but I don't know what to pass in the the first parameter (flexfield IN flexfield_type)...
    I mean: I suppose is the "name" for my DFF but.. how can I get it?
    Thanks,
    jose.

  • Header of a Descriptive Flexfield

    Hi all,
    I've created a descriptive flex in my page but the text I set in Prompt property doesn't appear in runtime. The user wants to have a header saying "Additional Shipment Information" before their custom attributes. Do I have to create a header region explicitly and put my flex item inside it in order to get this result or there is an option or property missing??
    The problem of create explicitly a header region is that it would appear even is the user disable the flex.
    Thanks in advance,
    Eduardo

    I put this in my processRequest. I need to hide the header when the descriptive flexfield is disabled but the dffBean.isRendered() call always returns true.
    OADescriptiveFlexBean dffBean = (OADescriptiveFlexBean)webBean.findIndexedChildRecursive("ShipHdrDescFlex");
    if(dffBean != null && !dffBean.isRendered()) {
    OAHeaderBean flexHdr = (OAHeaderBean)webBean.findIndexedChildRecursive("FlexHdrRN");
    if(flexHdr != null) {
    flexHdr.setRendered(false);
    tks.
    Eduardo

  • Program to add in the Assignment views Descriptive flexfields segments

    Hi,
    I have added two context fields values in the descriptive flexfield "Additional Assignment Details". I see that the view hrfg_employee_assignments has reflected those changes and has included 4 attribute columns:
    CREATE OR REPLACE VIEW HRFG_EMPLOYEE_ASSIGNMENTS
    (BUSINESS_GROUP_NAME, PERSON_NAME, PREFIX, SUFFIX, FIRST_NAME,
    LAST_NAME, PREFERRED_NAME, MIDDLE_NAMES, TITLE, COLLECTIVE_AGREEMENT_NAME,
    ASSIGNMENT_NUMBER, NORMAL_START_TIME, NORMAL_END_TIME, PRIMARY_FLAG, INTERNAL_ADDRESS,
    MANAGER_FLAG, EMPLOYMENT_CATEGORY, ASSIGNMENT_TYPE_CODE, ASSIGNMENT_TYPE, WORKING_HOURS_AMOUNT,
    WORKING_HOURS_FREQUENCY, EMPLOYEE_NUMBER, HIRE_DATE, ORIGINAL_DATE_OF_HIRE, WORK_TELEPHONE_NUMBER,
    SUPERVISOR_NAME, SUPERVISOR_NUMBER, SALARY_BASIS, ORGANIZATION_NAME, POSITION_NAME,
    JOB_NAME, LOCATION_NAME, GRADE_NAME, PEOPLE_GROUP, PAYROLL_NAME,
    RECRUITMENT_ACTIVITY_NAME, VACANCY_NAME, USER_ASSIGNMENT_STATUS, PER_SYSTEM_ASSIGNMENT_STATUS, PAY_SYSTEM_ASSIGNMENT_STATUS,
    PRIMARY_FLAG_CODE, MANAGER_FLAG_CODE, EMPLOYMENT_CATEGORY_CODE, FREQUENCY_CODE, PER_SYSTEM_STATUS_CODE,
    PAY_SYSTEM_STATUS_CODE, PEO_GRP, PEOPLE_GROUP_50309, CONTEXT, DATE_OF_TEST_2,
    TIME_OF_TEST_2, PLACE_OF_TEST_2, TYPE_OF_TEST_2, DAYS_FOR_PAY_3, HOURS_FOR_PAY_3,
    *"PROM/DEM/TRANSF_ORDER_NUMBER_3"*, ASSIGNMENT_ID, BUSINESS_GROUP_ID, GRADE_ID, JOB_ID,
    LOCATION_ID, ORGANIZATION_ID, PAYROLL_ID, PERIOD_OF_SERVICE_ID, PEOPLE_GROUP_ID,
    PERSON_ID, POSITION_ID, RECRUITMENT_ACTIVITY_ID, SALARY_BASIS_ID, SUPERVISOR_ID,
    VACANCY_ID, COLLECTIVE_AGREEMENT_ID)
    AS
    SELECT .....
    I see that it has added comments in these view columns :
    DESC CONTEXT,800,PER_ASSIGNMENTS,A
    DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE1
    DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE2
    and so on.
    Now I disable those value codes in the descriptive flexfield from System Administrator and add two new context values.
    Which program should I run to reflect these changes in HRFG_EMPLOYEE_ASSIGNMENTS view?
    Thank you.

    Unfortunately Microsoft decided to make things complicated in 2010. Resource.Assignment.Text1 is not the same as Task.Assignment.Text1.
    As far as I know, VBA is the only solution. I would run the code in the before_save event.
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • 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

  • Updating PO Lines Descriptive Flexfield

    We're currently still on R11.5.10.2 and we're customizing the Purchase Orders form by adding an option under the Tools menu to mass update several different fields.  One of the fields happens to be a descriptive flexfield on the PO line.  We're able to update the DFF, but the actual updated value doesn't seem to be reflected/displayed after we perform the update.  If we cursor and tab to the DFF and open it up, it actually has the updated value, but when we close the DFF field, it still displays the old value.  We've tried different calls to see if we can refresh the displaying of DFF, but no luck.  How can we customize to accomplish this in the form?

    It's a straight update to the base table from the PO form.  We're just assigning the values to the DFF (in this case, ATTRIBUTE1) and let the form update the record.  When we assign the value to the ATTRIBUTE1 field, we cannot see this change right away.  If we tab to the DFF, the latest value is there.  And when we tab out of it, the latest value is not being reflected.  In other words, the DFF is not displaying the latest value.  It is only after you save the data that it displays the updated value.   I was hoping that there may be some API related call to DFF that we can make to display the change right away before the data is saved, but I'm not able to get this to work within the form.

  • Any questions on Order Management Header and Item level?

    Hi,
    If you are interviewing somebody...And the position he wants is SD consultant.
    What kind of questions will you raise on OM header level and item level??
    Order management--Questions on Header level
                                  Questions on item level
    Thanks, would be better if you could also attach the answer.
    Thanks!!

    Dear Hoo,
    ORDER MANAGEMENT & SALES
    1.Briefly describe the types and structure of the sales document and give examples of data
    that you find on the different levels.
    Sales*related business transactions are recorded in the system as sales documents. There are, broadly
    speaking, four different groupings of sales documents:
    Sales queries, such as inquiries and quotations
    Sales orders
    Outline agreements, such as contracts and scheduling agreements
    Customer problems and complaints, such as free of charge deliveries and credit memo requests.
    Header Data
    The general data that is valid for the entire document is recorded in the document header. This data
    includes the:
    number of the sold*to party
    number of the ship*to party and the payer
    document currency and exchange rate
    pricing elements for the entire document
    delivery date and shipping point
    Item Data
    Whereas data in the document header applies to all items in the document, some data applies only to
    specific items. This data is stored at item level and includes the:
    material number
    target quantity for outline agreements
    number of the shipto party and the payer (an alternative shipto party or payer can be defined for a
    particular item)
    plant and storage location specifications
    pricing elements for the individual items
    Schedule Line Data
    An item consists of one or more schedule lines. The schedule line contains all the data that is needed
    for a delivery. For example, a customer orders 20 pieces of a material and you enter this as an item in
    the sales order. However, you can only deliver 10 pieces now and the remaining 10 pieces next month.
    In other words, you need to schedule two deliveries. The data for these deliveries (dates, confirmed
    quantities) are stored in two separate schedule lines. In sales documents where delivery data is not
    relevant *for example: contracts, credit and debit memo requests * the system does not create any
    schedule lines.
    Data recorded in the schedule lines includes the:
    schedule line quantity
    delivery date
    confirmed quantity
    2.What is the difference between an inquiry and quotation ?
    . Inquiry: Request made to a vendor for a quotation for required materials or services.
    No availability check is done for inquiry.
    . Quotation: Offer from a vendor to a purchasing organization regarding the supply of materials
    or performance of services subject to predefined terms and conditions.
    A quotation consists of a number of items, in which the total quantity and delivery date of an
    offered material or service are specified.
    The total quantity can be subdivided into several partial quantities with different delivery dates in the
    lines of a delivery schedule.
    3.Do you always have to have a material master record number when you enter an item on a
    sales document (inquiry and quote)? If not what would you have to use to be able to enter
    information at item level?
    No. Customer Material Information or Material Description.
    4.If a customer doesn't place an order with you after you have sent him a quotation, what happens to
    the quotation document?
    Remains active till the end of validity period.
    5.Can you have alternative items in a sales order?
    Yes.
    6.If you reference an inquiry when creating a quotation ,would the inquiry be updated?
    Yes.
    7.Can you copy one inquiry to many quotations ?
    No.
    8.Can you copy several previous documents into one sales order?
    Yes.
    9.Do you always have to copy the entire quantities at item level when you reference a
    previous document?
    No.
    10.Can you make sure that business data in a sales order is only possible to maintain at header
    level?
    Yes.
    11.From where is the delivering plant transferred into the sales order?
    Customer Master, Material Master.
    12.Which partner function is relevant for the delivering plant? The soldtoparty ,
    billtoparty, payer, carrier or the ship* to* party?
    Ship*to party.
    13.Can you manually change the delivering plant in the sales order once it was defaulted from
    the master data?
    Yes.
    14.For what or why do you use the incompletion log?
    To have a complete document so that it doesnu2019t affect subsequent processes.
    15.Can you have different incompletion logs for different item categories? Schedule line
    categories?
    Yes.
    16.If a document is incomplete can you still save the document?
    Yes.
    17.Which reference status can a document have at item level? Which statuses at header level?
    Item level: Partial, Full.
    Header level: Full.
    18.What's the advantage of using text as a reference instead of duplicating it?
    Can be modified if needed.
    19.What three sources provide data for the creation of a sales document?
    Material Master, Customer Master, Previous referenced documents.
    20.Can you change addresses of partners manually in the sales document?
    Yes.
    21.Name several input tools that make order entry faster and give a definition of them?
    Customer Material Information, Product Proposal , Referencing Documents.
    22.In which business environment would you use only the single*line entry screen to create
    and save the order?
    Telephone Sales, Simple Business.
    23.If you do not specify the delivering plant in the sales order, what could the system then not
    do?
    Delivery Scheduling.
    24.For what would you use the fast change function in sales entry?
    Alternate Plants, Delivery or Billing Blocks
    25.Name two ways to control that customers can receive only certain materials?
    Material Listing, Exclusion.
    26.What does the item category control?
    General Data
    . Should pricing be carried out for the item?
    . When should an item be regarded as completed? A quotation item, for example, can only be
    regarded as completed if the entire quantity has been copied into a sales order.
    . Is it an item that refers to a material or is it a text item?
    . Are schedule lines allowed for the item?
    . May general business data, for example, the terms of payment at the item level, deviate from
    those at the header level?
    . Should a system message appear if the item cannot be fully delivered?
    . Which fields are relevant for the incompletion log?
    . Which partner functions are allowed at the item level and which are mandatory?
    . Which output (for example, an order confirmation) is allowed for the business transaction and
    which output determination procedure is used?
    Shipping Data
    . Is an item relevant for delivery?
    . Should the weight and the volume of an item be determined?
    Billing Data
    . Is an item relevant for billing?
    . Should the cost of the item be determined?
    . Is it a statistical item? Pricing is carried out for statistical items. However, they are not added
    to the value of the order, that is, the customer is not charged for them.
    . Should a billing block be set automatically for an item? For example, this may be important for
    items whose prices have to be clarified before billing
    . Is it a returns item?
    . Name the influencing factors for determining the item category in the sales document?
    . Sales Document type, Item Category Group, Higher Level Item, Item Usage.
    . Name the influencing factors for determining the scehdule line category in the sales document?
    . Item Category, MRP Type.
    . What does the sales document type control?
    General Data
    . Can the document be entered only with reference to a preceding document?
    . Should the existing customer
    . material info record be taken into consideration?
    . Should the delivery date be proposed?
    . Must a customer number be entered when creating a document? For example, product
    proposals can be entered without reference to a particular customer.
    . Which order probability is defined?
    . Should the division be taken from the material master record for every item or should an
    alternative division specified in the header take precedence over the item specifications?
    . How should the system respond if the division entered in the header deviates from the division
    in the items?
    . Should a credit limit check be made?
    . From which number range should the document number for internal or external number
    assignment come?
    . Which fields are relevant for the incompletion log? The validity period, for example, is
    important for contracts and must therefore be specified in the document.
    . Can an incomplete document be saved or must all data be complete?
    . Which partner functions are allowed and which ones are mandatory?
    Shipping Data
    . Which delivery type should the delivery resulting from the order have?
    . Should delivery scheduling be carried out?
    . Should transportation scheduling be carried out?
    . Should a delivery block be set automatically for a specific reason? For example, a delivery
    block may be appropriate for a freeofcharge delivery.
    . You can define shipping conditions for a sales document type. These are copied into the
    document regardless of what is defined in the customer master record.
    Billing Data
    -->Which billing type should the invoice resulting from the order or the delivery have?
    Should a billing block be set automatically for a specific reason? For example, a billing block may be
    appropriate if a credit memo request should first be checked before it is used as the basis for a credit
    memo.
    -->Can the sales document type be determined by the system?
    No.
    -->In R/3, can you automatically substitute one product for another? How? What would you
    have to create?
    Yes. Product Selection / Material Determination.
    -->Give a definition of replenishment lead time?
    Total time for the inhouse production or for the external procurement of a product. In inhouse
    production the replenishment lead time is determined to cover all BOM levels.
    What's the difference between checking availability with or without replenishment lead time (RLT)?
    With RLT : Availability check is done only upto end of RLT. If material is not available the date on
    which RLT ends is displayed as Material Availability Date.
    Without RLT : Availability check is unrestricted. Displays Delivery Dates as on which partial deliveries
    can be made with available stock.
    -->Name at least three item categories?
    Standard Items : AFN, AGN, TAN.
    Free of charge Items: AFNN, AGNN, TANN.
    Non*stock Items : AFX, AGX, TAX.
    Text Items : AFTX, AGTX, TATX.
    -->Why would you use different item and schedule line categories?
    Item categories are defined to provide additional control functions for the sales documents and thus
    meet the demands resulting from the different business transactions.
    The items in a sales document are divided into one or more schedule lines. These schedule lines differ
    from each other with respect to date and quantity. For some schedule lines, material requirements
    planning is not carried out; for other schedule lines, it is carried out. Also goods receipt, not goods
    issue, is posted for a schedule line defined in a returns document.
    -->Can you change existing standard item categories?
    Yes.
    -->Can you create new sales order types?
    Yes.
    -->Different dates will be calculated in order entry scheduling . Can you name the lead time
    variables that will be taken into account?
    Transportation lead time, Pick/pack time, Loading time, Transit time .
    If you run out of stock in a specific plant can you check if there are quantities available in other plants?
    Yes.
    -->When you carry out availability check, which quantities or movements can the system take
    into consideration?
    The following elements can be included in the availability check:
    Stocks : safety stock, stock in transfer, stock in quality inspection, blocked stock.
    Inward and outward movements : purchase orders, purchase requisitions, planned orders, production
    orders, reservations, dependent reservations, dependent requirements, sales requirements, delivery
    requirements.
    -->Give some examples of sales document types (description, not necessary the short code)
    that already set up in the standard system?
    Indicator used to control the processing of the various sales documents which are defined in the
    system. E.g., OR, SO, BV, KR. Document types allow the system to process different kinds of business
    transactions, such as standard orders and credit memo requests, in different ways.
    -->Can you maintain texts for a specific customer and store them in the system? If yes, where?
    Yes. Customer Material Information.
    -->When the system checks availability which scheduling would it use first?
    Backward Scheduling.
    -->Name the influencing factors for the determination of the availability date?
    The following data is required for determining this date:
    Route from the shipping point to the ship*to party location
    Shipping point from which the goods are issued
    Loading group from the material master record
    Weight group determined from the order using the order quantity.
    -->Name the three delivery possibilities when there is not enough stock available?
    One Time Delivery, Complete Delivery, Partial Deliveries.
    -->Can you think of an example why you would have to create a text for a customer and copy it
    to the sales order?
    Customer specific instructions.
    -->What is the function of item category group?
    The item category group determines how a material is processed in the sales order. It defines, for
    example, that pricing does not take place for a free of charge item, such as a business gift; or that
    inventory management is not carried out for a service. When processing sales and distribution
    documents, the system uses the item category group to determine the item category. The system
    determines the item category based on the item category group of the material and the current
    business transaction, and proposes it in the respective document.
    When creating the material types non*stock material and services, DIEN is proposed in both cases for
    the item category group, because the order processing for both material types is identical: for
    example, pricing is carried out for both, but no availability check.
    -->On sales order, when the system confirms 20 pieces to be available at a certain date, would
    these 20 pieces still be available for other new sales order coming in later?
    No.
    -->What is a delivery group and why would you use it?
    The complete delivery and delivery group functions enable you to combine some or all of the items in a
    sales order so that they are delivered to the customer together. The system determines automatically
    the latest delivery date possible for the delivery group and adjusts the schedule lines accordingly.
    Corresponding requirements for material requirements planning (MRP) are changed or re*determined.
    -->What is backorder processing?
    The backorder processing functions enable you to list relevant sales documents for specific materials
    and process them from the point of view of availability. You can assign available to promise (ATP)
    stock to outstanding order quantities. In addition, you can withdraw already confirmed quantities and
    reassign them to different items.
    Backorder processing is only available for materials with individual requirements.
    -->Can you link items in a sales order? If yes, when would you do that?
    Yes. Promotional Items.
    -->For what would you use BOMu2019S in sales? What two methods of BOM processing do you have
    in sales order entry? How can you control if the system should/should not explode a BOM in
    the sales order.
    A bill of material (BOM) describes the different components that together create a product. A BOM for
    a bicycle, for example, consists of all the parts that make up the bicycle: the frame, the saddle,
    wheels, and so on. When you enter the material number of a bill of materials that is relevant for sales
    order processing, the system displays the material that describes the whole bill of materials as a main
    item. The components are displayed as sub*items.
    Processing by Main Item : ERLA & Processing by Sub*Item : LUMF
    BOM explosion can be prevented by specifying Item Category Group as NORM.
    Credit limit checks is an example of a very close link between which two SAP modules?
    SD & FI.
    -->What are the two techniques in delivery scheduling?
    Backward Scheduling & Forward Scheduling.
    -->How does a third party deal work? Do you use a special sales order type for that? How could
    the system know that you want to process a third party deal?
    By specifying item category as TAS using double*line entry in the sales order.
    No special order type is available.
    By the item category group and/or material type in Material Master .
    Name the several steps in consignment processing.
    Consignment fillup, Consignment issue, Consignment pickup, Consignment return.
    Whatu2019s the difference between consignment pick*up and consignment return?
    In consignment pick*up, customer returns consignment stock. When goods issue is posted, the
    relevant quantity is deducted from the customer's special stock and is added back to regular stock at
    the plant where the goods are returned. Total valuated stock remains the same since the returned
    stock was regarded as part of inventory even while it was at the customer's premises.This transaction
    is not relevant for billing.
    In consignment return, customer wishes to claim on consignment goods which have already been
    issued. When goods issue is posted, the relevant quantity is added to the customer's special stock at
    the plant where the goods are returned. Since the ownership of the goods is passed from the customer
    back to the company, the transaction is relevant for billing. In this case, the customer receives a credit
    memo for the returned goods.
    -->Can you control that an end user cannot copy a quote of customer A to a sales order for
    customer B? If yes, where?
    Yes. By customizing Copying Control for header data.
    Give some example for data that is copied from the customer (soldto, payer, shipto) to the sales
    order as well as for data that is copied from the material?
    General data, payment terms, shipping details, delivery agreements, delivering plant.
    -->What is returnable packaging processing?
    Returnable packaging consists of materials that are stored at the customer location but which remain
    the property of the company. The customer is only required to pay for the returnable packaging if he
    does not return it by a specified time.
    Name the two outline agreements in R/3 standard and explain the difference between them.
    Agreements are arrangements between business partners regarding the granting of conditions over a
    specified time period. The agreement contains conditions which apply over a particular time period and
    which are settled together at the same points in time. An agreement can be settled once or
    periodically. The two outline agreements include Contracts and Scheduling Agreements.
    Unlike a contract * which only contains an overall target quantity or value * a scheduling agreement
    also contains specific order quantities and delivery dates.
    -->How many documents do you create when you release, deliver and invoice the first order
    from a contract?
    Three : Sales order, Delivery note, Invoice.
    -->What types of output can you have in sales?
    Printer, Telex, Fax, Mail, EDI.
    -->Can you automate output processing ? Do you always have to specify it manually?
    yes. No.
    -->Where would you specify which data should be copied (at header, item and schedule line
    level)when you copy from one document to another one?
    Customizing Copy Control.
    I hope it will help you,
    Regards,
    Murali.

  • DESCRIPTIVE FLEXFIELD의 REFERENCE FIELD추가방법

    제품 : AOL
    작성날짜 : 2004-05-20
    DESCRIPTIVE FLEXFIELD의 REFERENCE FIELD추가방법
    ==========================================
    PURPOSE
    Descriptive Flexfield의 기능 중 Reference Field를 사용하기 위해서는
    원하는 Form Block의 Field를 Reference Field로 등록해야 한다.
    Explanation
    1. Place cursor in the form field which you want to use as a Reference field.
    2. Select Help > Tools > Examine from the menu in order to obtain the <
    Value>.
    3. The (N) Setup > Flexfields > Descriptive > Segments form Context
    Field
    Value Code for the DFF must = <Value>
    4. Register the <Block>.<Field> as a Reference Field in the
    (N)Setup > Flexfields > Descriptive > Register form.
    5. Pick registered Reference Field from the LOV in the
    relevant (N) Setup > Flexfields > Descriptive > Segments form.
    즉, 원하는 Form의 Field에 마우스를 가져다 놓고,
    Help -> Tools -> Examine화면의 Block과 Field이름을 확인한 후
    Reference Field등록하는 화면에 그 Block.Field를 등록하면 된다.
    Reference Documents
    Note : 144227.1

    Thanks Sandeep,
    Can you tell me what values does this context field hold? Someone have defined it in the location you specified but whats the value which it holds? For example In the DFF "Add'l Periods of Service Information" the Reference Field was defined as "C_LEGISLATION_CODE". Whats it doing exactly over here?
    Thanks
    J

  • FNDLOAD for Descriptive Flexfield update

    Hey everyone,
    Just wanted to consult you on a matter,
    I've updated a descriptive flexfield definition (moved some of the segments from GLOBAL to a new context I created = I deleted from global, that freed the attributes again, and then I defined them under a new context field for that DFF).
    Now - to move that setup to another instance, I download and uploaded DFF via FNDLOAD.
    At first - update was not successful due to the fact that attributes used in new context were occupied by global.
    So -
    my idea was to just delete ALL DFF definitions in new instance, and then use FNDLOAD to upload.
    Turned out ok, and update seems successful.
    I just fear deleting DFF definitions completely might harm something and I feel I might be missing something here.
    (After all, if it should be OK, why doesn't FNDLOAD delete old definition during update process and then create the new definition , like it does with personalizations??)
    Would love to hear your ideas before I do the same on production instances...
    Thanks,
    Aaron

    Aaron,
    I believe you should not delete a DFF, instead you will have to disable it.
    Note: 176867.1 - Oracle Applications Flexfields Frequently Asked Questions (FAQ) -- 5. Can I delete a descriptive flexfield?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=176867.1
    Did you try to use UPLOAD_MODE=REPLACE? This option will replace your current values with the values you have in the file.
    If you want to upload any new items in the file that do not currently exist in your database, use "CUSTOM_MODE=FORCE" option.
    Regards,
    Hussein

  • 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

  • Status in order management

    hi
    when i read the oracle material i saw these many statuses in header and lines of order management.I request some one in this forum to explain when each statuses occurs or give us some link for reference.
    The below is the list
    Order Header Statuses
    Following is a list of all possible statuses assigned to an order header.
    • Active
    • Awaiting Invoice Interface - Incomplete Data
    • Awaiting Invoice Interface - On Hold
    • Awaiting Start Date
    • Booked
    • Cancelled
    • Closed
    • Customer Accepted
    • Draft
    • Draft - Customer Rejected
    • Draft - Internal Rejected
    • Draft Submitted
    • Entered
    • Expired
    • Internal Approved
    • Internal Rejected
    • Invoice Interface - Complete
    • Lost
    • Offer Expired
    • Pending Customer Acceptance
    • Pending Internal Approval
    • Submitted
    • Terminated
    • User Working
    Order Line Statuses
    Following is a list of all possible statuses assigned to an order line.
    • Awaiting Export Screening
    • Awaiting Fulfillment
    • Awaiting Invoice Interface - Incomplete Data
    • Awaiting Invoice Interface - On Hold
    • Awaiting Invoice Interface - Partially Interfaced, RFR Item
    • Awaiting Invoice Interface - Pending Complete Delivery
    • Awaiting Invoice Interface - RFR Item
    • Awaiting Invoice Interface - Unexpected error
    • Awaiting Payment Assurance - On Hold
    • Awaiting Payment Assurance - Receipts Not Assured
    • Awaiting Receipt
    • Awaiting Reprice - Invalid setup
    • Awaiting Reprice - On reprice line hold
    • Awaiting Reprice - Pricing error
    • Awaiting Reprice - Unexpected error
    • Awaiting Return
    • Awaiting Return Disposition
    • Awaiting Shipping
    • Awaiting Supply
    • BOM and Routing Created
    • Booked
    • Cancelled
    • Closed
    • Completed Export Screening
    • Config Item Created
    • Customer Accepted
    • Data Error Export Screening
    • Draft
    • Draft - Customer Rejected
    • Draft - Internal Rejected
    • Draft Submitted
    • Entered
    • Fulfilled
    • Interfaced to Receivables
    • Internal Approved
    • Internal Rejected
    • Inventory Interfaced
    • Invoice Interface - Not Applicable
    • Lost
    • Offer Expired
    • PO-Created
    • PO-Partial
    • PO-Received
    • PO-ReqCreated
    • PO-ReqRequested
    • Partially Interfaced to Receivables
    • Payment Assurance - Complete
    • Payment Assurance - Incorrect Data
    • Pending Customer Acceptance
    • Pending Internal Approval
    • Picked
    • Picked Partial
    • Preprovision
    • Preprovision Failed
    • Preprovision Requested
    • Preprovision Succeeded
    • Production Complete
    • Production Eligible
    • Production Open
    • Production Partial
    • Provisioning Failed to update Transaction Details
    • Provisioning Rejected
    • Provisioning Requested
    • Provisioning Successful
    • Provisioning in Error
    • Released to Warehouse
    • Reprice - Complete
    • Reprice - Not Applicable
    • Returned
    • Scheduled
    • Shipped
    • Supply Eligible
    • Supply Open
    • Supply Partial
    • Third Party Billing Failed
    • Third Party Billing Requested
    • Third Party Billing Succeeded
    Regards
    sudharshan

    Hi Sudharshan,
    Probably this link will explain you to the most
    http://oracleappsdna.com/2011/07/sales-order-line-status-flow/
    Also any status codes are part of some lookups. You can get a bit more information of the status in Lookup Description.
    Thanks,
    Shailender

  • Descriptive Flexfield transfer from Requisition (iProcurement) to PO

    Can a descriptive flexfield be transferred from iProcurement (requisition lines) to Purchase Order (lines)?
    I am fairly new to Oracle EBS and this is my first attempt to set up descriptive flexfields. We want the user to populate the field while creating the requisition and would like that value to transfer to the purchase order. (we are on 11i)
    Is this possible? Is there an option or setting that I need to be aware of?
    Thank you!

    I don't think that is possible.
    Oracle has the functionality to transfer Req. Distribution DFF to PO Distribution DFF. But it does not work for Req Header or Req Line DFF.
    Hope this helps,
    Sandeep Gandhi

  • Pass Descriptive Flexfield Data Requisition/PO Through to GL?

    Is it Possible to Pass Descriptive Flexfield Data Requisition/PO Through to GL?
    Let's say example Project Number and Work order Number DFFs feilds from Requisition/PO line level to GL.

    Pl do not post duplicates - Pass Descriptive Flexfield Data Requisition/PO Through to GL?

Maybe you are looking for