Information Systems:IN-CUSTSLS - Customer Sales History

From uniWIKI
Revision as of 14:30, 8 July 2016 by Norwinu (talk | contribs)
Jump to navigation Jump to search

Purpose

This program summarizes customer sales and displays a detailed breakdown of item categories.

Notes

Markup class changes

This program relies on one main stats file, which is WEBPRDD/WSCSTSLS2P (query this file to see what it looks like if curious). This file is built nightly by the program BLDCSTSL2 see here, erasing the current month's records. Markup classes change on a regular basis, and because the markup class for brand name drugs is hard-coded (i.e. is a constant variable) in BLDCSTSL2, the code needs to be altered to reflect changes to the markup classes. The source can then be recompiled and the program will continue to run nightly, now with the correct information. The relevant code:

0153.00	c*		eval	ppmarkup	=	'RX	8/10 8/10'	140417
0154.00	c*	uwd4	eval	ppmarkup	=	'RX	8/8.665'	150401
0155.00	c*		eval	ppmarkup	=	'RX	8/9.193'	160708
0156.00	c		eval	ppmarkup	=	'RX	8/9.695'	160708

Notice how the old statements have been commented out.