NITE - Night Job Log

APIs For This Group

RETNITE - Returns the beginning and ending timestamps of the last successful night job

BOTH            K3SOBJ            'K3S Object library'            10A
BOTH            COMP              'Company'                        1A
BOTH            COMPCOD           'Company code'                   3A
BOTH            USER              'User calling the program'      10A
BOTH            ERRORS            'Error indicator'                1A
BOTH            ERRMSG            'Error message'                100A
BOTH            ERRFIELD          'Field in error'                20A
BOTH            RVSTRDATE         'Start date '                   10A
BOTH            RVSTRTIME         'Start time'                    26A
BOTH            RVENDDATE         'End date'                      10A
BOTH            RVENDTIME         'End time'                      26A
BOTH            RVWEEKEND         'Say it is Monday'               1A

SUMNITE - Returns The Summary Of Logs From The Night Job

BOTH     K3SOBJ       'K3S Object library'                   10A
BOTH     COMP         'Company'                               1A
BOTH     COMPCOD      'Company code'                          3A
BOTH     USER         'User calling the program'             10A
BOTH     ERRORS       'Error indicator'                       1A
BOTH     ERRMSG       'Error message'                       100A
BOTH     ERRFIELD     'Field in error'                       20A
BOTH     IDBUYR       'ID Buyer'                              5A 
BOTH     IDLOCN       'ID location'                           5A
BOTH     IDSUPL       'ID Supplier'                          10A
BOTH     IDSUPLSUB    'ID sub supplier ID'                   10A
BOTH     IDSUPLUSR    'ID User system Supplier'              10A
BOTH     IDSUPLUSB    'ID User system sub'                   10A
BOTH     IDPROD       'ID product'                           25A
BOTH     IDLOGTYPE    'ID Log type'                           1A
BOTH     IDDELCNT     'ID Delete count days'                  1  0
BOTH     IDBEGTS      'ID begin timestamp'                   26A
BOTH     IDENDTS      'ID end timestamp'                     26A
BOTH     RVLOGTYP1    '1-New product'                         9  0
BOTH     RVLOGTYP2    '2-Product changing supplier'           9  0
BOTH     RVLOGTYP3    '3-No interface record passed'          9  0
BOTH     RVLOGTYP4    '4-Product deleted from file'           9  0
BOTH     RVLOGTYP5    '5-Supplier passed does not exist '     9  0
BOTH     RVLOGTYP6    '6-Location passed does not exist'      9  0
BOTH     RVLOGTYP7    '7-Product being re-instated'           9  0
BOTH     RVLOGTYP8    '8-First time D make M'                 9  0
BOTH     RVLOGTYP9    '9-Probation period expired'            9  0
BOTH     RVLOGTYPA    'A-Forecast going negative'             9  0
BOTH     RVLOGTYPB    'B-Deviation going negative'            9  0
BOTH     RVLOGTYPC    'C-Invalid T/S generated'               9  0
BOTH     RVLOGTYPD    'D-Negative sales passed'               9  0
BOTH     RVLOGTYPE    'E-Negative outs passed'                9  0
BOTH     RVLOGTYPF    'F-Negative on hand passed'             9  0
BOTH     RVLOGTYPG    'G-Negative on order passed'            9  0
BOTH     RVLOGTYPH    'H-Negative back order passed'          9  0
BOTH     RVLOGTYPI    'I-Negative purchase price passed'      9  0
BOTH     RVLOGTYPJ    'J-Negative sales price passed'         9  0
BOTH     RVLOGTYPK    'K-Product missing description'         9  0
BOTH     RVLOGTYPL    'L-Purchase price divisor 1'            9  0
BOTH     RVLOGTYPM    'M-Buy multiple passed 1'               9  0
BOTH     RVLOGTYPN    'N-Minimum quantity passed 1'           9  0
BOTH     RVLOGTYPO    'O-Negative purchase increment'         9  0
BOTH     RVLOGTYPQ    'Q-Negative convenience pack'           9  0
BOTH     RVLOGTYPR    'R-Negative weight passed'              9  0
BOTH     RVLOGTYPS    'S-Weight divisor 1'                    9  0
BOTH     RVLOGTYPT    'T-Negative volume passed'              9  0
BOTH     RVLOGTYPU    'U-Volume divisor 1'                    9  0
BOTH     RVLOGTYPV    'V-Status passed not R or D'            9  0
BOTH     RVLOGTYPW    'W-Forecast cycle code not 1,2,3'       9  0
BOTH     RVLOGTYPX    'X-Invalid flag alt srce process'       9  0
BOTH     RVLOGTYPY    'Y-Sales price cost'                    9  0
BOTH     RVLOGTYPZ    'Z-Negative rebate passed'              9  0
BOTH     RVLOGTYPA2   'a-Conv Pack less than Buy Mult'        9  0
BOTH     RVLOGTYPB2   'b-Conv Pack not a true multiple'       9  0
BOTH     RVLOGTYPC2   'c-Cost sent across as $0'              9  0
BOTH     RVLOGTYPD2   'd-Negative Unit 6 bracket value'       9  0
BOTH     RVLOGTYPE2   'e-Negative Unit 7 bracket value'       9  0
BOTH     RVLOGTYPF2   'f-Negative Unit 8 bracket value'       9  0
BOTH     RVLOGTYPG2   'g-Negative Unit 9 bracket value'       9  0
BOTH     RVLOGTYPH2   'h-Non-stock products'                  9  0
BOTH	 RVLOGTYPI2   'i- Product Switch Batch Supplier' 	  9  0
BOTH	 RVLOGTYPJ2	  'j- Product Reassigned Deal'			  9  0	
BOTH	 RVLOGTYPK2	  'k- Product had deal reattached'		  9  0		
BOTH     RVLOGTYPZ2   'z-Ready for substitution'              9  0   
BOTH     RVSTRDATE    'Starting Date '                       10A 
BOTH     RVSTRTIME    'Starting Time '                       26A
BOTH     RVENDDATE    'ID begin timestamp'                   10A
BOTH     RVENDTIME    'ID end timestamp'                     26A
BOTH     RVWEEKEND    'ID begin timestamp'                    1A

