Item Supply Demand

Hello,
I am using the package INV_TM.LAUNCH to gather supply demand data into my custom temp table. For some items, I see that the ON_HAND_QUANTITY order does not match the order on the Supply Demand form. Has anyone seen this issue?
Also, this package return two values for variables TOTAL_TEMP and AVAIL_QTY_TEMP, both of them are NULL.
Please advice!!

Hello,
I am using the package INV_TM.LAUNCH to gather supply demand data into my custom temp table. For some items, I see that the ON_HAND_QUANTITY order does not match the order on the Supply Demand form. Has anyone seen this issue?
Also, this package return two values for variables TOTAL_TEMP and AVAIL_QTY_TEMP, both of them are NULL.
Please advice!!

Similar Messages

  • Item - Supply demand Concurrent program error

    I wish to find out the supply and demand for the item, like how it is displayed in the VIEW SUPPLY/DEMAND form of the inventory module.
    I have read the below thread and modified the code that I got from it.
    item supply/demand - basics on calculation
    The code that I am using is below:
    DECLARE
    l_seq_num NUMBER := 0;
    l_session_id NUMBER;
    l_count NUMBER;
    cutoff_date_j NUMBER;
    l_total_temp VARCHAR2 (30);
    l_avail_qty_temp VARCHAR2 (30);
    CURSOR c1
    IS
    SELECT inventory_item_id
    FROM mtl_system_items_b
    WHERE organization_id = 204 AND inventory_item_id = 1;
    BEGIN
    fnd_global.apps_initialize (1072, 50346, 401);
    inv_globals.set_org_id (204);
    SELECT TO_CHAR (SYSDATE, 'j')
    INTO cutoff_date_j
    FROM DUAL;
    FOR i IN c1
    LOOP
    IF (inv_tm.launch ('INXDSD'
    , 'GROUP_ID='
    || TO_CHAR (l_seq_num) -- Always going to be 0
    || ' '
    || 'ORGANIZATION_ID='
    || TO_CHAR (204)
    || ' '
    || 'INVENTORY_ITEM_ID='
    || TO_CHAR (i.inventory_item_id)
    || ' '
    || 'ONHAND_SOURCE='
    || TO_CHAR (3) --1 ATP Only, 2 For Net Subinventories, 3 all subinvs
    || ' '
    || 'CUTOFF_DATE="'
    || TO_CHAR (cutoff_date_j)
    || '" '
    || 'MRP_STATUS='
    || TO_CHAR (1)
    || ' '
    || 'ONHAND_FIELD=l_total_temp'
    || 'AVAIL_FIELD=l_avail_qty_temp'
    , l_total_temp
    , l_avail_qty_temp
    ) = FALSE
    THEN
    DBMS_OUTPUT.put_line ('FAILED');
    ELSE
    DBMS_OUTPUT.put_line ('SUCCESS');
    DBMS_OUTPUT.put_line (l_total_temp);
    DBMS_OUTPUT.put_line (l_avail_qty_temp);
    INSERT INTO xx_mtl_supply_demand_temp
    SELECT *
    FROM mtl_supply_demand_temp
    WHERE seq_num = 0;
    END IF;
    END LOOP;
    BEGIN
    DELETE mtl_supply_demand_temp
    WHERE seq_num = 0;
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    inv_utilities.do_sql ('commit');END;
    Now this code is populating my temporary table perfectly, the issue that I am facing is that each time this query is run it adds the same number of records, despite the fact that there are no rows in mtl_supply_demand_temp table corresponding to inventory_item_id =1.
    I will explain this situation elaborately below.
    1. The number of rows into xx_mtl_supply_demand_temp after the first run is 240.
    2. I verify that these rows do not exist in mtl_supply_demand_temp table and delete all rows from xx_mtl_supply_demand_temp table.
    3. I run the anonymous block again, now I get 480 rows.
    4. This process continues and I get 720, 960, ......(keeps adding 240 rows after every run) records.
    I need to get only 240 records after every run.
    Why is this happening ? How can I correct this ?

    1009226 wrote:
    I am running oracle ebs 12.1.3 with oracle database 11g. I did go through the documents you provided but they seem irrelevant to me. Is there something that I am missing ?please see this
    https://cn.forums.oracle.com/forums/thread.jspa?messageID=10958380
    MTL_SUPPLY_DEMAND_TEMP Table Is Too Large [ID 182490.1]
    ;) AppsMasti ;)
    Sharing is Caring

  • Inconsistent view - Item Supply/Demand form

    We are seeing an unexplained difference between the On Hand and Available values on the Item Supply/Demand form. Opened TAR with Oracle Support, they said the difference is the move orders that we have allocated. The form does not show the move order, since they are not supply/demand BUT it does subtract the allocated quantity from on-hand since the material is not available. Oracle has suggested a custom report be run, any other suggestions, short of re-writing the form?

    I'm sure you know the only place to see the detail is in the pending transactions form. Have you considered building a custom zoom, or an extension, from the supply/demand form to the pending transactions form that will find the relevent pending transactions? Not a fix, but at least you can stay in the same screen.
    I agree the form needs to show the allocated material, but I doubt that will happen any time soon.

  • Item supply/demand can't display the po_line that need-by is  multiple

    item supply/demand can't display the po_line that need-by is  multiple,i means that if the po_line have multi line_locations ,it can't be displayed in the supply/demand windows.
    how to deal this problem?

    To add detail to Mikeyc7m's last post
    If the folder has a default value for author then only an adminstrator could check files into that folder. This is because non administrators can not spoof their user name to be someone else's. With the default value being someone else they will never be able to check in (unless they are an admin who can spoof who the user is and in this case it will look like the user checked in a file and not the admin which is a different problem but still a problem).

  • Cycle Count Reservation Issue in Item Supply/Demand Form

    Hi
    Few of the inventory items are stuck with Cycle Count Reservation in Item Supply/Demand Form. The Identifier field is empty. It is not tied to any sales order or PO . I checked the On hand quantity(on-hand quantity form) and the current on hand (Item Supply/Demand form) both are same. Could not able to figureout what went wrong and how the cycle count reservations are created. Even after performing the Cycle counting on these items, it did not consumed these reservations and releaved those reservations.
    Could anyone suggest me please in what scenrios we get this issue and how to eliminate these records from the Item Supply/Demand Form. we are on 11.5.10.2 INV and WMS RUP4.
    Thank You!
    Krishna

    CC reservations can be triggered by Curtail (Short) picks on mobile gun. When this happens the ATR qty gets decremented by this Qty by putting a CC reservation.
    This can also be deleted from front end by changing the demand source to acc/acc alias, save and then delete.
    Karthik

  • Item/Supply demand Concurrent manager

    when am trying to view the item supply/demand
    It is giving me error
    CONC-TM-NO MANAGER DEFINED (APPLICATION=INV)
    (PROGRAM=INXDSD)(RESP_ID=21623) (RESP_APPL_ID=660)
    should i involve my apps dba to look into this error??
    or can i activate it myself??
    Please Advise
    Mahendra

    Hussein Sawwan wrote:
    Please see these docs.
    INVDVDSD - Item Supply/Demand Form Error Out Conc-Tm-No Manager Defined [ID 803374.1]
    Cannot View Any Item In Supply/Demand Form In Inventory [ID 1267591.1]
    Thanks,
    HusseinThanks Hussein..Involving DBA..

  • Item supply/demand - basics on calculation

    Hi,
    can anyone help me find out more documentations or understandings on Item Supply/Demand form in the Inventory, like how the calculations are done in that form, where it's pulling the data from, which tables,...things like that.
    Is it available in oracle user guides at all?
    Thanks in advance.
    Chitra

    I tried using the same code used by the form in SQL. It worked. The only issue is that the ATP group Id specific to this request is not populating appropritely. It is always populating as 0. If I register as concurrent program probably it will populate correctly. This is required in order to delete the rows correctly belonging to that session from the mtl_supply_demand_temp at the end of the session.
    You can try that if you are Ok with that approach. This way you do not have worry about finding out the tables to query. Here is that I did.
    DECLARE
    l_seq_num NUMBER;
    rtvl NUMBER;
    args1 VARCHAR (240);
    args2 VARCHAR (240);
    args3 VARCHAR (240);
    args4 VARCHAR (240);
    args5 VARCHAR (240);
    args6 VARCHAR (240);
    args7 VARCHAR (240);
    args8 VARCHAR (240);
    args9 VARCHAR (240);
    args10 VARCHAR (240);
    args11 VARCHAR (240);
    args12 VARCHAR (240);
    args13 VARCHAR (240);
    args14 VARCHAR (240);
    args15 VARCHAR (240);
    args16 VARCHAR (240);
    args17 VARCHAR (240);
    args18 VARCHAR (240);
    args19 VARCHAR (240);
    args20 VARCHAR (240);
    l_session_id NUMBER;
    l_count NUMBER;
    cutoff_date_j NUMBER;
    l_total_temp VARCHAR2 (30);
    l_avail_qty_temp VARCHAR2 (30);
    CURSOR c1
    IS
    SELECT inventory_item_id
    FROM mtl_system_items_b
    WHERE organization_id = 204 AND segment1 IN ('AS18947', 'AS81414');
    BEGIN
    fnd_global.apps_initialize (1072, 50346, 401);
    --fnd_profile.put ('CONC_DEBUG', 'TC');
    /* fnd_global.initialize (session_id => l_session_id
    , user_id => 1072
    , resp_id => 50346
    , resp_appl_id => 401
    , security_group_id => 0
    , site_id => 0
    , login_id => 1833382
    , conc_login_id => -1
    , prog_appl_id => 401
    , conc_program_id => 33808
    , conc_request_id => fnd_global.conc_request_id
    , conc_priority_request => -1
    , form_id => 52654
    , form_appl_id => 401
    , conc_process_id => NULL
    , conc_queue_id => NULL
    , queue_appl_id => NULL
    , server_id => 147
    inv_globals.set_org_id (204);
    SELECT mtl_demand_interface_s.NEXTVAL
    INTO l_seq_num
    FROM DUAL;
    SELECT TO_CHAR (SYSDATE, 'j')
    INTO cutoff_date_j
    FROM DUAL;
    FOR i IN c1
    LOOP
    IF (inv_tm.launch ('INXDSD'
    , 'GROUP_ID='
    || TO_CHAR (l_seq_num)
    || ' '
    || 'ORGANIZATION_ID='
    || TO_CHAR (204)
    || ' '
    || 'INVENTORY_ITEM_ID='
    || TO_CHAR (i.inventory_item_id)
    || ' '
    || 'ONHAND_SOURCE='
    || TO_CHAR (1) --1 ATP Only, 2 For Net Subinventories, 3 all subinvs
    || ' '
    || 'CUTOFF_DATE="'
    || TO_CHAR (cutoff_date_j)
    || '" '
    || 'MRP_STATUS='
    || TO_CHAR (1)
    || ' '
    || 'ONHAND_FIELD=l_total_temp'
    || 'AVAIL_FIELD=l_avail_qty_temp'
    , l_total_temp
    , l_avail_qty_temp
    ) = FALSE
    THEN
    DBMS_OUTPUT.put_line ('FAILED');
    ELSE
    DBMS_OUTPUT.put_line ('SUCCESS');
    DBMS_OUTPUT.put_line (l_total_temp);
    DBMS_OUTPUT.put_line (l_avail_qty_temp);
    INSERT INTO xx_mtl_supply_demand_temp
    SELECT *
    FROM mtl_supply_demand_temp
    WHERE seq_num = 0;
    END IF;
    END LOOP;
    -- fnd_profile.put ('CONC_DEBUG', NULL);
    BEGIN
    DELETE FROM mtl_atp_rules
    WHERE rule_id IN (SELECT atp_rule_id
    FROM mtl_group_atps_view
    WHERE atp_group_id = 0);
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    BEGIN
    DELETE mtl_group_atps_view
    WHERE atp_group_id = 0;
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    BEGIN
    DELETE mtl_supply_demand_temp
    WHERE seq_num = 0;
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    inv_utilities.do_sql ('commit');END;
    As you can see I have to use seq_num as zero it was always populating as zero in this table where as from form it populates correctly.
    Since this is a function, probably you can use this in discoverer queuries (I am not sure). Then query this custom table (mirror of mtl_supply_demand_temp) to show the report.
    Thanks
    Nagamohan

  • How does Item Supply/demand form  get populated?

    Hi,
    can anyone help me find out more documentations or understandings on Item Supply/Demand form in the Inventory, like how the calculations are done in that form, where it's pulling the data from, which tables,...things like that.
    Is it available in oracle user guides at all?
    Thanks in advance.
    --Sathish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thank you for the response guys, but the actual issue for me is that there are duplicate rows for the same order number and item in MRP Work bench Supply/demand form of Purchasing User Responsibility although there are only single rows for them when viewed from the inventory responsibility. So, Could you please help me finding out the reason behind why there is duplicate data in the MRP supply/demand form??
    Thanks in advance
    --Sathish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Item Supply Demand and Purchase Orders

    Hi All,
    I am facing strange issues -
    1: Purchaser changes Need By and Promise Date in Purchase Order. But when we query item in Supply/Demand, it shows old dates.
    2: There are few items where purchase orders are not shows.
    I verified that -
    1: Planning Manager is running
    2: The Subinventory on Purchase Order is Nettable
    3: PO is approved
    Appreciate any pointers on this please.

    1009226 wrote:
    I am running oracle ebs 12.1.3 with oracle database 11g. I did go through the documents you provided but they seem irrelevant to me. Is there something that I am missing ?please see this
    https://cn.forums.oracle.com/forums/thread.jspa?messageID=10958380
    MTL_SUPPLY_DEMAND_TEMP Table Is Too Large [ID 182490.1]
    ;) AppsMasti ;)
    Sharing is Caring

  • ESYU: PO line/shipment가 Item supply/demand에 보이지 않는 경우 add/correct 하는법

    Purpose
    Oracle Purchasing - Version: 11.5.10
    Purchase Order Line/Shipment가 Item Suppy/Demand에 나타나지 않을때 missing
    supply를 add 하거나 correct 하는 방법에 대해 알아본다.
    Solution
    1. Record 확인을 위해 아래 query를 이용한다.
    Approved POs에 대한 Missing Supply:
    SELECT DISTINCT poll.line_location_id
    FROM po_line_locations poll,
    po_headers poh
    WHERE poh.po_header_id = poll.po_header_id
    AND poh.authorization_status = 'APPROVED'
    AND Nvl(poll.closed_code,'OPEN') NOT IN
    ('CLOSED','FINALLY CLOSED','CLOSED FOR RECEIVING')
    AND Nvl(poll.cancel_flag,'N') <> 'Y'
    AND poll.shipment_type IN ('STANDARD')
    AND vendor_order_num is not null
    AND nvl(poll.quantity_received,0) <=0
    AND nvl(poll.quantity_shipped,0) <=0
    AND NOT EXISTS
    (SELECT * FROM mtl_supply mtl
    WHERE mtl.po_line_location_id=poll.line_location_id);
    or
    Diagnostic Purchasing Purchase Order/Release Check Setup (POTransactions115.sql)
    <205446.1>를 실행할 수 있다.
    이 sql은 주어진 PO(Standard, Blanket, Planned, Contract)/Release (Blanket & Scheduled)
    No와 관련한 모든 정보를 취합한다. 이 정보는 PO 관련한 issue의 해결과 진단에 이용될 수 있다.
    2. Close Status = Open 이고 Quantity가 여전히 receive를 위해 pending이라면, 아래 steps을
    실행한다.
    2-1. PO Summary form에서 PO를 조회 후 issue가 되고 있는 PO Line/Shipment로 이동한다.
    Tools> Control Close를 한다. Close 하면 supply를 delete 하게 된다.
    2-2. Closed 된 PO line shipment를 선택 후 Tools> Control에서 다시 reopen 한다.
    이 작업은 상응하는 수량만큼의 supply를 재생성해 준다.
    2-3. mtl_supply의 record를 check 하고, supply/demand 화면에서 조회가 되는지 확인한다.
    !!! 위 steps은 TEST instance에서 먼저 실행해 보아야 한다.
    Reference
    Note 416113.1

  • ITEM SUPPLY/DEMAND QUERY

    HI All,
    Working in EBS Version : 11.5.10.2
    I need some help to achieve the below result
    Item Code Item Description Current on hand Available Qty (Last Value)
    item A item123 140 -382
    when i look at form it shows temp table, please advice me which tables should i use to achieve the above result.
    Regards

    If the subinventory on sales order is non-nettable, there is nothing you can do to make it come over to ascp.
    But if the subinventory is nettable AND if the sales order is reserved to that subinventory AND if you have checked the reservations check box next to organiztions in plan options screen, THEN ascp will obey that reservation allocate that supply to the sales order.
    Sandeep Gandhi

  • Unable to Find supply demand Item

    Hi All,
    While attempting to open a item from Inventory >On Hand> Item Supply Demand >
    I am getting the following error. Please assist me.
    Date falls outside the boundaries of the workday calendar
    Cause: The current date is outside the range of valid workdays. the date is either before the start of the workday calendar or after the end of the workday calendar.
    Thanks,
    JP
    Edited by: REDRO on Aug 11, 2010 5:22 AM

    Hi JP;
    What is your EBS version? Please check below which could be helpful for your issue:
    MSCPDCW ORA-20001 Dates Outside Calendar Boundaries in LOAD_SUPPLY [ID 287498.1]
    Internal Order When Import Display: No Workflow Has Assigned to This Transaction Type [ID 601659.1]
    Order Import for Internal Requisition Fails With Errors ORA-20001 and ORA-01403 [ID 164797.1]
    Order Import Concurrent Program Not Import Internal Orders Ora-20001 [ID 421406.1]
    Regard
    Helios

  • Supply/Demand Form showing Closed Work Order

    Hi,
    I closed work order.But it is still shows up in
    Oracle Inventory>on-Hand availability>item supply/demand
    I am looking for a data fix to clear the record. (table MTL_SUPPLY_DEMAND_TEMP)
    Please suggest

    Closed or Complete? I know that if there is remaining quantity on a complete job that amount will show

  • Sales Order is closed, but supply/demand screen shows it as a demand

    Hi folks,
    I have peculiar issue here,
    My Item on a sales order is shipped out, but it is still showing as a demand in the supply/demand screen in the inventory.
    It is of Demand Type 'Purchasing Supply reservation'.
    The supply/demand screen can be accessed through inventory responsibility --> onhand availability --> supply/demand.
    The item in question was a buy item and no purchase order was raised as the stock was available.
    The inv_interfaced_flag in oe-order_lines_all shows as 'Y' and i ran the following query to find out if the interface is successful. The line shows as successfully interfaced.
    I am not able to get the interface trip stop log file for this delivery as the concurrent request table has been purged.
    select stp1.stop_description, wdd.oe_interfaced_flag, wdd.inv_interfaced_flag,
    decode(stops.pending_interface_flag, NULL, 'Not Pending', 'Y', 'Pending', stops.pending_interface_flag) pending_interface_flag,
    wdd.source_header_id, wdd.source_line_id, assign.delivery_id, assign.delivery_detail_id,
    deli.name deli_name, deli.status_code deli_status,
    legs.pick_up_stop_id,legs.drop_off_stop_id,
    stops.status_code trip_stop_status,stops.actual_departure_date,
    trips.name trip_name, trips.trip_id,trips.status_code trip_status
    from apps.wsh_delivery_details wdd, apps.wsh_delivery_assignments assign,
    apps.wsh_new_deliveries deli,apps.wsh_delivery_legs legs,
    apps.wsh_trip_stops stops,apps.wsh_trips trips,
    apps.oe_order_headers_all ooh, apps.WSH_SRS_TRIP_STOPS_V stp1,
    apps.oe_order_lines_all ool
    where wdd.source_header_id = ooh.header_id
    and ooh.header_id = ool.header_id
    and ool.flow_status_code = 'CLOSED'
    and wdd.delivery_detail_id =assign.delivery_detail_id
    and assign.delivery_id = deli.delivery_id
    and deli.delivery_id=legs.delivery_id
    and legs.pick_up_stop_id = stops.stop_id
    and stp1.stop_id = stops.stop_id
    and stops.trip_id = trips.trip_id
    and ooh.order_number = '1055609'
    --and nvl(inv_interfaced_flag, 'N') <> 'Y'
    and ool.line_id = 14783736
    order by assign.delivery_assignment_id, assign.delivery_id, assign.delivery_detail_id;
    Your help in this regard is highly appreciated.
    Regards,
    Prasad

    Check in the Material transactions form if 3 transactions i.e. 2 recors for sales order pick and 1 for sales order issue is happend or not..and also check if the respecitve records exist in MTL_RESERVATIONS and MTL_DEMAND.
    If everything seems to be perfect, then need to log and SR with oracle to provide the data fix in order to delete the records from MTL_RESERVATION and MTL_DEAMND.
    Thanks,
    Raghav
    Edited by: user10541272 on Jul 2, 2009 4:51 PM

  • After Transact Move Order the Supply/Demand Type Disappears in INVDVDSD

    1. SR#: 5474007.993
    2. URGENT Response Needed? (vs. the normal 48 hour or less reply time): Yes
    3. Customer: SIPA S.P.A.
    4. Oracle Apps Version: 11.5.9
    5. Error(s):None
    6. Problem Description/Question:
    1. A WIP job is creates and decriments the Available Quantity; but not the
    Current On-hand in the Supply/Demand Detail form.
    When a pick release is performed, they do not see the WIP job in the
    Supply/Demand Detail form and the Current On-hand does not change.
    2. After transact move order the supply/demand type disappear, available
    quantity at the top right side of the form increases, but there is no line with
    demand identifier wip discrete job = 12615.
    See: "ELTERM_SUPPLYDEMAND_after_patch.doc" at:
    http://gtcr.oracle.com/gtcr-dir/gtcr_12930/5474007.993/
    Is It the intended functionality?
    7. Steps taken to debug issue:
    web-iv "INVDVDSD pick release discrete job"
    Located several bugs:
    Bug 4885821 SCREEN VIEW SUPPLY/DEMAND ITEM NOT CORRECT
    BUG: 2991666 SUPPLY/DEMAND DETAIL FORM (INVDVDSD) DOES NOT
    SHOW ITEMS ON MOVE ORDERS
    BUG: 3671489 SUPPLY/DEMAND INQUIRY FOR ATP ONLY
    SUBINVENTORY INCLUDES NONATP DISCRETE JOBS
    Bug:3517095 MRP:ATP INQUIRY FROM WIP SHOWS WRONG RESULT
    However; none seem to provide a definitive explanation.
    Message was edited by:
    Bob Marchant

    Thx a lot for ur help dr.
    I have activated the material transaction interface and now the stock quantity has decreased.
    I just wish to confirm some points in the creation of the new Order Type.
    I have done the following setups:
    Order Category: Mixed
    Transaction type code: Order
    Fulfillment Flow: Order Flow - Generic
    Line workflow assignment: BO Line - Inventory Interface
    Default return line type: Credit Only Line
    Default order line type: BO Line - Inventory Interface
    Plz confirm if the setups parameters are ok especially the Default return line type: Credit Only Line
    Thanks a lot dr.

Maybe you are looking for

  • I can't remember my icloud password

    I Can't remember my icloud password .even birthday I can't remember because I used fake date .now I can't remember everything .how to login to my account ?

  • WLC 5508 Internal DHCP server issues

    Hi, I am hoping to get your feedback around the dhcp issues I am facing with Two Centrally Switched Wireless LANs. I have tried to explain the setup and the problems below and would appreciate it if anyone can suggest a solution for the problems I am

  • ALE IDOC - segment E1EDK14

    Hi Friends, I am creating IDoc from P.O. there is a segment E1EDKA1 AG , which has field PARTN. Some value is appearing in it but I am not able to find out,from where this value comes. Please give me some suggestions. Thanks & Regards, Brijesh Soni

  • New Release - WD My Cloud EX2 Firmware Version 1.05.36 (7/8/2015)

    WD is pleased to announce the release of the My Cloud EX2 Firmware Update. Please follow the instructions when doing the update, and feel free to post your questions and experiences in the My Cloud EX2 forum. Please create individual topics for any q

  • How to disable app updates

    How can I disable the app updatesnotifications?  I usually update all the apps when ever I get an update notification, but if I get a lot of apps to update and i try to update them all, i get a message that says I don't have enough space to update al