Added new variable paymenttypecode. default it to 'S' for single entry payment.
Added a function to setPaymentTypeCode
Edited createDetailRecord - Changed field 9 to take value from the variable
fixed an error in variable declaration
paymenttypecode default to blank
Merge pull request #2 from geenasuresh/master

Added new variable paymenttypecode.