I've been re-reading the Seb76 talks about their long history of problems when trying to implement "save equipment".
Seems that, to make the process easier, all "we" need to do in Openxcom is to load the save equipment into each soldier first before assigning the newbies with whatever equipment is left.
And if you can't get THAT working, just ignore the automatic equipping altogether and just do "saved equipment". I mean I don't mind equipping each newbie just that once!
Also, equipment should be saved as a "guide" to how the soldier should be re-equipped next mission. Don't save the equipment from the last mission and bring them to the next or ... you may have to iron alot of bugs later on.
The above 2 suggestions is a less complicated (logic-wise) and easier-to-get-right formula, that's all. But i could be wrong