GRN after PO completion indication

Dear experts,
We have implemented PO - Inbound - GRN, If i prepared an inbound & GRN for short qty and ticking the Delivery completion indicator then also system is allowing to do the Inbound & GRN for the remaining qty. Please suggest how we can restrict the inbound and GRN if delivery complition indicator is ticked.
Regards,
Manish Jain

Hi Manish,
If you are doing partial Goods reciept against material in purchase and so not want to create new inbound deliveries and GRN.
You can use followingg methods;
When you are making delivery completion indicator in purchase order, you can mark the line item for deletion by selecting the line item from item overview and pressing the delete icon.
The other way is to chnage the purchase order quantity itself to partial quantity for which toy already did inbound delivery with GRN
Also you have check the customization settings for the item category of the delivery say 'NLN' for stock purhase order
SPRO>>Logistics execution>>shipping>>Define Item Categories for Deliveries>>execute.
In this you also set the indicators for over delivery for below mentioned fileds as per the your requirement
Check quantity   
Check minimum qty
Check overdelivery
Br,
Tushar

Similar Messages

  • PO- Why PO still allow to change after Delivery Completed has ticked.

    Dear All,
    I'm doing functional testing for MM, but i realised that the PO still allow to change after delivery completed has ticked.
    Can i know if there is a way to restrict any change after any good receiving or delivery completed?
    Thank you very much,
    Regards,
    Chee Wee

    Hi,
    Here we have same problem that after tick GR completed system allow to take further receipt though PO is not open.
    we communicate with SAP and there is no function available to close the po for receipt until you reduce PO qty for GRN Qty or loca / delete line item.
    We had write user exit to check tick in PO for GRN allow or not and that give error message.
    You can do same for GRN.
    Regards,
    Chetan Mistry

  • Start one job after another complets using PL/SQL procedure and DBMS_JOB

    All,
    I am attempting to refresh a materialized view using DBMS_JOB and having a PL/SQL program loop through each materialized view name that resides in a table I created. We do the table because they have to be refreshed in a specific order and I utilize the ORDER_OF_REFRESH column to dictate which MV comes first, second, third, etc.
    Now - I have this working to the extent that it kicks off 4 materialized views (currently set the procedure to only do 4 MVs for testing purposes) but I would ultimately like the procedure to create a new DBMS_JOB that calls DBMS_MVIEW.REFRESH of the next view in line ONLY after the preceeding materialized view DBMS_JOB completes.
    The purpose of all of this is to do a few things. One - if I simply create a procedure with the DBMS_MVIEW.REFRESH call to each materialized view in order - that works but if one fails, the job starts over again and will up to 16 times - BIG PROBLEM. Secondly, we want the job that will call this procedure to fail if it encounters 2 failures on any one materialized view (because some MVs may be dependant upon that data and cannot use old stale data).
    This may not be the "best" approach but I am trying to make the job self-sufficient in that it knows when to fail or not, and doesn't kick off the materialized views jobs all at once (remember - they need to start one after the other - in order).
    As you can see near the bottom, my logic doesn't work quite right. It kicks off all four jobs at once with the date of the whatever LAST_REFRESH is in my cursor (which ultimately is from the prior day. What I would like to happen is this:
    1.) 1st MV kicks off as DBMS_JOB and completes
    2.) 2nd MV kicks off with a start time of 3 seconds after the completion of 1st MV (based off LAST_REFRESH) date.
    3.) This conitnues until all MVs are refresh or until 2 failures are encountered, in which no more jobs are scheduled.
    - Obviously I am having a little bit of trouble with #2 and #3 - any help is appreciated.
    CREATE OR REPLACE PROCEDURE Next_Job_Refresh_Test2 IS
    V_FAILURES NUMBER;
    V_JOB_NO NUMBER;
    V_START_DATE DATE := SYSDATE;
    V_NEXT_DATE DATE;
    V_NAME VARCHAR2(30);
    V_DELIMITER VARCHAR2(1);
    CURSOR MV_LIST IS SELECT DISTINCT A.ORDER_OF_REFRESH,
                                  A.MV_OBJECT_NAME
                        FROM CATEBS.DISCO_MV_REFRESH_ORDER A
                        WHERE A.ORDER_OF_REFRESH < 5
                   ORDER BY A.ORDER_OF_REFRESH ASC;
    CURSOR MV_ORDER IS SELECT B.ORDER_OF_REFRESH,
                                  B.MV_OBJECT_NAME,
                                  A.LAST_REFRESH
                             FROM USER_SNAPSHOTS A,
                                  DISCO_MV_REFRESH_ORDER B
                             WHERE A.NAME = B.MV_OBJECT_NAME
                        ORDER BY B.ORDER_OF_REFRESH ASC;
    BEGIN
    FOR I IN MV_LIST
    LOOP
    IF I.ORDER_OF_REFRESH = 1
    THEN V_START_DATE := SYSDATE + (30/86400); -- Start job one minute after execution time
              ELSE V_START_DATE := V_NEXT_DATE;
    END IF;
         V_FAILURES := 0;
         V_JOB_NO := 0;
         V_NAME := I.MV_OBJECT_NAME;
         V_DELIMITER := '''';
    DBMS_JOB.SUBMIT(V_JOB_NO,'DBMS_MVIEW.REFRESH(' || V_DELIMITER || V_NAME || V_DELIMITER || ');',V_START_DATE,NULL);
              SELECT JOB, FAILURES INTO V_JOB_NO, V_FAILURES
              FROM USER_JOBS
              WHERE WHAT LIKE '%' || V_NAME || '%'
              AND SCHEMA_USER = 'CATEBS';
    IF V_FAILURES = 3
    THEN DBMS_JOB.BROKEN(V_JOB_NO,TRUE,NULL); EXIT;
    END IF;
    FOR O IN MV_ORDER
    LOOP
    IF I.ORDER_OF_REFRESH > 2
    THEN V_NEXT_DATE:= (O.LAST_REFRESH + (3/86400)); -- Start next materialized view 3 seconds after completion of prior refresh
    END IF;
    END LOOP;
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND
         THEN
              IF MV_LIST%ISOPEN
                   THEN CLOSE MV_LIST;
              END IF;
    NULL;
    END Next_Job_Refresh_Test2;
    ---------------------------------------------------------------------------------------------------------------------

    Justin,
    I think I am getting closer. I have a procedure shown just below this that updates my custom table with information from USER_SNAPSHOTS to reflect the time and status of the refresh completion:
    CREATE OR REPLACE PROCEDURE Upd_Disco_Mv_Refresh_Order_Tbl IS
    V_STATUS VARCHAR2(7);
    V_LAST_REFRESH DATE;
    V_MV_NAME VARCHAR2(30);
    CURSOR MV_LIST IS SELECT DISTINCT NAME, LAST_REFRESH, STATUS
                             FROM USER_SNAPSHOTS
                        WHERE OWNER = 'CATEBS';
    BEGIN
    FOR I IN MV_LIST
    LOOP
         V_STATUS := I.STATUS;
         V_LAST_REFRESH := I.LAST_REFRESH;
         V_MV_NAME := I.NAME;
    UPDATE DISCO_MV_REFRESH_ORDER A SET A.LAST_REFRESH = V_LAST_REFRESH
    WHERE A.MV_OBJECT_NAME = V_MV_NAME;
    COMMIT;
    UPDATE DISCO_MV_REFRESH_ORDER A SET A.REFRESH_STATUS = V_STATUS
    WHERE A.MV_OBJECT_NAME = V_MV_NAME;
    COMMIT;
    END LOOP;
    END Upd_Disco_Mv_Refresh_Order_Tbl;
    Next, I have a "new" procedure that does the job creation and refresh show just below this which, when starting the loop, sets the LAST_REFRESH date in my table to NULL and the STATUS = 'INVALID'. Then if the order of refresh = 1 then it uses SYSDATE to submit the job and start right away, else if it's not the first job, it uses V_NEXT_DATE. Now, V_NEXT_DATE is equal to the LAST_REFRESH date from my table when the view has completed and the V_PREV_STATUS = 'VALID'. I think tack on 2 seconds to that to begin my next job.... See code below:
    CREATE OR REPLACE PROCEDURE Disco_Mv_Refresh IS
    V_FAILURES NUMBER;
    V_JOB_NO NUMBER;
    V_START_DATE DATE := SYSDATE;
    V_NEXT_DATE DATE;
    V_NAME VARCHAR2(30);
    V_PREV_STATUS VARCHAR2(7);
    CURSOR MV_LIST IS SELECT DISTINCT A.ORDER_OF_REFRESH,
                                  A.MV_OBJECT_NAME,
                                  A.LAST_REFRESH,
                                  A.REFRESH_STATUS
                        FROM CATEBS.DISCO_MV_REFRESH_ORDER A
                        WHERE A.ORDER_OF_REFRESH <= 5
                   ORDER BY A.ORDER_OF_REFRESH ASC;
    BEGIN
    FOR I IN MV_LIST
    LOOP
    V_NAME := I.MV_OBJECT_NAME;
    V_FAILURES := 0;
    UPDATE DISCO_MV_REFRESH_ORDER SET LAST_REFRESH = NULL WHERE MV_OBJECT_NAME = V_NAME;
    UPDATE DISCO_MV_REFRESH_ORDER SET REFRESH_STATUS = 'INVALID' WHERE MV_OBJECT_NAME = V_NAME;
    IF I.ORDER_OF_REFRESH = 1
    THEN V_START_DATE := SYSDATE;
    ELSE V_START_DATE := V_NEXT_DATE;
    END IF;
    DBMS_JOB.SUBMIT(V_JOB_NO,'DBMS_MVIEW.REFRESH(' || '''' || V_NAME || '''' || '); BEGIN UPD_DISCO_MV_REFRESH_ORDER_TBL; END;',V_START_DATE,NULL);
    SELECT A.REFRESH_STATUS, A.LAST_REFRESH INTO V_PREV_STATUS, V_NEXT_DATE
    FROM DISCO_MV_REFRESH_ORDER A
    WHERE (I.ORDER_OF_REFRESH - 1) = A.ORDER_OF_REFRESH;
    IF I.ORDER_OF_REFRESH > 1 AND V_PREV_STATUS = 'VALID'
    THEN V_NEXT_DATE := V_NEXT_DATE + (2/86400);
    ELSE V_NEXT_DATE := NULL;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND
         THEN
              IF MV_LIST%ISOPEN
                   THEN CLOSE MV_LIST;
              END IF;
    NULL;
    END Disco_Mv_Refresh;
    My problem is that it doesn't appear to be looping to the next job. It worked succesfully on the first job but not the subsequent jobs (or materialized views in this case).... Any ideas?

  • Triggering a report after the completion of processing the session

    Hi Friends,
    I want to know how to trigger an report after the completion of processing the session.
    Thanks,
    Raj

    Hi
            SELECTION-SCREEN                               *
    PARAMETERS: p_name     LIKE apqi-groupid,
                p_datum    LIKE apqi-credate,
                p_time     LIKE apqi-cretime,
                p_event    LIKE tbtco-eventid.
                 DATA                                     *
    DATA: fl_job_ok TYPE c,
          fl_event TYPE c,
          cont_sysubrc_6 TYPE i.
    DATA: start_time LIKE sy-uzeit,
          start_date LIKE sy-datum,
          time       LIKE sy-uzeit,
          delta_time TYPE i.
    DATA: apqitab LIKE STANDARD TABLE OF apqi WITH HEADER LINE.
    DATA:
      btc_running       LIKE tbtco-status VALUE 'R',
      btc_ready         LIKE tbtco-status VALUE 'Y',
      btc_scheduled     LIKE tbtco-status VALUE 'P',
      btc_released      LIKE tbtco-status VALUE 'S',
      btc_aborted       LIKE tbtco-status VALUE 'A',
      btc_finished      LIKE tbtco-status VALUE 'F',
      btc_put_active    LIKE tbtco-status VALUE 'Z',
      btc_unknown_state LIKE tbtco-status VALUE 'X'.
                         START-OF-SELECTION                              *
    START-OF-SELECTION.
      DATA: a VALUE '1', b.
    Controllo esistenza job:
      start_time = sy-uzeit.
      start_date = sy-datum.
      DO.
        apqitab-creator = sy-uname.
        CALL FUNCTION 'BDC_OBJECT_SELECT'
          EXPORTING
            name                   =  p_name
            datatype               = 'BDC'
        CLIENT                 = SY-MANDT
            date_from              = p_datum
        DATE_TO                =
            time_from              = p_time
        TIME_TO                =
           QSTATE                 = 'F'
            session_creator        = apqitab-creator
          TABLES
            apqitab                = apqitab
          EXCEPTIONS
            invalid_datatype       = 1
            OTHERS                 = 2.
        IF sy-subrc <> 0.
          fl_job_ok = space.
        ELSE.
          LOOP AT apqitab.
            CASE apqitab-qstate.
              WHEN 'F'.          fl_job_ok = 'X'. EXIT.
              WHEN 'E'.          fl_job_ok = 'E'. EXIT.
              WHEN OTHERS.       fl_job_ok = space.
            ENDCASE.
          ENDLOOP.
          IF fl_job_ok = 'X' OR fl_job_ok = 'E'.
            EXIT.
          ENDIF.
        ENDIF.
        IF start_date <> sy-datum.
          start_time = sy-uzeit.
        ENDIF.
        time = sy-uzeit.
        delta_time = time - start_time.
        IF delta_time > 1800.
          EXIT.
        ENDIF.
        REFRESH apqitab.
      ENDDO.
      IF fl_job_ok = 'X'. " Trovato JOB
        fl_event = 'X'.
        IF fl_event = 'X'.
    Attiva evento
          CALL FUNCTION 'BP_EVENT_RAISE'
            EXPORTING
              eventid                = p_event
            EXCEPTIONS
              bad_eventid            = 1
              eventid_does_not_exist = 2
              eventid_missing        = 3
              raise_failed           = 4
              OTHERS                 = 5.
          IF sy-subrc <> 0.
            MESSAGE e999(zfagm) WITH p_event 'is not actived'(002).
          ELSE.
            MESSAGE i999(zfagm) WITH p_event 'is successfully actived'(002).
          ENDIF.
        ELSE.
          MESSAGE e999(zfagm) WITH p_event 'is not actived'(002).
        ENDIF.
      ELSE.
        IF fl_job_ok = space.
          MESSAGE e999(zfagm) WITH p_event 'is successfully actived'(002).
        ELSE.
          MESSAGE e999(zfagm) WITH p_event 'is successfully actived'(002).
        ENDIF.
      ENDIF.
    Max

  • How do I retrieve my music library after a complete computer crash.  I have a backup on a flash drive and I can access my Itunes account but my play lists and music are gone.

    How do you retrieve downloaded music and playlists after a complete computer crash.  I can log into my Itunes account and make purchases but my music library is gone.  I have an external backup on a flash drive but for some reason the music does not show up there either. It's like I have a brand new account and have to start all over.  Itunes must have an archive I can access to get my music back, right?
    Maya

    Playlists should be part of your backup copy.
    You can redownload some purchases in some countries:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • HP 7450 Photosmart After Printing completes Printer cycles 1/2 page and gets fault

    I have been through the mill with support and still no answer. My printer Prints Great, no issues. However, after it completes 1, 2 or 10 page documents the printer stops at the ready as it should. Then three seconds the printer starts it alignment cycle? You hear a lot of movement and then it pulls in a page 1/2 way and stops with a Jam fault. Pull the Paper out and push the ready button and it cycles and comes ready, then put the paper back in the input tray and you are ready to print. I have deleted everything out of my USB and also de-installed the printer and re-installed the printer. Nothing has changed this.
    This problem started after a paper jam and trying to get the printer ready to print again. Again the Printer prints great and pages OK. It is just after it completes the print job that it gets this problem.
    Thanks
    John

    I found a way to print at least 10 sheets before it faults out again.
    1. Physically pull the sheet of paper out.
    2. Remove all paper
    3. press the large button on the front of the printer and let it completely cycle. You should get a green light when it finishes.
    4. Put paper back in the paper tray and print.
    Do this everytime it faults.
    Also empty the paper tray on the last sheet of the print job and it will not fault.

  • Error when starting the JC00 after the completion of the WEB AS 640 instal.

    Hi,
    After successful completion of the Web As 640 Installation on HP-UX, I am not able to start the JC00 and getting the following error.
    sapweb:ep1adm 36> startsap
    Checking db Database
    ABAP Database is not available via R3trans
    Checking db Database
    J2EE Database is not available via  test
    See logfile JdbcCon.log
    Starting SAP-Collector Daemon
    12:19:32 09.08.2005   LOG: Effective User Id is root
    This is Saposcol Version COLL 20.87 640 - hpxOscol 07/2003
    Usage:  saposcol -l: Start OS Collector
            saposcol -k: Stop  OS Collector
            saposcol -d: OS Collector Dialog Mode
            saposcol -s: OS Collector Status
    The OS Collector (PID 1087) is already running .....
    saposcol already running
    Running /usr/sap/EP1/SYS/exe/run/startj2eedb
    Trying to start EP1 database ...
    Log file: /home/ep1adm/startdb.log
    /usr/sap/EP1/SYS/exe/run/startj2eedb completed successfully
    Starting SAP Instance SCS01
    Startup-Log is written to /home/ep1adm/startsap_SCS01.log
    Instance on host sapweb started
    Starting SAP Instance JC00
    Startup-Log is written to /home/ep1adm/startsap_JC00.log
    Startup of Instance failed
    See /home/ep1adm/startsap_JC00.log for details
    startsap_JC00.log is
    Trace of system startup/check of SAP System EP1 on Tue Aug  9 13:30:24 EDT 2005
    Called command: /usr/sap/EP1/SYS/exe/run/startsap
    Starting SAP Instance JC00
    SAP-R/3-Startup Program Rel 640 V1.8 (2003/04/24)
    Starting at 2005/08/09 13:30:25
    Startup Profile: "/usr/sap/EP1/SYS/profile/START_JC00_sapweb"
    (4439) SETENV LD_LIBRARY_PATH=/usr/sap/EP1/JC00/j2ee/os_libs:
    Setup Environment Variables
    (4439) SETENV SHLIB_PATH=/usr/sap/EP1/JC00/j2ee/os_libs:/usr/sap/EP1/SYS/exe/run:/usr/sap/EP1/SYS/exe/runU:/usr/sap/EP1/JC00/j2ee/os_libs:/oracle/EP1/920_64/lib:/oracle/EP1/920_64/lib32:/oracle/EP1/920_64/lib:/oracle/EP1/920_64/lib32
    (4439) SETENV LIBPATH=/usr/sap/EP1/JC00/j2ee/os_libs:
    Execute Pre-Startup Commands
    (4439) Local: rm -f jc.sapEP1_JC00
    (4439) Local: ln -s -f /usr/sap/EP1/JC00/j2ee/os_libs/jcontrol jc.sapEP1_JC00
    Starting Programs
    (4446) Starting: local jc.sapEP1_JC00 pf=/usr/sap/EP1/SYS/profile/EP1_JC00_sapweb
    (4439) Waiting for Child Processes to terminate.
    (4439) **** 2005/08/09 13:30:31 Child 4446 terminated with Status 66 . ****
    (4439) **** No more Child Processes to wait for.
    (4439) Parent Shutdown at 2005/08/09 13:30:31
    Execute Post-Shutdown Commands
    (4439) Exiting with Return-Code 3. (No more child processes)
    Startup of Instance failed
    I was able to start and stop the SAP before i took the backup but after the backup i am not able to start the SAP.
    Thanks,
    Sandeep

    J2EE Database is not available via  test
    See logfile JdbcCon.log
    Please see the log file.If it says password expired .Please change the password for the schema user of J2ee database.In my case the user is sapdbqx1 and after resetiing the apssword it worked fine.
    Also onetime for annother system in XI Landscpe I had same issue.
    Solution: The listener file should have both logical hostname as well as physical host name entry.Then its worked.
    Sudhakar

  • Trigger a process chain(PC) after successfull completion of two other PCs

    Hi All,
    My requirement is to trigger a Process Chain only after successfull completion of two other process chain which are already scheduled to run at different times.
    Please tell me how to achieve this into SAP-BW 3.5
    Thanks
    Jharna

    Hi
    It is very simple, I'm doing the same.
    Insert Remote Process Chain at the end of the actual process chain and call the other process chain, here you need to give source , destination and process chain name in Remote process chain.
    try it, it will work.
    Thanks
    Reddy

  • Event to be triggered after the completion of ProcessChain

    Hi,
    I have a scenario in Process chain. After successful completion of the proces chain,i shall trigger an event for other system (XI).
    Please help me in this regard, how to handle the event.
    Thanks,
    ILYAS

    Hi,
    On the successful completion of the last step, have another ABAP program that would raise an event using the following function module.
      call function 'BP_EVENT_RAISE'
           exporting
                eventid                = i_eventid
                eventparm              = i_eventparm
            TARGET_INSTANCE        = ' '
           exceptions
                bad_eventid            = 1
                eventid_does_not_exist = 2
                eventid_missing        = 3
                raise_failed           = 4
                others                 = 5.
    Hope this helps.
    Regards,
    Kalyan

  • Just upgraded to Mavericks. Now I cannot access scans from my hp scanner. After it complete the scans and I try to save as tiff, jpeg or pdf I get a either a grey blur or a message that says cannot save because the file cannot be written to.

    Just upgraded to Mavericks. Now I cannot access scans from my hp scanner. After it complete the scans and I try to save as tiff, jpeg or pdf I get a either a grey blur or a message that says cannot save because the file cannot be written to. I did not have any problems before the upgrade. I would greatly appreciate any light shed on this.

    Go to the HP site and look for drivers for your scanner. It apparently needs an updated driver to work with Mavericks.

  • Change Button Not Active even after Delivery Completion Indicator is Remove

    Hi ,
    In SRM 5.0 ,Change Button Not Active even after Delivery Completion Indicator is Removed for Completed PO to cancel the GR or make changes.
    Thanks & Regards,

    Hi,
    Please check these notes.
    Note 1267916 - PO item flags do not stay checked
    Note 1174982 - Return/deletion of confirmation does not update the PO flag
    Thanks
    Zameer

  • Is Mac MINI support WOL after shutdown completely

    In PC environment,when the computer completely shutdown but connecting the power ,the lan card still have signal so that we can use the magic packet wake up
    Is Mac MINI support WOL after shutdown completely?

    No. The Wake on Network Access (WOL for PC terminology) only works if the Mac is sleeping, napping or hibernating.
    Ity does not work for a shutdown state

  • I upgraded to ios6 on ipod touch and after I completed a sync on my PC but I suppose it did not sync, because now it will not restore from a back up and wants to restore from another account that I have saved.  Can I some how restore from the apps?

    I upgraded to ios6.1.3 on ipod touch and after I completed a sync on my PC but I suppose it did not sync, because now it will not restore from a back up and wants to restore from another account that I have saved.  Can I some how restore the apps to avoid having to pay for them again and having to recreate settings?

    As I said, the backup that iTunes makes does not include apps (and music) if those items where not in the iTunes library on the computer on which you restored they will not be on the iPod.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • TS1372 I was just about to about to update my iPod nano 7 from 1.0.2 to 1.0.3 . And after the complete download of the software,it says "The firmware file could not be found"   A little help anyone!!!

    I was just about to about to update my iPod nano 7 from 1.0.2 to 1.0.3 . And after the complete download of the software,it says "The firmware file could not be found"   A little help anyone!!!

    Welcome to Apple Discussions!
    Take a look at these two articles. The error messages are not the same, but they may help...
    http://docs.info.apple.com/article.html?artnum=304309
    http://docs.info.apple.com/article.html?artnum=301267
    If not, post back.
    btabz

  • [SAP WM] Cancel Transfer Order after Technical complete of prodution order

    Hi gurus,
    i have this problem.
    In my SAP WM implementation, i have customizing the PP-WM interface to create automatically the TO from central warehouse to Production supply aera after releasing of production order. The steps are:
    - Release production order
    - Creation of TR  - automatically
    - Ceration of TO to be confirmed (red light) from central warehouse (001) to production supply area (100) - automatically
    Now i would that after technical complete of production order, automatically the TO to be confirmed is cancelled. There is a way to do it?
    thanks and regards.

    Allesio
    I am confused as to why you would want to CANCEL the TO. Surely if the order is complete (technically or otherwise) then the stock has been moved from its source to the order and therefore you would want to CONFIRM it and not CANCEL it.
    As I said if the TO is to take 100 of material A from bin 1111111111 to prod order 9999999999 and you cancel the TO the stock will stay in 1111111111 when in fact it has gone to 9999999999 .
    If your order is to say create 100 pieces of Z and to do this you need 100 pieces of A then you want to CONSUME 100 pieces of A  and GR 100 pieces of Z.
    If you cancel the TO the consumption will fail as the stock is not in 9999999999 but has gone back to 1111111111.
    The other problem is that you will be showing 100 pieces of A in bin 1111111111 which is NOT THERE as the order has used it.
    I hope that this helps
    Frenchy.

Maybe you are looking for