APIs For This Group
- ADDCUSG - Add Customer Usage Batch
- ADPCUSG - Add Product To Customer Usage Batch
- DELCUSG - Delete Customer Usage Batch
- DLPCUSG - Delete Product From Customer Usage Batch
- GENCUSG - Generate Entries For Customer Usage Batch
- PRCCUSG - Process Customer Usage Batch
- RVRCUSG - Reverse Customer Usage Batch
- UPDCUSG - Update Customer Usage Batch
- UPPCUSG - Update Product On Customer Usage Batch
- CPYCUSG - Copy Customer Usage Batch
- RPTCUSG - Customer Usage Batch Report
- DLGCUSG - Delete Entries From Customer Usage Batch
- IMPCUSG - Import Data From External Source
ADDCUSG - Add Customer Usage Batch
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            'Host Location ID'                   5A
BOTH            SBMEMO            'Batch Memo'                        40A
BOTH            SBFORCINT         'Forecast Interval '                 3 0
BOTH            OPMAXDEVP         'Maximum Deviation '                 3 1
BOTH            OPFREEZE          'Freeze Until'                      10A
ADPCUSG - Add Product To Customer Usage Batch
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            'Host Location ID'                   5A
BOTH            IDBATCH           'Batch Number'                       7 0
BOTH            SBBUYR            'Buyer ID'                           5A
BOTH            SBSUPL            'Supplier ID'                       10A
BOTH            SBSUPLSUB         'Sub-Supplier ID'                   10A
BOTH            SBPROD            'Product ID'                        25A
BOTH            SBQTYADJ          'Quantity Adjusted'                  9 2
BOTH            SBADJUPD          'Adjustment Type: 0=up,1=Dw'         1A
DELCUSG - Delete Customer Usage Batch
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            'Host Location ID'                   5A
BOTH            IDBATCH           'Batch Number'                       7 0
DLPCUSG - Delete Product From Customer Usage Batch
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            'Host Location ID'                   5A
BOTH            IDBATCH           'Batch Number'                       7 0
BOTH            IDPROD            'Product ID'                        25A
GENCUSG - Generate Entries For Customer Usage Batch
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            'Host Location ID'                   5A
BOTH            IDBATCH           'Batch Number'                       7 0
BOTH            SBBUYR            'Buyer Group'                        5A
BOTH            SBLOCN            'Location'                           5A
BOTH            SBREGN            'Region ID'                          5A
BOTH            SBSUPL            'Supplier'                          10A
BOTH            SBSUPLSUB         'Supplier Sub'                      10A
BOTH            SBSUPLH           'Host Supplier'                     10A
BOTH            SBSUPLSUBH        'Host Sub-Supplier'                 10A
BOTH            SBSUPLG1          'Supplier Group 1'                  10A
BOTH            SBSUPLG2          'Supplier Group 2'                  10A
BOTH            SBSUPLG3          'Supplier Group 3'                  10A
BOTH            SBSUPLG4          'Supplier Group 4'                  10A
BOTH            SBSUPLG5          'Supplier Group 5'                  10A
BOTH            SBPRODG1          'Product Group 1'                   10A
BOTH            SBPRODG2          'Product Group 2'                   10A
BOTH            SBPRODG3          'Product Group 3'                   10A
BOTH            SBPRODG4          'Product Group 4'                   10A
BOTH            SBPRODG5          'Product Group 4'                   10A
BOTH            SBPERCNT          'Percent Change '                    6 3
BOTH            SBPRUPDW          'Change Type '                       1A  
PRCCUSG - Process Customer Usage Batch
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            IDBATCH           'Bath ID'                            7 0
BOTH            SBMULT            'Multiplier'                         3 2
BOTH            SBDOLAR           'Dollars Value'                      5 0
BOTH            SBQTY             'Quantity'                           5 0
BOTH            SBEMAIL           'Target Email'                      50A
RVRCUSG - Reverse Customer Usage Batch
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            IDBATCH           'Batch ID '                          7 0
BOTH            SBEMAIL           'Target Email'                      50A
UPDCUSG - Update Customer Usage Batch
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            'Host Location ID'                   5A
BOTH            IDBATCH           'Batch ID'                           7 0
BOTH            SBMEMO            'Batch Memo'                        40A
BOTH            OPMAXDEVP         'Maximum Deviation '                 3 1
BOTH            OPFREEZE          'Freeze Until'                      10A
UPPCUSG - Update Product On Customer Usage Batch
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            'Host Location ID'                   5A
BOTH            IDBATCH           'Batch Number'                       7 0
BOTH            SBBUYR            'Buyer ID'                           5A
BOTH            SBSUPL            'Supplier ID'                       10A
BOTH            SBSUPLSUB         'Sub-Supplier ID'                   10A
BOTH            SBPROD            'Product ID'                        25A
BOTH            SBQTYADJ          'Quantity Adjusted'                  9 2
BOTH            SBADJUPDW         'Adjustment Type. 0=Up; 1=Dw'        1A
CPYCUSG - Copy Customer Usage Batch
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            'From Location ID'                   5A
BOTH            IDMEMO            'From Batch Memo'                   40A
BOTH            SBLOCN            'To Location ID'                     5A
BOTH            SBMEMO            'To Batch Memo'                     40A
BOTH            SBFREEZE          'Freeze Until'                      10A
BOTH            SBQTYADJ          'Multiplier'                         9 4
RPTCUSG - Customer Usage Batch Report
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            IDBATCH           'Bath ID'                            7 0
BOTH            SBMULT            'Multiplier'                         3 2
BOTH            SBDOLAR           'Dollars Value'                      5 0
BOTH            SBQTY             'Quantity'                           5 0
BOTH            SBPATH            'Path for IFS Files'               100A
DLGCUSG - Delete Entries From Customer Usage Batch
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            'Host Location ID'                   5A
BOTH            IDBATCH           'Batch Number'                       7 0
BOTH            SBBUYR            'Buyer Group'                        5A
BOTH            SBLOCN            'Location'                           5A
BOTH            SBREGN            'Region ID'                          5A
BOTH            SBSUPL            'Supplier'                          10A
BOTH            SBSUPLSUB         'Supplier Sub'                      10A
BOTH            SBSUPLH           'Host Supplier'                     10A
BOTH            SBSUPLSUBH        'Host Sub-Supplier'                 10A
BOTH            SBSUPLG1          'Supplier Group 1'                  10A
BOTH            SBSUPLG2          'Supplier Group 2'                  10A
BOTH            SBSUPLG3          'Supplier Group 3'                  10A
BOTH            SBSUPLG4          'Supplier Group 4'                  10A
BOTH            SBSUPLG5          'Supplier Group 5'                  10A
BOTH            SBPRODG1          'Product Group 1'                   10A
BOTH            SBPRODG2          'Product Group 2'                   10A
BOTH            SBPRODG3          'Product Group 3'                   10A
BOTH            SBPRODG4          'Product Group 4'                   10A
BOTH            SBPRODG5          'Product Group 4'                   10A
IMPCUSG - Import Data From External Source
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            'Host Location ID'                   5A
BOTH            IDBATCH           'Batch Number'                       7 0
BOTH			RVPROC			  'Entries processed Succesfully'	   5 0
BOTH			RVREJC			  'Rejected Entries'				   5 0
