SZ13 - Seasonal Profiles For 13/4 Weekly

APIs For This Group

ADDSZ13 - Add Seasonal Profile

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            IDBUYR            'Buyer  ID'                      5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            IDSOQSEQN         'Sequence Number'                5 0
BOTH            IDPROD            'Product ID           '         25A
BOTH            SEASONL           'Product Seasonal '             10A
BOTH            SEZDESC           'Seasonal Description'          30A
BOTH            SBCMPSITF         'User Chg Frm Comp0=NO;1=yes'    1A
BOTH            FACTR01           'Factor 01'                      5 2
BOTH            FACTR02           'Factor 02'                      5 2
BOTH            FACTR03           'Factor 03'                      5 2
BOTH            FACTR04           'Factor 04'                      5 2
BOTH            FACTR05           'Factor 05'                      5 2
BOTH            FACTR06           'Factor 06'                      5 2
BOTH            FACTR07           'Factor 07'                      5 2
BOTH            FACTR08           'Factor 08'                      5 2
BOTH            FACTR09           'Factor 09'                      5 2
BOTH            FACTR10           'Factor 10'                      5 2
BOTH            FACTR11           'Factor 11'                      5 2
BOTH            FACTR12           'Factor 12'                      5 2 
BOTH            FACTR13           'Factor 13'                      5 2
BOTH			OPCMBLOCN		  'Combined Location'			   5A
BOTH			OPCMBSUPL		  'Combined Supplier'			  10A
BOTH			OPCMBSUB		  'Combined Sub-Supplier'		  10A	
BOTH            RVFORCAST         'Average'                        9 2
BOTH            RVDEVP            'Deviation %'                    3 1
BOTH            RVTRAKSIG         'Tracking Signal'                3 0
BOTH            RVTRNDDWN         'Trending Down'                  1A

ANLSZ13 - Analyze For Seasonality

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            CHKHILO           'Check hi-lo control'            3 2
BOTH            MATCHYR2          'match year 2 control'           5 3
BOTH            MATCHYR3          'match year 3 control'           5 3
BOTH            FORCINT           'Forecast Interval'              3 0 
BOTH            FORCPER           'Currrent Period'                3 0
BOTH            PER01              'History   01'                  7 0
BOTH            PER02              'History   02'                  7 0
BOTH            PER03              'History   03'                  7 0
BOTH            PER04              'History   04'                  7 0
BOTH            PER05              'History   05'                  7 0
BOTH            PER06              'History   06'                  7 0
BOTH            PER07              'History   07'                  7 0
BOTH            PER08              'History   08'                  7 0
BOTH            PER09              'History   09'                  7 0
BOTH            PER10              'History   10'                  7 0
BOTH            PER11              'History   11'                  7 0
BOTH            PER12              'History   12'                  7 0
BOTH            PER13              'History   13'                  7 0
BOTH            PER14              'History   14'                  7 0
BOTH            PER15              'History   15'                  7 0
BOTH            PER16              'History   16'                  7 0
BOTH            PER17              'History   17'                  7 0
BOTH            PER18              'History   18'                  7 0
BOTH            PER19              'History   19'                  7 0
BOTH            PER20              'History   20'                  7 0
BOTH            PER21              'History   21'                  7 0
BOTH            PER22              'History   22'                  7 0
BOTH            PER23              'History   23'                  7 0
BOTH            PER24              'History   24'                  7 0
BOTH            PER25              'History   25'                  7 0
BOTH            PER26              'History   26'                  7 0
BOTH            PER27              'History   27'                  7 0
BOTH            PER28              'History   28'                  7 0
BOTH            PER29              'History   29'                  7 0
BOTH            PER30              'History   30'                  7 0
BOTH            PER31              'History   31'                  7 0
BOTH            PER32              'History   32'                  7 0
BOTH            PER33              'History   33'                  7 0
BOTH            PER34              'History   34'                  7 0
BOTH            PER35              'History   35'                  7 0
BOTH            PER36              'History   36'                  7 0
BOTH            PER37              'History   37'                  7 0
BOTH            PER38              'History   38'                  7 0
BOTH            PER39              'History   39'                  7 0
BOTH            FRCEYR             'Force Avl.yrs to used'         1 0
BOTH            HILO               'Send hi-lo value'              7 2
BOTH            MATCH2             'Match 2 value'                 7 3 
BOTH            MATCH3             'Match 3 value'                 7 3
BOTH            COMP01             'Composite 01'                  7 0
BOTH            COMP02             'Composite 02'                  7 0
BOTH            COMP03             'Composite 03'                  7 0
BOTH            COMP04             'Composite 04'                  7 0
BOTH            COMP05             'Composite 05'                  7 0
BOTH            COMP06             'Composite 06'                  7 0
BOTH            COMP07             'Composite 07'                  7 0
BOTH            COMP08             'Composite 08'                  7 0
BOTH            COMP09             'Composite 09'                  7 0
BOTH            COMP10             'Composite 10'                  7 0
BOTH            COMP11             'Composite 11'                  7 0
BOTH            COMP12             'Composite 12'                  7 0
BOTH            COMP13             'Composite 13'                  7 0
BOTH            FACTR01            'Factor 01'                     5 2
BOTH            FACTR02            'Factor 02'                     5 2
BOTH            FACTR03            'Factor 03'                     5 2
BOTH            FACTR04            'Factor 04'                     5 2
BOTH            FACTR05            'Factor 05'                     5 2
BOTH            FACTR06            'Factor 06'                     5 2
BOTH            FACTR07            'Factor 07'                     5 2
BOTH            FACTR08            'Factor 08'                     5 2
BOTH            FACTR09            'Factor 09'                     5 2
BOTH            FACTR10            'Factor 10'                     5 2
BOTH            FACTR11            'Factor 11'                     5 2
BOTH            FACTR12            'Factor 12'                     5 2
BOTH            FACTR13            'Factor 13'                     5 2
BOTH            YRAVIL             'Years Available'               1 0
BOTH            YRUSED             'Years Used'                    1 0
BOTH            STR_HI             'Start Point Hi'                3 0
BOTH            STR_LO             'Start Point Lo'                3 0

