TARG - Service Level Targets

APIs For This Group

ADDTARG - Add Service Level Target

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            'Buyer ID'                       5A 
BOTH            IDLOCN            'Location ID'                    5A
BOTH            IDGROUP1          'GROUP 1'                       10A
BOTH            IDGROUP2          'GROUP 2'                       10A
BOTH            SBMEMO            'Memo           '               20A
BOTH            SBSERVCE          'Base Service       '            3 1
BOTH            SBEXCL            'Exclude Flag        '           1 0
BOTH            SBMINSVC          'Minimum 4 Service Point Check'  3 1
BOTH            SBPCTTYPE         'Cumulative percent Type'        1A
BOTH            SBDAMT1           'Sales Value $ Level 1'          5 2
BOTH            SBDAMT2           'Sales Value $ Level 2'          5 2
BOTH            SBDAMT3           'Sales Value $ Level 3'          5 2
BOTH            SBDAMT4           'Sales Value $ Level 4'          5 2
BOTH            SBDAMT5           'Sales Value $ Level 5'          5 2
BOTH            SBDAMT6           'Sales Value $ Level 6'          5 2
BOTH            SBDSRV1           '$ Serv  Level 1'                3 1
BOTH            SBDSRV2           '$ Serv  Level 2'                3 1
BOTH            SBDSRV3           '$ Serv  Level 3'                3 1
BOTH            SBDSRV4           '$ Serv  Level 4'                3 1
BOTH            SBDSRV5           '$ Serv  Level 5'                3 1
BOTH            SBDSRV6           '$ Serv  Level 6'                3 1 
BOTH            SBDUNT1           'Unit Sales Value $ Level 1'     5 2
BOTH            SBDUNT2           'Unit Sales Value $ Level 2'     5 2
BOTH            SBDUNT3           'Unit Sales Value $ Level 3'     5 2 
BOTH            SBDUNT4           'Unit Sales Value $ Level 4'     5 2
BOTH            SBDUNT5           'Unit Sales Value $ Level 5'     5 2
BOTH            SBDUNT6           'Unit Sales Value $ Level 6'     5 2
BOTH            SBUSRV1           'Unit Serv  Level 1'             3 1
BOTH            SBUSRV2           'Unit Serv  Level 2'             3 1
BOTH            SBUSRV3           'Unit Serv  Level 3'             3 1
BOTH            SBUSRV4           'Unit Serv  Level 4'             3 1
BOTH            SBUSRV5           'Unit Serv  Level 5'             3 1
BOTH            SBUSRV6           'Unit Serv  Level 6'             3 1

ADGTARG - Add Product Group Service Level Target

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            IDGROUP1          'GROUP 1'                       10A
BOTH            IDGROUP2          'GROUP 2'                       10A
BOTH            IDGROUP3          'GROUP 3'                       10A
BOTH            IDGROUP4          'GROUP 4'                       10A
BOTH            IDGROUP5          'GROUP 5'                       10A
BOTH            IDLOCN            'Location ID'                    5A
BOTH            SBMEMO            'Memo           '               20A
BOTH            SBSERVCE          'Base Service       '            3 1
BOTH            SBEXCL            'Exclude Flag        '           1 0
BOTH            SBMINSVC          'Minimum 4 Service Point Check'  3 1
BOTH            SBPCTTYPE         'Cumulative percent Type'        1A
BOTH            SBDAMT1           'Sales Value $ Level 1'          5 2
BOTH            SBDAMT2           'Sales Value $ Level 2'          5 2
BOTH            SBDAMT3           'Sales Value $ Level 3'          5 2
BOTH            SBDAMT4           'Sales Value $ Level 4'          5 2
BOTH            SBDAMT5           'Sales Value $ Level 5'          5 2
BOTH            SBDAMT6           'Sales Value $ Level 6'          5 2
BOTH            SBDSRV1           '$ Serv  Level 1'                3 1
BOTH            SBDSRV2           '$ Serv  Level 2'                3 1
BOTH            SBDSRV3           '$ Serv  Level 3'                3 1
BOTH            SBDSRV4           '$ Serv  Level 4'                3 1
BOTH            SBDSRV5           '$ Serv  Level 5'                3 1
BOTH            SBDSRV6           '$ Serv  Level 6'                3 1
BOTH            SBDUNT1           'Unit Sales Value $ Level 1'     5 2
BOTH            SBDUNT2           'Unit Sales Value $ Level 2'     5 2
BOTH            SBDUNT3           'Unit Sales Value $ Level 3'     5 2
BOTH            SBDUNT4           'Unit Sales Value $ Level 4'     5 2
BOTH            SBDUNT5           'Unit Sales Value $ Level 5'     5 2
BOTH            SBDUNT6           'Unit Sales Value $ Level 6'     5 2
BOTH            SBUSRV1           'Unit Serv  Level 1'             3 1
BOTH            SBUSRV2           'Unit Serv  Level 2'             3 1
BOTH            SBUSRV3           'Unit Serv  Level 3'             3 1
BOTH            SBUSRV4           'Unit Serv  Level 4'             3 1
BOTH            SBUSRV5           'Unit Serv  Level 5'             3 1
BOTH            SBUSRV6           'Unit Serv  Level 6'             3 1
BOTH			SBDESCR			  'Group Description '			 100A

