I am confirming that since we are not able to reproduce the issue and since the Replenish results data no longer exists e.g. table STOCK_GEN_RESULTS, we are not able to investigate further.
You can run replenish formula C in UAT to prove that it functions normally before running in production again. When you run it in production, you can uncheck ‘Auto Transfer to PO and/or Distributions’ so that you can look at the results before executing.