Modification of GL level code
This commit is contained in:
parent
407de7bf7a
commit
580e52b7ef
@ -46,14 +46,14 @@ public class TDS_Calculation {
|
||||
checkIdentificationAvailability(depAccountsDetails, identificationData);
|
||||
|
||||
//Calculate the Projected value and insert into the table TDS_TXN
|
||||
for (Map<String, Object> accountDetails : depAccountsDetails) {
|
||||
// for (Map<String, Object> accountDetails : depAccountsDetails) {
|
||||
//String accNo = (String) accountDetails.get("KEY_1");
|
||||
|
||||
//Caclculate the Projected amount.
|
||||
calculateProjectedAmount(accountDetails);
|
||||
/// calculateProjectedAmount(accountDetails);
|
||||
//System.out.println("Projected amount for the account:" + accNo + " " + ProjectedAmt);
|
||||
//insertProjectedAmount(accNo, ProjectedAmt, prodCode);
|
||||
}
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
@ -737,7 +737,7 @@ public class TDS_Calculation {
|
||||
|
||||
PreparedStatement updatepreparestatement = conn.prepareStatement(updateGLAcc);
|
||||
|
||||
updatepreparestatement.setDouble(1, cum_curr_val);
|
||||
updatepreparestatement.setDouble(1, end_bal);
|
||||
updatepreparestatement.setDouble(2, tot_cr);
|
||||
updatepreparestatement.setString(3, KEY_1);
|
||||
updatepreparestatement.setString(4, PACS_ID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user