HR02 Add-in to change to Inactive

 3 Replies
 0 Subscribed to this topic
 1 Subscribed to this forum
Sort:
Author
Messages


YvonneG











New Member



Posts: 3




New Member



    We are changing our HR Process Level and Department structure so I need to inactivate hundreds of HR02 departments.  I've tried creating an add-in to do this but I don't get any results.  No changes are made and no errors display in my spreadsheet. 

    There must be some hidden field or code I need to pass to make the current record in my spreadsheet the current record in the form, but I don't know what field/s or codes to use. 

    Any advice would be appreciated.  Thanks


    Dave Curtis











    Veteran Member



    Posts: 136




    Veteran Member



      f2_DPT-COMPANY
      f5_PT-DPT-PROCESS-LEVEL
      f6_PT-DPT-DEPARTMENT
      f7:0_LINE-FC1
      f8:0_DPT-PROCESS-LEVEL1
      f9:0_DPT-DEPARTMENT1
      f11:0_DPT-ACTIVE-FLAG1
      (H)_f4_PT-XMIT-ST-CHG

      f2, f5 and f6 are the ones that should bring your current line to the "top" on the form f7 - f11 are the fields you would fill in

      f4, if I am remembering correctly, you will want to have a 1 in that field because you will get a standard message from Lawson that deactivating a department will take time "Hit OK to continue" and by using the XMIT field you can push past that.

      It has been awhile since I did inactivations with an upload but if my memory is correct, this setup should get you what you need.


      Greg Moeller











      Veteran Member



      Posts: 1498




      Veteran Member



        Dave is correct: See KB 1194666


        YvonneG











        New Member



        Posts: 3




        New Member



          Perfect!!  The _f4 PT-XMIT-ST-CHG set to 1 did the trick.  Thank you so much.