DELW - Deal Wizard

APIs For This Group

ADDDELW - Add Wizard Deal

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       IDSUPL     'Supplier ID'                 10A
BOTH       IDSUPLSUB  'Sub-Supplier ID'             10A
BOTH       SBDEALREF  'Deal Reference'              10A
BOTH	   SBUSER	  'Deal User'					10A	
BOTH       SBBEGIN    'Deal Beginning Date'         10A
BOTH       SBEND      'Deal End Date'               10A
BOTH       SBBUYALOW  'Deal Buys Allowed'            3 0
BOTH       SBNOTE     'Deal Note'                  100A
BOTH	   SBTEMPLAT  'Template Type: C,B,S,L'		 1A
BOTH	   SBTEMPVAL  'Template Value - Locn/Buyr'	 5A 
BOTH       RVDEALID   'Deal Id Created'              7A

DELDELW - Del Wizard Deal

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       IDDEALREF  'Deal Reference'              10A
BOTH       IDUSER     'Deal USER'                   10A

CLADELW - Clear all Template info within a deal

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       IDDEALREF  'Deal Reference  '            10A
BOTH       IDUSER     'Deal User '                  10A

CLRDELW - Clear one Template info within a deal Product

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       IDDEALREF  'Deal Reference  '            10A
BOTH       IDPROD     'Deal Product  '              25A
BOTH	   IDUSER	  'Deal User'					10A
BOTH	   IDLINESEQ  'Line Sequence'			     3A

UPDDELW - Upd Wizard Deal Product

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       IDDEALREF  'Deal reference '             10A
BOTH       IDPROD     'Product ID '                 25A
BOTH	   IDUSER	  'Deal User'					10A	
BOTH       IDLINESEQ  'Line Sequence '               3A
BOTH       SBFACTVAL  'Deal Factor Value'            9 4
BOTH	   SBUNIT	  'Unit for $					 5 0

CPYDELW - Upd All Wizard Deal Products

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       IDDEALREF  'Deal reference '             10A
BOTH	   IDUSER	  'Deal User'					10A
BOTH	   IDLINESEQ  'Deal Line Sequence'		     3A
BOTH       SBCPYALL   'Flg 1=All; 0=Outstanding'     1A
BOTH       SBTYPE     'Deal Type     '               2A
BOTH       SBFACTTYP  'Deal Factor Type'             1A
BOTH       SBFACTVAL  'Deal Factor Value'            9 4
BOTH       SBAPPLY    'How to Apply '                1A
BOTH	   SBEXCLUDE  'Exclude Flag'			 	 1 0
BOTH	   SBUNIT	  'Unit for $					 5 0
BOTH	   SBMINQTY	  'Minimum Quantity'			 7 0

EDLDELW - Enable / Disable Location

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       IDDEALREF  'Deal reference '             10A
BOTH	   IDUSER	  'Deal User'					10A
BOTH       SBENABLE   'Enable 1=*on ; 0=*off '       1 0 

ADADELW - Add Wizard Deal Product Allowance

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       IDDEALREF  'Deal reference '             10A
BOTH	   IDLOCN	  'Referenced Location'		 	 5A
BOTH       IDPROD     'Product ID '                 25A
BOTH       IDUSER	  'Deal User ' 		            10A
BOTH	   IDLINESEQ  'Deal Line Sequence'			 3A
BOTH       SBTYPE     'Deal Type     '               2A
BOTH       SBFACTTYP  'Deal Factor Type'             1A
BOTH       SBFACTVAL  'Deal Factor Value'            9 4
BOTH       SBAPPLY    'How to Apply '                1A
BOTH	   SBEXCLUDE  'Exclude Flag'			 	 1 0
BOTH	   SBUNIT	  'Unit for $					 5 0
BOTH	   SBMINQTY	  'Minimum Quantity'			 7 0 

CLPDELW - Clear all Templates info within a deal Product

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       IDDEALREF  'Deal Reference  '            10A
BOTH       IDPROD     'Deal Product  '              25A
BOTH	   IDUSER	  'Deal User'					10A

ULNDELW - Update Wizard Location Note

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       IDDEALREF  'Deal Reference  '            10A
BOTH	   IDUSER	  'Deal User'					10A
BOTH	   SBNOTE	  'Deal Location Note'		   100A

UPNDELW - Update Wizard Production Note

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       IDDEALREF  'Deal Reference  '            10A
BOTH	   IDPROD	  'Deal Product'				25A
BOTH	   IDUSER	  'Deal User'					10A
BOTH	   SBNOTE	  'Deal Location Note'		   100A

PRODELW - Process Deals from Wizard Deals

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       IDDEALREF  'Deal Reference'              10A
BOTH       IDUSER     'Deal USER'                   10A

DFTDELW - Return Next Potential Deal

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       RVNXTDEAL  'Next Deal ID  '               7A