K_PRODLNK - Product Links

File Name . . . . K_PRODLNK
   Library . . . .   K3S_5DTA
 Format Descr. . . Product links
 Format Name . . . RK_PRODLNK
 File Type . . . . PF            Unique Keys-  N

 Field Name FMT Start Lngth Dec Key Field Description
 PK_COMP     A      1     1         Company ID
 PK_TYPE     A      2     1         Product link type
 PK_TRANSTS  P      3     1   0     Trans stat 0=Open 1=Clos
 PK_FRMLOCN  A      4     5         From location ID
 PK_FRMSUPL  A      9    10         From supplier ID
 PK_FRMSUB   A     19    10         From supplier sub
 PK_FRMPROD  A     29    25         From product ID
 PK_FRMSTAT  A     54     1         From new user status
 PK_FRMFREZ  L     55    10         From freeze until
 PK_FRMCLR   P     65     1   0     From clear average
 PK_BIRTH    L     66    10         Product link birth
 PK_LASTUPD  L     76    10         Product link last upd
 PK_TO_LOCN  A     86     5         To location ID
 PK_TO_SUPL  A     91    10         To supplier ID
 PK_TO_SUB   A    101    10         To supplier sub
 PK_TO_PROD  A    111    25         To product ID
 PK_HSTMULT  P    136     9   4     History multiplier
 PK_CHGTYPE  A    141     1         A=Add or R=Replace
 PK_DISLINK  L    142    10         Discontinue link
 PK_COPYCMP  L    152    10         Copy completed

Through the use of the Product Linking facility you can perform the following three types of actions:

Type

C Copy history from one product to another

D Daily information (on hand, on order, sales) added from one product to another

X Accumulate single pick and/or half case information to a full case product

The ‘C’ or Copy history type of record is a single use facility which is used once in the K3S night job, and then flagged to not be used again.

Both the ‘D’ or Daily information type of record and the ‘X’ or Accumulate type of record are established to be used in every K3S night job that occurs. They are continuous use records.