Supplier Switch

When There is a Supplier Switch

Back in the days of green screen when a product would change suppliers, the buyer lost visibility of K_INTDALY records on the screen from the previous supplier. This is because the screen was passing the parms of the new SUPL/SUPLSUB to find the records for display. In R6, the screen does NOT pass the SUPL/SUPLSUB parms, so the screen is able to show all K_INTDALY records regardless of supplier changes.

However, if it is important to have the K_INTDALY records kept updated to the current SUPL/SUPLSUB, we have a program that can do the work: K3S_5MOD/K3S_3043

This program can be used in two ways:

  1. It can be used as a one time program to “clean up” K_INTDALY records where IE_SUPL and IE_SUPLSUB may be corrupted

  2. It can be place into K3S_X310CL to “look for” any new K_LOGPROD records with LG_LOGTYPE = ‘2’ and keep IE_SUPL and IE_SUPLSUB in sync

To be called you use the following command:

CALL PGM(K3S_3043) PARM(&COMP &TODAY_STR)