ADSTARG - Add Supplier/Product Group Service Level Targets

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            IDSUPL            'Supplier'                      10A
BOTH            IDSUPLSUB         'Supplier-Sub'                  10A
BOTH            IDGROUP1          'GROUP 1'                       10A
BOTH            IDGROUP2          'GROUP 2'                       10A
BOTH            IDBUYR            'Buyer ID'                       5A 
BOTH            IDLOCN            'Location ID'                    5A
BOTH            SBMEMO            'Memo           '               20A
BOTH            SBSERVCE          'Base Service       '            3 1
BOTH            SBEXCL            'Exclude Flag        '           1 0
BOTH            SBMINSVC          'Minimum 4 Service Point Check'  3 1
BOTH            SBPCTTYPE         'Cumulative percent Type'        1A
BOTH            SBDAMT1           'Sales Value $ Level 1'          5 2
BOTH            SBDAMT2           'Sales Value $ Level 2'          5 2
BOTH            SBDAMT3           'Sales Value $ Level 3'          5 2
BOTH            SBDAMT4           'Sales Value $ Level 4'          5 2
BOTH            SBDAMT5           'Sales Value $ Level 5'          5 2
BOTH            SBDAMT6           'Sales Value $ Level 6'          5 2
BOTH            SBDSRV1           '$ Serv  Level 1'                3 1
BOTH            SBDSRV2           '$ Serv  Level 2'                3 1
BOTH            SBDSRV3           '$ Serv  Level 3'                3 1
BOTH            SBDSRV4           '$ Serv  Level 4'                3 1
BOTH            SBDSRV5           '$ Serv  Level 5'                3 1
BOTH            SBDSRV6           '$ Serv  Level 6'                3 1
BOTH            SBDUNT1           'Unit Sales Value $ Level 1'     5 2
BOTH            SBDUNT2           'Unit Sales Value $ Level 2'     5 2
BOTH            SBDUNT3           'Unit Sales Value $ Level 3'     5 2
BOTH            SBDUNT4           'Unit Sales Value $ Level 4'     5 2
BOTH            SBDUNT5           'Unit Sales Value $ Level 5'     5 2
BOTH            SBDUNT6           'Unit Sales Value $ Level 6'     5 2
BOTH            SBUSRV1           'Unit Serv  Level 1'             3 1
BOTH            SBUSRV2           'Unit Serv  Level 2'             3 1
BOTH            SBUSRV3           'Unit Serv  Level 3'             3 1
BOTH            SBUSRV4           'Unit Serv  Level 4'             3 1
BOTH            SBUSRV5           'Unit Serv  Level 5'             3 1
BOTH            SBUSRV6           'Unit Serv  Level 6'             3 1
BOTH			SBDESCR			  'Group Description '			 100A

DELTARG - Delete Service Level Target

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            'Buyer ID'                       5A 
BOTH            IDLOCN            'Location ID'                    5A
BOTH            IDGROUP1          'GROUP 1'                       10A
BOTH            IDGROUP2          'GROUP 2'                       10A

DEGTARG - Delete Product Group Service Level Target

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            IDGROUP1          'GROUP 1'                       10A
BOTH            IDGROUP2          'GROUP 2'                       10A
BOTH            IDGROUP3          'GROUP 3'                       10A
BOTH            IDGROUP4          'GROUP 4'                       10A
BOTH            IDGROUP5          'GROUP 5'                       10A
BOTH            IDLOCN            'Location ID'                    5A

