How to Re-Run PE Exceptions
These steps will guide you on how to re-run PE checks. One reason you may need to do this is if a customer had a large amount of products switching suppliers; re-running the batches ensures the proper buyer gets the PE checks mapped to their User ID.
Call program K3S_5OBJ/K3S_PE_RUN and pass the following parms:
&COMP - 1 letter company code
&K3S_DTA - name of the data library
&K3S_OBJ - name of the objects library
&K3S_MOD - name of the modifications library
&PER_END_12 - set to 1 if you want to build monthly PE batches, otherwise set to 0
&PER_END_13 - set to 1 if you want to build thirteen four weekly PE batches, otherwise set to 0
&PER_END_52 - set to 1 if you want to build weekly PE batches, otherwise set to 0
Important note! Only set one of the &PER_END flags to 1 for one forecast interval at a time.
This process builds off of the data stored in fields PR_ENDPER and PR_ENDPERS of K_PRODUCT to develop new PEx check batches, driven by the last completed period, but with today’s birth date.
After the new batches are generated, you may choose to manually delete the old batches using SQL on files K_PRODSEB and K_PRODSED.