K_DEALLOG - Deals Log

File Name . . . . K_DEALLOG                            
   Library . . . .   K3S_5DTA                           
 Format Descr. . . Deals Log File                       
 Format Name . . . RK_DEALLOG                           
 File Type . . . . PF            Unique Keys-  N        
                                                        
 Field Name FMT Start Lngth Dec Key Field Description   
 DG_COMP     A      1     1         Company ID          
 DG_LOGTYPE  A      2     2         Log record type     
 DG_USER     A      4    10         User ID             
 DG_PROGRAM  A     14    10         Program source      
 DG_TIMESTP  Z     24    26         Log timestamp       
 DG_BUYR     A     50     5         Buy group ID        
 DG_LOCN     A     55     5         Location ID         
 DG_DEAL     A     60     7         Deal ID             
 DG_DEALREF  A     67    10         Deal reference ID   
 DG_SUPL     A     77    10         Supplier ID         
 DG_SUPLSUB  A     87    10         Sub supplier ID     
 DG_BEGIN    L     97    10         Deal begin date     
 DG_END      L    107    10         Deal end date       
 DG_BUYALOW  P    117     3   0     Deal buys allowed   
 DG_EXPIRE   L    119    10         Deal expire date    
 DG_PROD     A    129    25         Product ID          
 DG_SUPLUSR  A    154    10         Supplier user system
 DG_SUPLUSB  A    164    10         Supplier user sub   
 DG_DATING   L    174    10         Dating date         
 DG_DATXTRA  P    184     3   0     Dating extra days   
 DG_CPYLOCN  A    186     5         Copy to location    
 DG_CPYSUPL  A    191    10         Copy to supplier    
 DG_CPYSUB   A    201    10         Copy to supplier sub
 DG_DELTFLG  P    211     1   0     Delete deal copied