CALSZ13 - Calculate Seasonality

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            IDBUYR            'Buyer ID'                       5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            IDPROD            'Product ID           '         25A
BOTH            IDHISTYPE         'History Type'                   1 0
BOTH            SBPER01           'Composite 01'                   7 0 
BOTH            SBPER02           'Composite 02'                   7 0 
BOTH            SBPER03           'Composite 03'                   7 0 
BOTH            SBPER04           'Composite 04'                   7 0 
BOTH            SBPER05           'Composite 05'                   7 0
BOTH            SBPER06           'Composite 06'                   7 0
BOTH            SBPER07           'Composite 07'                   7 0
BOTH            SBPER08           'Composite 08'                   7 0 
BOTH            SBPER09           'Composite 09'                   7 0 
BOTH            SBPER10           'Composite 10'                   7 0  
BOTH            SBPER11           'Composite 11'                   7 0
BOTH            SBPER12           'Composite 12'                   7 0
BOTH            SBPER13           'Composite 13'                   7 0
BOTH			OPCMBLOCN		  'Combined Location'			   5A
BOTH			OPCMBSUPL		  'Combined Supplier'			  10A
BOTH			OPCMBSUB		  'Combined Sub-Supplier'		  10A	
BOTH            RVFACTR01         'Factor 01'                      5 2
BOTH            RVFACTR02         'Factor 02'                      5 2
BOTH            RVFACTR03         'Factor 03'                      5 2
BOTH            RVFACTR04         'Factor 04'                      5 2 
BOTH            RVFACTR05         'Factor 05'                      5 2
BOTH            RVFACTR06         'Factor 06'                      5 2 
BOTH            RVFACTR07         'Factor 07'                      5 2
BOTH            RVFACTR08         'Factor 08'                      5 2 
BOTH            RVFACTR09         'Factor 09'                      5 2 
BOTH            RVFACTR10         'Factor 10'                      5 2
BOTH            RVFACTR11         'Factor 11'                      5 2
BOTH            RVFACTR12         'Factor 12'                      5 2
BOTH            RVFACTR13         'Factor 13'                      5 2
BOTH            RVFORCAST         'Average'                        9 2 
BOTH            RVDEVP            'Deviation %'                    3 1 
BOTH            RVTRAKSIG         'Tracking Signal'                3 0
BOTH            RVTRNDDWN         'Trending Down'                  1A

