ORCY - Order Cycle Analysis

APIs For This Group

CALORCY - Calculate Order Cycle

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            'ID location'                    5A
BOTH            IDBUYR            'ID buyer'                       5A
BOTH            IDSUPL            'ID supplier'                   10A
BOTH            IDSUPLSUB         'ID sub supplier'               10A
BOTH            IDORCYCLE         'ID Order cycle input'           3  0
BOTH            SBSUPL            'Filtered ID supplier           10A
BOTH            SBSUPLSUB         'Filtered ID sub supplier'      10A
BOTH            SBPRODGP1         'Filtered Product Group 1'      10A
BOTH            SBPRODGP2         'Filtered Product Group 2'      10A
BOTH            SBPRODGP3         'Filtered Product Group 3'      10A
BOTH            SBPRODGP4         'Filtered Product Group 4'      10A
BOTH            SBPRODGP5         'Filtered Product Group 5'      10A 
BOTH            RVORDPERYR        'Order per year'                 3  0
BOTH            RVTOTBILL         'Total Bill'                     9  0
BOTH            RVHEADER          'Header cost'                    9  0
BOTH            RVLINE            'Line cost'                      9  0
BOTH            RVCYCLE           'Cycle stock cost'               9  0
BOTH            RVSAFETY          'Safety stock cost'              9  0
BOTH            RVOVERHD          'Overhead cost'                  9  0
BOTH            RVTOTCST          'Total cost'                     9  0
BOTH            RVDSCPCT          'Discount percent met'           9  0
BOTH            RVDSCDLR          'Discount dollars met'           9  0
BOTH            RVDSCBKT          'Discount bracket met'           1  0
BOTH            RVANLNET          'Annual net cost'                9  0
BOTH            RVTOTDLR          'Total dollars'                  9  0
BOTH            RVTOTWGT          'Total weight'                   9  0
BOTH            RVTOTVOL          'Total volume'                   9  0
BOTH            RVTOTPUR          'Total purchase increments'      9  0
BOTH            RVTOTOTH          'Total other'                    9  0
BOTH            RVTOTUN7          'Total Unit 7'                   9  0
BOTH            RVTOTUN8          'Total Unit 8'                   9  0
BOTH            RVTOTUN9          'Total Unit 9'                   9  0
BOTH            RVACTIVE          'Total # of products'            5  0
BOTH            RVUSED            'Total products used'            5  0
BOTH            RVCURBKTMT        'Current bracket level met'      1  0

ESTORCY - Calculate The Best Fit Order Cycle For A Supplier

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            'ID location'                    5A
BOTH            IDBUYR            'ID buyer'                       5A
BOTH            IDSUPL            'ID supplier'                   10A
BOTH            IDSUPLSUB         'ID sub supplier'               10A
BOTH            SBSUPL            'Filtered ID supplier           10A
BOTH            SBSUPLSUB         'Filtered ID sub supplier'      10A
BOTH            SBPRODGP1         'Filtered Product Group 1'      10A
BOTH            SBPRODGP2         'Filtered Product Group 2'      10A
BOTH            SBPRODGP3         'Filtered Product Group 3'      10A
BOTH            SBPRODGP4         'Filtered Product Group 4'      10A
BOTH            SBPRODGP5         'Filtered Product Group 5'      10A
BOTH            RVORCYC1          'Best fit order cycle value 1'   3  0
BOTH            RVORCYC2          'Best fit order cycle value 2'   3  0
BOTH            RVORCYC3          'Best fit order cycle value 3'   3  0
BOTH            RVORCYC4          'Best fit order cycle value 4'   3  0
BOTH            RVORCYC5          'Best fit order cycle value 5'   3  0

LTUORCY - Return The Date Of The Last Order Cycle Update

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            'ID location'                    5A
BOTH            IDSUPL            'ID supplier'                   10A
BOTH            IDSUPLSUB         'ID sub supplier'               10A
BOTH            SBSUPL            'Filtered ID supplier           10A
BOTH            SBSUPLSUB         'Filtered ID sub supplier'      10A
BOTH            SBPRODGP1         'Filtered Product Group 1'      10A
BOTH            SBPRODGP2         'Filtered Product Group 2'      10A
BOTH            SBPRODGP3         'Filtered Product Group 3'      10A
BOTH            SBPRODGP4         'Filtered Product Group 4'      10A
BOTH            SBPRODGP5         'Filtered Product Group 5'      10A
BOTH            RVORCYCDAT        'Last Order Cycle Date'         10A
BOTH            RVACTIVE          'Active Products used'           5 0

UPDORCY - Update Order Cycle For A Supplier

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'               10A
BOTH            IDSOQSEQN         'ID sugg order sequence #'       5  0 
BOTH            SBNEWORCYC        'New order cycle value'          3  0

SUPORCY - Update Supplier Best Fit Order Cycle

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			SBPRCFLG		  'Processing-' ' = Int 1 = Batch' 1A
BOTH            OPBUYR            'ID Buyer'                       5A
BOTH            OPLOCN            'ID location'                    5A
BOTH            RVNUSUPL          'Nbr of Suppliers Updated'       7 0
BOTH			RVNOTIFY		  'Notify ID'					  11A