DESTARG - Delete Supplier/Product Group Service Level Targets

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            IDSUPL            'Supplier'                      10A
BOTH            IDSUPLSUB         'Supplier-Sub'                  10A
BOTH            IDGROUP1          'GROUP 1'                       10A
BOTH            IDGROUP2          'GROUP 2'                       10A
BOTH            IDBUYR            'Buyer ID'                       5A 
BOTH            IDLOCN            'Location ID'                    5A

UPGTARG - Update Product Group Service Level Targets

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            IDGROUP1          'GROUP 1'                       10A
BOTH            IDGROUP2          'GROUP 2'                       10A
BOTH            IDGROUP3          'GROUP 3'                       10A
BOTH            IDGROUP4          'GROUP 4'                       10A
BOTH            IDGROUP5          'GROUP 5'                       10A
BOTH            IDLOCN            'Location ID'                    5A
BOTH            SBMEMO            'Memo           '               20A
BOTH            SBSERVCE          'Base Service       '            3 1
BOTH            SBEXCL            'Exclude Flag        '           1 0
BOTH            SBMINSVC          'Minimum 4 Service Point Check'  3 1
BOTH            SBPCTTYPE         'Cumulative percent Type'        1A
BOTH            SBDAMT1           'Sales Value $ Level 1'          5 2
BOTH            SBDAMT2           'Sales Value $ Level 2'          5 2
BOTH            SBDAMT3           'Sales Value $ Level 3'          5 2
BOTH            SBDAMT4           'Sales Value $ Level 4'          5 2
BOTH            SBDAMT5           'Sales Value $ Level 5'          5 2
BOTH            SBDAMT6           'Sales Value $ Level 6'          5 2
BOTH            SBDSRV1           '$ Serv  Level 1'                3 1
BOTH            SBDSRV2           '$ Serv  Level 2'                3 1
BOTH            SBDSRV3           '$ Serv  Level 3'                3 1
BOTH            SBDSRV4           '$ Serv  Level 4'                3 1
BOTH            SBDSRV5           '$ Serv  Level 5'                3 1
BOTH            SBDSRV6           '$ Serv  Level 6'                3 1
BOTH            SBDUNT1           'Unit Sales Value $ Level 1'     5 2
BOTH            SBDUNT2           'Unit Sales Value $ Level 2'     5 2
BOTH            SBDUNT3           'Unit Sales Value $ Level 3'     5 2
BOTH            SBDUNT4           'Unit Sales Value $ Level 4'     5 2
BOTH            SBDUNT5           'Unit Sales Value $ Level 5'     5 2
BOTH            SBDUNT6           'Unit Sales Value $ Level 6'     5 2
BOTH            SBUSRV1           'Unit Serv  Level 1'             3 1
BOTH            SBUSRV2           'Unit Serv  Level 2'             3 1
BOTH            SBUSRV3           'Unit Serv  Level 3'             3 1
BOTH            SBUSRV4           'Unit Serv  Level 4'             3 1
BOTH            SBUSRV5           'Unit Serv  Level 5'             3 1
BOTH            SBUSRV6           'Unit Serv  Level 6'             3 1