DELSZ13 - Delete Seasonality

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            IDBUYR            'Buyer ID'                       5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            IDSOQSEQN         'Sequence Number'                5 0
BOTH            IDPROD            'Product ID           '         25A
BOTH            IDSEASONL         'Product Seasonal '             10A
BOTH			OPCMBLOCN		  'Combined Location'			   5A
BOTH			OPCMBSUPL		  'Combined Supplier'			  10A
BOTH			OPCMBSUB		  'Combined Sub-Supplier'		  10A	
BOTH            FORCAST            'Average'                       9 2 
BOTH            DEVP               'Deviation %'                   3 1
BOTH            TRAKSIG            'Tracking Signal'               3 0 
BOTH            TRNDDWN            'Trending Down'                 1A

SELSZ13 - Select An Existing Seasonal Profile

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            IDBUYR            'Buyer ID'                       5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            IDSOQSEQN         'Sequence Number'                5 0
BOTH            IDPROD            'Product ID           '         25A
BOTH            IDSEASONL         'Prodcut Seasonal '             10A
BOTH            SBCMPSITF         'User Chg Frm Comp0=NO;1=yes'    1A
BOTH			OPCMBLOCN		  'Combined Location'			   5A
BOTH			OPCMBSUPL		  'Combined Supplier'			  10A
BOTH			OPCMBSUB		  'Combined Sub-Supplier'		  10A	
BOTH            FORCAST            'Average'                       9 2
BOTH            DEVP               'Deviation %'                   3 1
BOTH            TRAKSIG            'Tracking Signal'               3 0
BOTH            TRNDDWN            'Trending Down'                 1A

DFTSZ13 - Next Seasonal Profile ID

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            IDBUYR            'Buyer ID'                       5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            IDSOQSEQN         'Sequence Number'                5 0
BOTH            IDPROD            'Product ID           '         25A
BOTH			OPCMBLOCN		  'Combined Location ' 			   5A
BOTH			OPCMBSUPL		  'Combined Supplier'			  10A 
BOTH			OPCMBSUB		  'Combined Sub-Supplier'		  10A
BOTH            IDSEASONL         'Prodcut Seasonal '             10A

TSTSZ13 - Seasonal Analyzer Test

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            IDBUYR            'Buyer ID'                       5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            IDPROD            'Product ID           '         25A
BOTH			OPCMBLOCN		  'Combined Location ' 			   5A
BOTH			OPCMBSUPL		  'Combined Supplier'			  10A 
BOTH			OPCMBSUB		  'Combined Sub-Supplier'		  10A
BOTH            CSZMA12           'Control Seasonal Match Yr1-2'   7 3
BOTH            CSZMA13           'Control Seasonal Match Yr1-3'   7 3
BOTH            CSZHILO           'Control Seasonal Check Hi-Lo'   7 3
BOTH            PSZMA12           'Product Seasonal Match Yr1-2'   7 3
BOTH            PSZMA13           'Product Seasonal Match Yr1-3'   7 3
BOTH            PSZHILO           'Product Seasonal Check Hi-Lo'   7 2
BOTH            PFFLG12           'Pass {1}; Fail {0}; Yr 1-2'     1A
BOTH            PFFLG13           'Pass {1}; Fail {0}; Yr 1-3'     1A
BOTH            PFFLGHL           'Pass {1}; Fail {0}; HI-LO'      1A
BOTH            PASSFLG           'Pass {T}; Fail {F}; '           1A 

BPRSZ13 - Better Seasonality Profile Test

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            IDBUYR            'Buyer ID'                       5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            IDPROD            'Product ID           '         25A
BOTH            RMVPRFF           'Remove Profile Flag Y/N'        1A
BOTH            NEWPRFF           'New Profile Flag Y/N'           1A

