AISC - AI APIs

APIs For This Group

ADDAISC - Add Entry To AI Table

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            SBLOCN            'Location ID'                      5A
BOTH            SBSUPL            'Supplier ID'                     10A
BOTH            SBSUPLSU          'Sub supplier ID'                 10A
BOTH            SBPROD            'Product ID'                      25A
BOTH            SBBUYR            'Buyer ID'                         5A
BOTH            SBPONUM           'PO Number'                       10A
BOTH            SBBATCH           'Batch ID'                        10A
BOTH            SBENTRY           'Entry ID'                        10A
BOTH            SBCORPID          'Corp ID'                         25A
BOTH            SBERP             'ERP code'                         3A
BOTH            SBPROMPT          'Prompt'                       16000A
BOTH            SBPGROUP          'Product Group 1'                 10A
BOTH            SBPGROUP          'Product Group 2'                 10A
BOTH            SBPGROUP          'Product Group 3'                 10A
BOTH            SBPGROUP          'Product Group 4'                 10A
BOTH            SBPGROUP          'Product Group 5'                 10A
BOTH            SBSGROUP          'Supplier Group 1'                10A
BOTH            SBSGROUP          'Supplier Group 2'                10A
BOTH            SBSGROUP          'Supplier Group 3'                10A
BOTH            SBSGROUP          'Supplier Group 4'                10A
BOTH            SBSGROUP          'Supplier Group 5'                10A
BOTH            SBBKEY            'Bearer Key'                     255A
BOTH            SBMODEL           'Model'                          255A
BOTH            SBLLM             'LLM'                            255A
BOTH            SBPROGRA          'Program'                         10A
BOTH            SBFLAG            'Flag'                             1A
BOTH            SBUCHECK          'User Check'                       2 0
BOTH            SBDOMAIN          'Domain'                         255A
BOTH            SBUSERA1          'User defined alpha 1'             1A
BOTH            SBUSERA2          'User defined alpha 2'             3A
BOTH            SBUSERA3          'User defined alpha 3'             3A
BOTH            SBUSERA4          'User defined alpha 4'            10A
BOTH            SBUSERA5          'User defined alpha 5'            10A
BOTH            SBUSERA6          'User defined alpha 6'            25A
BOTH            SBUSERA7          'User defined alpha 7'            25A
BOTH            SBUSERA8          'User defined alpha 8'            50A
BOTH            SBUSERA9          'User defined alpha 9'            50A
BOTH            SBUSERN1          'User defined numeric 1'           5 0
BOTH            SBUSERN2          'User defined numeric 2'           5 0
BOTH            SBUSERN3          'User defined numeric 3'           5 0
BOTH            SBUSERN4          'User defined numeric 4'           7 0
BOTH            SBUSERN5          'User defined numeric 5'           7 0
BOTH            SBUSERN6          'User defined numeric 6'           7 0
BOTH            SBUSERN7          'User defined numeric 7'          11 4
BOTH            SBUSERN8          'User defined numeric 8'          11 4
BOTH            SBUSERN9          'User defined numeric 9'          11 4
BOTH            RVAIID            'Return Value AI ID'              19A

UPDAISC - Update Entry In The AI Table

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            IDAIID            'Return Value AI ID'              19A
BOTH            SBLOCN            'Location ID'                      5A
BOTH            SBSUPL            'Supplier ID'                     10A
BOTH            SBSUPLSU          'Sub supplier ID'                 10A
BOTH            SBPROD            'Product ID'                      25A
BOTH            SBBUYR            'Buyer ID'                         5A
BOTH            SBPONUM           'PO Number'                       10A
BOTH            SBBATCH           'Batch ID'                        10A
BOTH            SBENTRY           'Entry ID'                        10A
BOTH            SBCORPID          'Corp ID'                         25A
BOTH            SBERP             'ERP code'                         3A
BOTH            SBPROMPT          'Prompt'                       16000A
BOTH            SBPGROUP          'Product Group 1'                 10A
BOTH            SBPGROUP          'Product Group 2'                 10A
BOTH            SBPGROUP          'Product Group 3'                 10A
BOTH            SBPGROUP          'Product Group 4'                 10A
BOTH            SBPGROUP          'Product Group 5'                 10A
BOTH            SBSGROUP          'Supplier Group 1'                10A
BOTH            SBSGROUP          'Supplier Group 2'                10A
BOTH            SBSGROUP          'Supplier Group 3'                10A
BOTH            SBSGROUP          'Supplier Group 4'                10A
BOTH            SBSGROUP          'Supplier Group 5'                10A
BOTH            SBBKEY            'Bearer Key'                     255A
BOTH            SBMODEL           'Model'                          255A
BOTH            SBLLM             'LLM'                            255A
BOTH            SBPROGRA          'Program'                         10A
BOTH            SBFLAG            'Flag'                             1A
BOTH            SBUCHECK          'User Check'                       2 0
BOTH            SBDOMAIN          'Domain'                         255A
BOTH            SBUSERA1          'User defined alpha 1'             1A
BOTH            SBUSERA2          'User defined alpha 2'             3A
BOTH            SBUSERA3          'User defined alpha 3'             3A
BOTH            SBUSERA4          'User defined alpha 4'            10A
BOTH            SBUSERA5          'User defined alpha 5'            10A
BOTH            SBUSERA6          'User defined alpha 6'            25A
BOTH            SBUSERA7          'User defined alpha 7'            25A
BOTH            SBUSERA8          'User defined alpha 8'            50A
BOTH            SBUSERA9          'User defined alpha 9'            50A
BOTH            SBUSERN1          'User defined numeric 1'           5 0
BOTH            SBUSERN2          'User defined numeric 2'           5 0
BOTH            SBUSERN3          'User defined numeric 3'           5 0
BOTH            SBUSERN4          'User defined numeric 4'           7 0
BOTH            SBUSERN5          'User defined numeric 5'           7 0
BOTH            SBUSERN6          'User defined numeric 6'           7 0
BOTH            SBUSERN7          'User defined numeric 7'          11 4
BOTH            SBUSERN8          'User defined numeric 8'          11 4
BOTH            SBUSERN9          'User defined numeric 9'          11 4