SMANITE - Returns The Summary Of Logs From The Night Job for User

BOTH     K3SOBJ       'K3S Object library'                   10A
BOTH     COMP         'Company'                               1A
BOTH     COMPCOD      'Company code'                          3A
BOTH     USER         'User calling the program'             10A
BOTH     ERRORS       'Error indicator'                       1A
BOTH     ERRMSG       'Error message'                       100A
BOTH     ERRFIELD     'Field in error'                       20A
BOTH     IDBUYR       'ID Buyer'                              5A 
BOTH     IDLOCN       'ID location'                           5A
BOTH     IDSUPL       'ID Supplier'                          10A
BOTH     IDSUPLSUB    'ID sub supplier ID'                   10A
BOTH     IDSUPLUSR    'ID User system Supplier'              10A
BOTH     IDSUPLUSB    'ID User system sub'                   10A
BOTH     IDPROD       'ID product'                           25A
BOTH     IDLOGTYPE    'ID Log type'                           1A
BOTH     IDDELCNT     'ID Delete count days'                  1  0
BOTH     IDBEGTS      'ID begin timestamp'                   26A
BOTH     IDENDTS      'ID end timestamp'                     26A
BOTH     OPPGRP1      'Product Group 1'                      10A
BOTH     OPPGRP2      'Product Group 2'                      10A
BOTH     OPPGRP3      'Product Group 3'                      10A
BOTH     OPPGRP4      'Product Group 4'                      10A
BOTH     OPPGRP5      'Product Group 5'                      10A
BOTH     RVLOGTYP1    '1-New product'                         9  0
BOTH     RVLOGTYP2    '2-Product changing supplier'           9  0
BOTH     RVLOGTYP3    '3-No interface record passed'          9  0
BOTH     RVLOGTYP4    '4-Product deleted from file'           9  0
BOTH     RVLOGTYP5    '5-Supplier passed does not exist '     9  0
BOTH     RVLOGTYP6    '6-Location passed does not exist'      9  0
BOTH     RVLOGTYP7    '7-Product being re-instated'           9  0
BOTH     RVLOGTYP8    '8-First time D make M'                 9  0
BOTH     RVLOGTYP9    '9-Probation period expired'            9  0
BOTH     RVLOGTYPA    'A-Forecast going negative'             9  0
BOTH     RVLOGTYPB    'B-Deviation going negative'            9  0
BOTH     RVLOGTYPC    'C-Invalid T/S generated'               9  0
BOTH     RVLOGTYPD    'D-Negative sales passed'               9  0
BOTH     RVLOGTYPE    'E-Negative outs passed'                9  0
BOTH     RVLOGTYPF    'F-Negative on hand passed'             9  0
BOTH     RVLOGTYPG    'G-Negative on order passed'            9  0
BOTH     RVLOGTYPH    'H-Negative back order passed'          9  0
BOTH     RVLOGTYPI    'I-Negative purchase price passed'      9  0
BOTH     RVLOGTYPJ    'J-Negative sales price passed'         9  0
BOTH     RVLOGTYPK    'K-Product missing description'         9  0
BOTH     RVLOGTYPL    'L-Purchase price divisor 1'            9  0
BOTH     RVLOGTYPM    'M-Buy multiple passed 1'               9  0
BOTH     RVLOGTYPN    'N-Minimum quantity passed 1'           9  0
BOTH     RVLOGTYPO    'O-Negative purchase increment'         9  0
BOTH     RVLOGTYPQ    'Q-Negative convenience pack'           9  0
BOTH     RVLOGTYPR    'R-Negative weight passed'              9  0
BOTH     RVLOGTYPS    'S-Weight divisor 1'                    9  0
BOTH     RVLOGTYPT    'T-Negative volume passed'              9  0
BOTH     RVLOGTYPU    'U-Volume divisor 1'                    9  0
BOTH     RVLOGTYPV    'V-Status passed not R or D'            9  0
BOTH     RVLOGTYPW    'W-Forecast cycle code not 1,2,3'       9  0
BOTH     RVLOGTYPX    'X-Invalid flag alt srce process'       9  0
BOTH     RVLOGTYPY    'Y-Sales price cost'                    9  0
BOTH     RVLOGTYPZ    'Z-Negative rebate passed'              9  0
BOTH     RVLOGTYPA2   'a-Conv Pack less than Buy Mult'        9  0
BOTH     RVLOGTYPB2   'b-Conv Pack not a true multiple'       9  0
BOTH     RVLOGTYPC2   'c-Cost sent across as $0'              9  0
BOTH     RVLOGTYPD2   'd-Negative Unit 6 bracket value'       9  0
BOTH     RVLOGTYPE2   'e-Negative Unit 7 bracket value'       9  0
BOTH     RVLOGTYPF2   'f-Negative Unit 8 bracket value'       9  0
BOTH     RVLOGTYPG2   'g-Negative Unit 9 bracket value'       9  0
BOTH     RVLOGTYPH2   'h-Non-stock products'                  9  0
BOTH	 RVLOGTYPI2   'i- Product Switch Batch Supplier' 	  9  0
BOTH	 RVLOGTYPJ2	  'j- Product Reassigned Deal'			  9  0	
BOTH	 RVLOGTYPK2	  'k- Product had deal reattached'		  9  0		
BOTH     RVLOGTYPZ2   'z-Ready for substitution'              9  0   
BOTH     RVSTRDATE    'Starting Date '                       10A 
BOTH     RVSTRTIME    'Starting Time '                       26A
BOTH     RVENDDATE    'ID begin timestamp'                   10A
BOTH     RVENDTIME    'ID end timestamp'                     26A
BOTH     RVWEEKEND    'ID begin timestamp'                    1A

NITTOT - Identify Summary Totals and create K_NITETOT

BOTH     K3SOBJ       'K3S Object library'                   10A
BOTH     COMP         'Company'                               1A
BOTH     COMPCOD      'Company code'                          3A
BOTH     USER         'User calling the program'             10A
BOTH     ERRORS       'Error indicator'                       1A
BOTH     ERRMSG       'Error message'                       100A
BOTH     ERRFIELD     'Field in error'                       20A