@Transactional public void updateCheque_DD_Card_Deposit_Receipt(final Long receiptId,final String toBankaccountGlcode,final InstrumentHeader instrumentHeader,final Map valuesMap){
  if (LOGGER.isDebugEnabled())   LOGGER.debug(" updateCheque_DD_Card_Deposit_Receipt | Start");
  if (LOGGER.isDebugEnabled())   LOGGER.debug(" updateCheque_DD_Card_Deposit_Receipt for" + instrumentHeader + "and receiptId"+ receiptId);
  final CVoucherHeader payIn=(CVoucherHeader)persistenceService.find("from CVoucherHeader where id=?",receiptId);
  updateInstrumentAndPayin(payIn,(Bankaccount)valuesMap.get("depositedBankAccount"),instrumentHeader,(EgwStatus)valuesMap.get("instrumentDepositedStatus"));
  addToBankRecon(payIn,instrumentHeader,(EgwStatus)valuesMap.get("instrumentReconciledStatus"));
  if (LOGGER.isDebugEnabled())   LOGGER.debug(" updateCheque_DD_Card_Deposit_Receipt | End");
}

@ Transactional public void updateCheque_DD_Card_Deposit_Receipt ( final Long receiptId , final String toBankaccountGlcode , final InstrumentHeader instrumentHeader , final Map valuesMap ) { if ( LOGGER . isDebugEnabled ( ) ) LOGGER . debug ( " updateCheque_DD_Card_Deposit_Receipt | Start" ) ; if ( LOGGER . isDebugEnabled ( ) ) LOGGER . debug ( " updateCheque_DD_Card_Deposit_Receipt for" + instrumentHeader + "and receiptId" + receiptId ) ; final CVoucherHeader payIn = ( CVoucherHeader ) persistenceService . find ( "from CVoucherHeader where id=?" , receiptId ) ; updateInstrumentAndPayin ( payIn , ( Bankaccount ) valuesMap . get ( "depositedBankAccount" ) , instrumentHeader , ( EgwStatus ) valuesMap . get ( "instrumentDepositedStatus" ) ) ; addToBankRecon ( payIn , instrumentHeader , ( EgwStatus ) valuesMap . get ( "instrumentReconciledStatus" ) ) ; if ( LOGGER . isDebugEnabled ( ) ) LOGGER . debug ( " updateCheque_DD_Card_Deposit_Receipt | End" ) ; }
this method will be called for remit to bank in case of cheque / dd / card / atm / online deposit where a receipt voucher is generated
