Automate

 View Only
Expand all | Collapse all

ME22N - Update delivery date

  • 1.  ME22N - Update delivery date

    Posted 03-25-2020 04:19
      |   view attached
    Hi Winshuttle Community, 

    I've been looking at a few help articles for creating a ME22N script to change delivery dates as I'm suffering with collapsing of the header and item overview sections with subsequent transactions. 

    This is the specific article I'm referring to. 

    https://support.winshuttle.com/hc/en-us/articles/360023688671-ME22N-Scripting-Errors 

    Under the "Additional Information" section it describes using a "IF FIRST" and "IF NOT FIRST" transaction conditions to get around this issue, I've managed to find where to put the "IF FIRST" condition but can't work out where to put the "IF NOT FIRST" condition. 

    Script attached, any help greatly appreciated!


    ------------------------------
    Ben
    Woodside Energy Ltd
    ben.crerar@woodside.com.au
    ------------------------------

    Attachment(s)

    Txr
    ME23N_20200325_151523.Txr   740 KB 1 version


  • 2.  RE: ME22N - Update delivery date

    Posted 03-26-2020 02:37
    Hi Ben

    I had the same problem with the same script  a few weeks ago. you just have to copy the lines within the If first transaction condition paste just after the condition  then insert the If not First Transaction condition. 

    I have attached the final script that worked for me with the excel data file. i hope it works in your environment

    ------------------------------
    Nkosinathi Sithole | Master Data Officer
    THE ROYAL SWAZILAND SUGAR CORPOR