K_INTDEAL - Interface for Deals

File Name . . . . K_INTDEAL                             
   Library . . . .   K3S_5DTA                            
 Format Descr. . . Interface for deals                   
 Format Name . . . RK_INTDEAL                            
 File Type . . . . PF            Unique Keys-  N         
                                                         
 Field Name FMT Start Lngth Dec Key Field Description    
 IL_COMP     A      1     1         Company ID           
 IL_BUYR     A      2     5         Buy group ID         
 IL_LOCN     A      7     5         Location ID          
 IL_SUPL     A     12    10         Supplier ID          
 IL_SUPLSUB  A     22    10         Sub supplier ID      
 IL_SUPLUSR  A     32    10         Supplier user system 
 IL_SUPLUSB  A     42    10         Supplier user sub    
 IL_PROD     A     52    25         Product ID           
 IL_PRODSEQ  A     77    40         Product sequence #   
 IL_DEAL     A    117     7         Deal ID              
 IL_DEALREF  A    124    10         Deal reference ID    
 IL_BIRTH    L    134    10         Deal allow birth     
 IL_LASTUPD  L    144    10         Deal allow last      
 IL_BEGIN    L    154    10         Deal begin date      
 IL_END      L    164    10         Deal end date        
 IL_TYPE     A    174     2         Deal type            
 IL_APPLY    A    176     1         Bill/Off/Auto code   
 IL_EXCLUDE  P    177     1   0     FB exclude flag      
 IL_FACTTYP  A    178     1         Factor type $,D,%    
 IL_FACTVAL  P    179     9   4     Factor value         
 IL_UNIT     P    184     5   0     Unit for dollars     
 IL_UNITPRO  P    187     1   0     Unit protect flag    
 IL_MINQTY   P    188     7   0     Minimum quantity     
 IL_DATING   L    192    10         Dating date          
 IL_DATXTRA  P    202     3   0     Dating extra days    
 IL_BUYALOW  P    204     3   0     Deal buys allowed    
 IL_NOTE     A    206   100         Note                 
 IL_PROCFLG  P    306     1   0     Processed flag       
 IL_ERROR    P    307     1   0     Error flag