8 Replies Latest reply on Sep 9, 2015 7:20 AM by binu.alexander

    Can I Carry over child portal records from one parent record to another ? ... Need help with script

    binu.alexander

      GOAL

       

      Volunteers in the organisation are working in several Villages  ....     List of villages is in a portal for the parent montly report record eg. January Report

       

      What I am trying to do is CARRY OVER the list of villages  to the February Report ...  The list will usually have the same villages but can have some additions and deletions .... This will make typing the February  report  easier and more error free ...

       

      PROBLEM

       

      I have written a script to do the same ... It is correctly copying the first village on the previous report to the new report ....  ( SCREENSHOT attached )

       

       

       

      What I am not able to figure out is how to loop through the process till it copies all related portal records from the January report to the February report ...

       

      Currently i think it is in an endless loop ... I cant get past the show custom dialog box

       

      Please  give your suggestions ...

       

       

      Screen Shot 2015-09-09 at 12.39.11 pm.png