private HashMap<String,Object> createAccDetailmap(String glcode,BigDecimal debitAmount,BigDecimal creditAmount){
  HashMap<String,Object> accountdetailmap=new HashMap<String,Object>();
  accountdetailmap.put(VoucherConstant.GLCODE,glcode);
  accountdetailmap.put(VoucherConstant.DEBITAMOUNT,debitAmount);
  accountdetailmap.put(VoucherConstant.CREDITAMOUNT,creditAmount);
  accountdetailmap.put(VoucherConstant.FUNCTIONCODE,getFunctionaryCode());
  return accountdetailmap;
}

private HashMap < String , Object > createAccDetailmap ( String glcode , BigDecimal debitAmount , BigDecimal creditAmount ) { HashMap < String , Object > accountdetailmap = new HashMap < String , Object > ( ) ; accountdetailmap . put ( VoucherConstant . GLCODE , glcode ) ; accountdetailmap . put ( VoucherConstant . DEBITAMOUNT , debitAmount ) ; accountdetailmap . put ( VoucherConstant . CREDITAMOUNT , creditAmount ) ; accountdetailmap . put ( VoucherConstant . FUNCTIONCODE , getFunctionaryCode ( ) ) ; return accountdetailmap ; }
creates account details map
