work

Project: Commission Statements

Purpose: Generates and distributes weekly commission statements for sales staff
Location: Stewart Enterprises Corporate Intranet
User Base: 1
Platform: ASP.Net 2.0

The Commission Statements application is a single-user application that generates and distributes commission statements to several hundred sales counselors and their managers on a weekly basis. Operation is extremely simple. The user logs in and selects a pay period.

Upon date range selection, the system retrieves commission activities for all sales counselors from our HMIS database. Statements are generated as formatted PDFs then stored on a central file server, emailed to the sales counselors, and uploaded to a SharePoint document library. Following the Sharepoint upload, the system updates each documents' meta data via CAML queries.

The iTextSharp library is used to generate the PDFs.

Code Samples:

  • UtilityLibrary.cs - collection of public static supporting methods
  • SalesCounselor.cs - class representing a sales counselor data entity
  • CSPdfTable.cs - custom class that leverages the iTextSharp library to simplify the formatting for PDF generation
  • DAVHelper.cs - This is a file I downloaded from the internet and modified for my needs. It contains methods I needed for uploading documents to a SharePoint document library and modifying their meta data.
< BSS Transactions Log Return to Work page Company Roster >