DELAISC - Delete Entry In The AI Table

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            IDAIID            'Return Value AI ID'              19A

PRDAISC - Product On Suggested Order Reasoning

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            SBBUYR            'Buyer'                            5A
BOTH            SBLOCN            'Location'                         5A
BOTH            SBSUPL            'Supplier'                        10A
BOTH            SBSUPLSUB         'Supplier Sub'                    10A
BOTH            SBPROD            'Product ID'                      25A
BOTH            SBCMBLOCN         'Cmb Location'                     5A
BOTH            SBCMBSUPL         'Cmb Supplier'                    10A
BOTH            SBCMBSUB          'Cmb Supplier Sub'                10A
BOTH            SBSOQSEQN         'Sequence Number'                  5 0
BOTH            SBAVERAGE         'Average cost'                     7 2
BOTH            SBNJSOQSEQN       'Night Job SOQ'                    7 0
BOTH            SBONHAND          'Quantity on hand'                 7 0
BOTH            SBONORDER         'Quantity on order'                7 0
BOTH            SBBACKOUTQTY      'Backout quantity'                 7 0
BOTH            SBTOTALQTY        'Total available quantity'         7 0
BOTH            SBOVRSTKQTY       'Overstock quantity'               7 0
BOTH            SBORDERPOINT      'Order point'                      7 0
BOTH            SBORDERUPTO       'Order up to'                      7 0
BOTH            SBSAFETYSTOCK     'Safety stock'                     3 0
BOTH            SBLEADTIME        'Lead time'                        3 0
BOTH            SBORDERCYCLE      'Order cycle'                      3 0
BOTH            SBOTHERDAYS       'Other days'                       3 0
BOTH            SBBUYMULT         'Buy multiple'                     7 0
BOTH            SBCONVPACK        'Convenience pack'                 7 0
BOTH            SBMINDAYS         'Minimum days'                     3 0
BOTH            SBMAXDAYS         'Maximum days'                     3 0
BOTH            SBMINUNITS        'Minimum units'                    7 0
BOTH            SBMAXUNITS        'Maximum units'                    7 0
BOTH            SBADDEDAYS        'Added days'                       3 0
BOTH            SBACTPROD         'Number Active PRoducts'           5 0
BOTH            SBSUPTYPE         'Suptyp: 1:F 2:O 3:V'              1A
BOTH            SBLSTORDT         'Last Order Date'                 10A
BOTH            SBNXTORDT         'Most Likely Next Order Date'     10A
BOTH            SBPROJECTDUE      'Projected due date'               3 0
BOTH            SBSADDEDDAYS      'Supplier added days'              3 0
BOTH            SBDAYOH           'Day on hand'                      7 1
BOTH            SBDAYOSOR         'Days On Order for this Ord'        7 1
BOTH            SBDAYONO          'Day on Order'                      7 1
BOTH            SBDAYBOSM         'Backout days'                      7 1
BOTH            SBADDDAYO         'Order Add days'                    3 0
BOTH            SBADDDAYAP        'Product add days'                  3 0
BOTH            SBAUTOADD         'Auto added days'                   3 0
BOTH            SBFORBUYX         'For buy extra days'                3 0
BOTH            SBENTRDAY         'Entire days'                       3 0
BOTH            SBALLOCDY         'Allocation days'                   3 0
BOTH            SBUNITSLTM        'Units Lead Time'                   9 2
BOTH            SBUNITSSST        'Units Safety Stock'                9 2
BOTH            SBUNITSORC        'Units Order Cycle'                 9 2
BOTH            SBUNITSOTH        'Units Other Days'                  9 2
BOTH            SBUNITSDAY        'Units Per Day'                     9 2
BOTH            RVRESULT          'Result of the prompt'           1600A