AnsweredAssumed Answered

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

Question asked by binu.alexander on Sep 9, 2015
Latest reply on Sep 9, 2015 by binu.alexander



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 ...




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