UPDSZ13 - Update Seasonal Profile

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            IDBUYR            'Buyer  ID'                      5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            IDSOQSEQN         'Sequence Number'                5 0
BOTH            IDPROD            'Product ID           '         25A
BOTH            SEASONL           'Product Seasonal '             10A
BOTH            SEZDESC           'Seasonal Description'          30A
BOTH            SBCMPSITF         'User Chg Frm Comp0=NO;1=yes'    1A
BOTH            FACTR01           'Factor 01'                      5 2
BOTH            FACTR02           'Factor 02'                      5 2
BOTH            FACTR03           'Factor 03'                      5 2
BOTH            FACTR04           'Factor 04'                      5 2
BOTH            FACTR05           'Factor 05'                      5 2
BOTH            FACTR06           'Factor 06'                      5 2
BOTH            FACTR07           'Factor 07'                      5 2
BOTH            FACTR08           'Factor 08'                      5 2
BOTH            FACTR09           'Factor 09'                      5 2
BOTH            FACTR10           'Factor 10'                      5 2
BOTH            FACTR11           'Factor 11'                      5 2
BOTH            FACTR12           'Factor 12'                      5 2 
BOTH            FACTR13           'Factor 13'                      5 2
BOTH			OPCMBLOCN		  'Combined Location'			   5A
BOTH			OPCMBSUPL		  'Combined Supplier'			  10A
BOTH			OPCMBSUB		  'Combined Sub-Supplier'		  10A	
BOTH            RVFORCAST         'Average'                        9 2
BOTH            RVDEVP            'Deviation %'                    3 1
BOTH            RVTRAKSIG         'Tracking Signal'                3 0
BOTH            RVTRNDDWN         'Trending Down'                  1A

SUPSZ13 - Seasonality Analyzer 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            'Location ID'                    5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            SBANLZTYP         'Analyer type $-Dlr, U-Unt'      1A
BOTH            OPGROUP1          'Optional Group 1 '             10A
BOTH            OPGROUP2          'Optional Group 2 '             10A
BOTH            OPGROUP3          'Optional Group 3 '             10A
BOTH            OPGROUP4          'Optional Group 4 '             10A
BOTH            OPGROUP5          'Optional Group 5 '             10A
BOTH            RVPRUSED          'Prodcuts Used'                  5 0
BOTH			RVTOTPRD 		  'Total Products'				   5 0
BOTH            RVCOMPS01         'Composite 01'                   9 0
BOTH            RVCOMPS02         'Composite 02'                   9 0
BOTH            RVCOMPS03         'Composite 03'                   9 0
BOTH            RVCOMPS04         'Composite 04'                   9 0
BOTH            RVCOMPS05         'Composite 05'                   9 0
BOTH            RVCOMPS06         'Composite 06'                   9 0
BOTH            RVCOMPS07         'Composite 07'                   9 0
BOTH            RVCOMPS08         'Composite 08'                   9 0
BOTH            RVCOMPS09         'Composite 09'                   9 0
BOTH            RVCOMPS10         'Composite 10'                   9 0
BOTH            RVCOMPS11         'Composite 11'                   9 0
BOTH            RVCOMPS12         'Composite 12'                   9 0
BOTH            RVCOMPS13         'Composite 13'                   9 0
BOTH            RVFACTR01         'Factor 01'                      5 2
BOTH            RVFACTR02         'Factor 02'                      5 2
BOTH            RVFACTR03         'Factor 03'                      5 2
BOTH            RVFACTR04         'Factor 04'                      5 2
BOTH            RVFACTR05         'Factor 05'                      5 2
BOTH            RVFACTR06         'Factor 06'                      5 2
BOTH            RVFACTR07         'Factor 07'                      5 2
BOTH            RVFACTR08         'Factor 08'                      5 2
BOTH            RVFACTR09         'Factor 09'                      5 2
BOTH            RVFACTR10         'Factor 10'                      5 2
BOTH            RVFACTR11         'Factor 11'                      5 2
BOTH            RVFACTR12         'Factor 12'                      5 2 
BOTH            RVFACTR13         'Factor 13'                      5 2