The update of a production cost can happen when the input moves are in a closed period. Closes #13944 (grafted from 8497b88d611ccbff8f9303a4f0685e8045a0810e) --HG-- branch : 7.0