F7=PO's Exit to Customer's PO System Information

Description:  F7=PO's Exit to Customer's PO System Information

The K3S system contains two pre-defined (F7=) exit point programs that provide a seamless environment for the buyer to go directly
from a K3S screen to the customer’s Purchase Order information screen with the push of a button.

The two pre-defined programs are:
    1) K3S_1020X1 – Exit to a supplier’s purchase orders
    2) K3S_1040X1 – Exit to a product’s purchase orders

The source code for both CLLE programs resides in QCLLESRC source file in library K3S_5MOD. Both programs receive parameters
from K3S so that your program will know which supplier or product to display information for.
 
Once you make adjustments to the source code, make sure to re-compile using the K3S_ACTG_5 Activation Group.



 
1) K3S_1020X1 – Exit to a supplier’s purchase orders

The exit point program K3S_1020X1 is called when the buyer uses the F7= function key on screen K3S_1020.  As in all K3S screens,
the buyer can see a list of all function keys active for that screen by pressing the F24= key.

Screen K3S_1020 is shown below along with its F24= function key screen:



                                                                                                                                                                                               


The parameters passed to program K3S_1020X1 are:

                        Length
     Company ID        1
     Buy Group ID      5
     Location ID       5
     Supplier ID      10
     Sub supplier ID  10
 



2) K3S_1040X1 – Exit to a product’s purchase orders

The exit point program K3S_1040X1 is called when the buyer uses the F7= function key on either screen K3S_1040 or K3S_3030. 


First we will look at the screen for K3S_1040, and its function keys screen:





The parameters passed to program K3S_1040X1 are:

                        Length
     Company ID        1
     Buy Group ID      5
     Location ID       5
     Supplier ID      10
     Sub supplier ID  10
     Product ID       25