public class FinancialsUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
org.egov.infstr.services.PersistenceService<org.egov.model.instrument.InstrumentHeader,Long> |
instrumentHeaderService |
| Constructor and Description |
|---|
FinancialsUtil() |
| Modifier and Type | Method and Description |
|---|---|
List<org.egov.model.instrument.InstrumentHeader> |
createInstrument(List<Map<String,Object>> paramList)
Create Instrument Header for list of HashMap of instrument header
properties
|
org.egov.commons.CVoucherHeader |
createRemittanceVoucher(HashMap<String,Object> headerdetails,
List<HashMap<String,Object>> accountCodeList,
List<HashMap<String,Object>> subledgerList) |
org.egov.commons.CVoucherHeader |
createVoucher(Map<String,Object> headerdetails,
List<HashMap<String,Object>> accountcodedetails,
List<HashMap<String,Object>> subledgerdetails,
Boolean isVoucherApproved) |
List<org.egov.commons.CChartOfAccounts> |
getBankChartofAccountCodeList()
This API return list of ChartOfAccount mapped with bank accounts
|
org.egov.model.instrument.InstrumentType |
getInstrumentTypeByType(String type)
Fetches instrument type object for given instrument type as string
|
org.egov.commons.CVoucherHeader |
getReversalVoucher(List<HashMap<String,Object>> paramList)
Get the reversal voucher for the voucher header
|
static boolean |
isRevenueAccountHead(org.egov.commons.CChartOfAccounts coa,
List<org.egov.commons.CChartOfAccounts> bankCOAList,
org.egov.infstr.services.PersistenceService persistenceService)
Checks whether given account is a revenue account (cash/cheque in hand)
|
Map<String,Object> |
prepareForUpdateInstrumentDepositSQL() |
void |
setContraService(org.egov.services.contra.ContraService contraService) |
void |
setInstrumentHeaderService(org.egov.infstr.services.PersistenceService<org.egov.model.instrument.InstrumentHeader,Long> instrumentHeaderService) |
void |
setInstrumentService(org.egov.services.instrument.InstrumentService instrumentService) |
void |
updateCashDeposit(Map<String,Object> instrumentMap)
Deprecated.
|
void |
updateCashDeposit(Map<String,Object> instrumentMap,
org.egov.commons.CVoucherHeader cVoucherHeader,
org.egov.model.instrument.InstrumentHeader instrumentHeader,
org.egov.commons.Bankaccount bankaccount) |
void |
updateCheque_DD_Card_Deposit_Receipt(Map<String,Object> instrumentMap)
Update Cheque/DD/Card Instrument Status after creating Bank Remittance
Voucher(if the Bank Remittance voucher type is Receipt)
|
void |
updateCheque_DD_Card_Deposit(Map<String,Object> instrumentMap)
Update Cheque/DD/Card Instrument Status after creating Bank Remittance
Voucher(if the Bank Remittance voucher type is Contra)
|
void |
updateCheque_DD_Card_Deposit(Map instrumentMap,
org.egov.commons.CVoucherHeader cVoucherHeader,
org.egov.model.instrument.InstrumentHeader instrumentHeader,
org.egov.commons.Bankaccount bankaccount) |
void |
updateInstrumentHeader(org.egov.model.instrument.InstrumentHeader instrumentHeader) |
void |
updateInstrumentHeader(List<org.egov.model.instrument.InstrumentHeader> instrumentHeaderList,
org.egov.commons.EgwStatus status,
org.egov.commons.Bankaccount depositedBankAccount) |
org.egov.model.instrument.InstrumentHeader |
updateInstrumentHeaderStatus(org.egov.model.instrument.InstrumentHeader instrumentHeaderObj,
org.egov.commons.EgwStatus status,
org.egov.commons.Bankaccount depositedBankAccount) |
List<org.egov.model.instrument.InstrumentVoucher> |
updateInstrumentVoucher(List<Map<String,Object>> paramList)
Update instrument type and return list of InstrumentVoucher
|
public org.egov.infstr.services.PersistenceService<org.egov.model.instrument.InstrumentHeader,Long> instrumentHeaderService
public void setInstrumentService(org.egov.services.instrument.InstrumentService instrumentService)
instrumentService - the Instrument Service to setpublic org.egov.model.instrument.InstrumentType getInstrumentTypeByType(String type)
type - Instrument type as string e.g. cash/cheque@Transactional public org.egov.commons.CVoucherHeader createRemittanceVoucher(HashMap<String,Object> headerdetails, List<HashMap<String,Object>> accountCodeList, List<HashMap<String,Object>> subledgerList)
public org.egov.commons.CVoucherHeader createVoucher(Map<String,Object> headerdetails, List<HashMap<String,Object>> accountcodedetails, List<HashMap<String,Object>> subledgerdetails, Boolean isVoucherApproved)
headerdetails - accountcodedetails - subledgerdetails - isVoucherApproved - public org.egov.commons.CVoucherHeader getReversalVoucher(List<HashMap<String,Object>> paramList)
paramList - public List<org.egov.model.instrument.InstrumentVoucher> updateInstrumentVoucher(List<Map<String,Object>> paramList)
paramList - public List<org.egov.model.instrument.InstrumentHeader> createInstrument(List<Map<String,Object>> paramList)
paramList - @Transactional public void updateCheque_DD_Card_Deposit(Map<String,Object> instrumentMap)
Map - containing Instrument and PayInSlip voucher information@Transactional public void updateCheque_DD_Card_Deposit(Map instrumentMap, org.egov.commons.CVoucherHeader cVoucherHeader, org.egov.model.instrument.InstrumentHeader instrumentHeader, org.egov.commons.Bankaccount bankaccount)
@Transactional public void updateCheque_DD_Card_Deposit_Receipt(Map<String,Object> instrumentMap)
Map - containing Instrument and PayInSlip voucher information@Deprecated @Transactional public void updateCashDeposit(Map<String,Object> instrumentMap)
Map - containing Instrument and PayInSlip voucher information@Transactional public void updateCashDeposit(Map<String,Object> instrumentMap, org.egov.commons.CVoucherHeader cVoucherHeader, org.egov.model.instrument.InstrumentHeader instrumentHeader, org.egov.commons.Bankaccount bankaccount)
public void setContraService(org.egov.services.contra.ContraService contraService)
contraService - the contraService to setpublic static boolean isRevenueAccountHead(org.egov.commons.CChartOfAccounts coa,
List<org.egov.commons.CChartOfAccounts> bankCOAList,
org.egov.infstr.services.PersistenceService persistenceService)
coa - the account object@Transactional public void updateInstrumentHeader(List<org.egov.model.instrument.InstrumentHeader> instrumentHeaderList, org.egov.commons.EgwStatus status, org.egov.commons.Bankaccount depositedBankAccount)
public org.egov.model.instrument.InstrumentHeader updateInstrumentHeaderStatus(org.egov.model.instrument.InstrumentHeader instrumentHeaderObj,
org.egov.commons.EgwStatus status,
org.egov.commons.Bankaccount depositedBankAccount)
@Transactional public void updateInstrumentHeader(org.egov.model.instrument.InstrumentHeader instrumentHeader)
public List<org.egov.commons.CChartOfAccounts> getBankChartofAccountCodeList()
public Map<String,Object> prepareForUpdateInstrumentDepositSQL()
public void setInstrumentHeaderService(org.egov.infstr.services.PersistenceService<org.egov.model.instrument.InstrumentHeader,Long> instrumentHeaderService)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.