Initial Load or Refresh of K_INTORDL
There may be scenarios where file K_INTORDL needs to be refreshed. If a customer reuses PO numbers in K_INTORDB, this can cause duplicates in K_INTORDL and cause the ‘APOR’ set of API’s to spin endlessely or for a long time in the night job.
These steps can also be used on a new customer if you have POs in K_INTORDB and want to get a set of records in K_INTORDL.
You want to do the following command:
SBMJOB CMD(CALL PGM(K3S_5OBJ/AC_OTHAPOR) PARM(‘K3S_5OBJ’ ‘C’ ‘ABC’ ‘KING3’ ‘0’ ‘ ‘ ‘ ‘ ‘L’)) JOBQ(WEB_BATCH)
The parms with examples:
&K3S_OBJ <– example ‘K3S_5OBJ’
&COMP <– one letter comp code
&COMPCOD <– three letter comp code
&USER <–example: KING3
&ERRORS <– ‘0’
&ERRMSG <– pass blanks
&ERRFIELD <— pass blanks
&LAST <–‘L’