If you have some problems with the trainer, it is because it is necessary to make advance first once then your soldier to push on F3 to have the infinite AP. Similar for the unlimited munitions, pull one time before pushing on F4.
The other orders of trainer (F1 and F2) can be engaged as soon as one enters in the party.