The following VBA example adds two additional fields to the Sales Prospect Maintenance window and Sales Prospect Report.
The Modifier was used to add the additional local fields, and then VBA code added. The code uses the DUOS (Dynamics User Object Store) to store the additional fields and captures the Save, Read and Delete events to keep the data synchronised. Additional business logic has been added to prevent deleting of a hot prospect.
This example code can be re-used in other windows as the basis for storing user defined fields.
Example code for v8.0, v9.0 & v10.0 is attached at the bottom of the article.
Please see the “Installation Instructions.txt” file in each version’s archive for more information.