Program Description
This program can be found on the Billing File Maintenance Billing Transaction Files menu (BI-3-2-4). It allows you to add, change, or delete a Sales History record for any given customer.

Rev 14 Changes
The Commission Cost field (33) has been added to the Sales Analysis File. During Invoice Entry, Credit Memo Entry, Service Invoicing, Contract Billing, and Order Release, the Commission Cost into either the Special Price File (CONTPD) or the Item File (ITEM) is written into the Invoice Line Item File (INVLID), Order Line Item File (OELID), Sales Anaysis File (SALID) and Sales History File (SHHIST.DT). The field has been added to the Sales Analysis File Maintenance screen as field number 33. This Commission Cost field is not used for any of the existing Commission Reports. However, you can use this field to write custom Commission Reports with Application Manager. When the operator enters this field, it is a unit cost field, so it has four decimal positions. If the operator enters “1025”, the program will add two zeros to the end and display “10.2500”. If the operator enters “10.251”, the program will add one zero to the end and display “10.2510”. If the operator enters “10.2515”, the program will know to not add any zeros to the number and keep it at 10.2515.
Rev 13 Changes
When adding a customer with a date after January 1, 2000, the date added was incorrect. This has been corrected.
Also, an index to the Sales History File named SHHIST4.IX was changed to not be added to if the invoice number is zero. Prior to Revision 13, a problem occurred when there was over 65534 duplicate invoice numbers, which could happen with parts on non-chargeable service calls. This has been corrected.
New indices have been added to the Sales History File (SHHIST.DT), which are SHHIST6.IX, SHHIST7.IX, and SHHIST8.IX. These will now be added to and deleted from in this program.
Three new fields have been added, which are 8- Branch 2, 9- Branch 1 %, and 13- Sales Rep 1 %.