UPSTARG - Update Supplier/Product Group Service Level Targets

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            IDSUPL            'Supplier'                      10A
BOTH            IDSUPLSUB         'Supplier-Sub'                  10A
BOTH            IDGROUP1          'GROUP 1'                       10A
BOTH            IDGROUP2          'GROUP 2'                       10A
BOTH            IDBUYR            'Buyer ID'                       5A 
BOTH            IDLOCN            'Location ID'                    5A
BOTH            SBMEMO            'Memo           '               20A
BOTH            SBSERVCE          'Base Service       '            3 1
BOTH            SBEXCL            'Exclude Flag        '           1 0
BOTH            SBMINSVC          'Minimum 4 Service Point Check'  3 1
BOTH            SBPCTTYPE         'Cumulative percent Type'        1A
BOTH            SBDAMT1           'Sales Value $ Level 1'          5 2
BOTH            SBDAMT2           'Sales Value $ Level 2'          5 2
BOTH            SBDAMT3           'Sales Value $ Level 3'          5 2
BOTH            SBDAMT4           'Sales Value $ Level 4'          5 2
BOTH            SBDAMT5           'Sales Value $ Level 5'          5 2
BOTH            SBDAMT6           'Sales Value $ Level 6'          5 2
BOTH            SBDSRV1           '$ Serv  Level 1'                3 1
BOTH            SBDSRV2           '$ Serv  Level 2'                3 1
BOTH            SBDSRV3           '$ Serv  Level 3'                3 1
BOTH            SBDSRV4           '$ Serv  Level 4'                3 1
BOTH            SBDSRV5           '$ Serv  Level 5'                3 1
BOTH            SBDSRV6           '$ Serv  Level 6'                3 1
BOTH            SBDUNT1           'Unit Sales Value $ Level 1'     5 2
BOTH            SBDUNT2           'Unit Sales Value $ Level 2'     5 2
BOTH            SBDUNT3           'Unit Sales Value $ Level 3'     5 2
BOTH            SBDUNT4           'Unit Sales Value $ Level 4'     5 2
BOTH            SBDUNT5           'Unit Sales Value $ Level 5'     5 2
BOTH            SBDUNT6           'Unit Sales Value $ Level 6'     5 2
BOTH            SBUSRV1           'Unit Serv  Level 1'             3 1
BOTH            SBUSRV2           'Unit Serv  Level 2'             3 1
BOTH            SBUSRV3           'Unit Serv  Level 3'             3 1
BOTH            SBUSRV4           'Unit Serv  Level 4'             3 1
BOTH            SBUSRV5           'Unit Serv  Level 5'             3 1
BOTH            SBUSRV6           'Unit Serv  Level 6'             3 1

UPDTARG - Update Service Level Targets

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            'Buyer ID'                       5A 
BOTH            IDLOCN            'Location ID'                    5A
BOTH            SBMEMO            'Memo           '               20A
BOTH            SBSERVCE          'Base Service       '            3 1
BOTH            SBEXCL            'Exclude Flag        '           1 0
BOTH            SBMINSVC          'Minimum 4 Service Point Check'  3 1
BOTH            SBPCTTYPE         'Cumulative percent Type'        1A
BOTH            SBDAMT1           'Sales Value $ Level 1'          5 2
BOTH            SBDAMT2           'Sales Value $ Level 2'          5 2
BOTH            SBDAMT3           'Sales Value $ Level 3'          5 2
BOTH            SBDAMT4           'Sales Value $ Level 4'          5 2
BOTH            SBDAMT5           'Sales Value $ Level 5'          5 2
BOTH            SBDAMT6           'Sales Value $ Level 6'          5 2
BOTH            SBDSRV1           '$ Serv  Level 1'                3 1
BOTH            SBDSRV2           '$ Serv  Level 2'                3 1
BOTH            SBDSRV3           '$ Serv  Level 3'                3 1
BOTH            SBDSRV4           '$ Serv  Level 4'                3 1
BOTH            SBDSRV5           '$ Serv  Level 5'                3 1
BOTH            SBDSRV6           '$ Serv  Level 6'                3 1 
BOTH            SBDUNT1           'Unit Sales Value $ Level 1'     5 2
BOTH            SBDUNT2           'Unit Sales Value $ Level 2'     5 2
BOTH            SBDUNT3           'Unit Sales Value $ Level 3'     5 2 
BOTH            SBDUNT4           'Unit Sales Value $ Level 4'     5 2
BOTH            SBDUNT5           'Unit Sales Value $ Level 5'     5 2
BOTH            SBDUNT6           'Unit Sales Value $ Level 6'     5 2
BOTH            SBUSRV1           'Unit Serv  Level 1'             3 1
BOTH            SBUSRV2           'Unit Serv  Level 2'             3 1
BOTH            SBUSRV3           'Unit Serv  Level 3'             3 1
BOTH            SBUSRV4           'Unit Serv  Level 4'             3 1
BOTH            SBUSRV5           'Unit Serv  Level 5'             3 1
BOTH            SBUSRV6           'Unit Serv  Level 6'             3 1

SLDTARG - Return a Product Level Service Description

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            IDLOCN            'Location ID'                    5A
BOTH            SBGROUP1          'Group 1            '           10A
BOTH            SBGROUP2          'Group 2            '           10A
BOTH            RVCODEDS1         'Group Description        '    100A