BACH - Batches

APIs For This Group

CHGBACH - Change Batch Status

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            IDUSER            'Batch User'                    10A
BOTH            IDBUYR            'Buyer Group'                    5A
BOTH            IDREGN            'Region ID'                      5A
BOTH            IDLOCN            'Location ID'                    5A
BOTH            IDPGMTYP          'Program type'                   1A
BOTH            IDSUPL            'Supplier'                      10A
BOTH            IDSUPLSUB         'Supplier Sub'                  10A
BOTH            IDSTATUS          'Batch Status'                   1A

DELBACH - Delete 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

LCKBACH - Lock A 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            SBBATCH           'Batch ID'                       7 0
BOTH            SBUSER            'Batch User'                    10A
BOTH            SBBUYR            'Buyer Group'                    5A
BOTH            SBREGN            'Region ID'                      5A
BOTH            SBLOCN            'Location ID'                    5A
BOTH            SBPGMTYP          'Program type'                   1A
BOTH            SBSUPL            'Supplier'                      10A
BOTH            SBSUPLSUB         'Supplier Sub'                  10A
BOTH            SBSTATUS          'Batch Status'                   1A

RVWBACH - Batch Entry Reviewed

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            IDUSER            'Batch User'                    10A
BOTH            IDBUYR            'Buyer Group'                    5A
BOTH            IDREGN            'Region ID'                      5A
BOTH            IDLOCN            'Location ID'                    5A
BOTH            IDPGMTYP          'Program type'                   1A
BOTH            IDSUPL            'Supplier'                      10A
BOTH            IDSUPLSUB         'Supplier Sub'                  10A
BOTH            IDSTATUS          'Batch Status'                   1A
BOTH            IDPROD            'Product'                       25A 

UNLBACH - Unlock A 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            SBBATCH           'Batch ID'                       7 0
BOTH            SBUSER            'Batch User'                    10A
BOTH            SBBUYR            'Buyer Group'                    5A
BOTH            SBREGN            'Region ID'                      5A
BOTH            SBLOCN            'Location ID'                    5A
BOTH            SBPGMTYP          'Program type'                   1A
BOTH            SBSUPL            'Supplier'                      10A
BOTH            SBSUPLSUB         'Supplier Sub'                  10A
BOTH            SBSTATUS          'Batch Status'                   1A

CALBACH - Review/Update all batch details and update Batch Header

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            SBBATCH           'Batch ID'                       7A
BOTH            SBUSER            'Batch User'                    10A
BOTH            SBBUYR            'Buyer Group'                    5A
BOTH            SBREGN            'Region ID'                      5A
BOTH            SBLOCN            'Location ID'                    5A
BOTH            SBPGMTYP          'Program type'                   1A
BOTH            SBSUPL            'Supplier'                      10A
BOTH            SBSUPLSUB         'Supplier Sub'                  10A
BOTH            SBSTATUS          'Batch Status'                   1A