Challenge Overview
Project Overview
Include new Vacation Pay field in the FMS Incentive Statement.
Competition Task Overview
This contest should implement vacation pay feature and provide unit tests for the related code.
Access IBM V8 Web Resourecs:
Add following to your host file
170.225.186.7 w3.ibm.com
This contest should implement the vacation pay feature. Prototype: http://50.97.183.194/Commission%20Calculation/Commission%20Statement.htm
Note that system currently does these actions:
- Based on the language of the user, lookup either FMST_O_NLS_STMT_TEXT, or FMST_O_CC_STMT_TEXT (English) [existing function]
- Parse the STMT_TEXT, calculating {1} as total amount * STMT_TEXT_PERC
- Display resulting HTML at end of statement [existing function]
This contest should:
- Based on the language of the user, lookup either FMST_O_NLS_STMT_TEXT, or FMST_O_CC_STMT_TEXT (English) [existing function]
- Parse the STMT_TEXT, replacing {3} with the total amount (?), calculating {1} as {3} * STMT_TEXT_PERC, and {2} as {3} - {1}
- Display resulting HTML at end of statement [existing function]
(every role should see the vacation pay section)
Testing
User must be able to access "Commission Statement" page and this page must display some properly test data.
Unit Tests for Related Classes
Technology Overview
- Java
- DB2
- WebSphere
Final Submission Guidelines
- Source Code
- Test Data
- DDL
- Deployment Guide
- Unit Tests
- Unit Tests Word Document (Please copy JUnit documentation for each class/method into word document)