public interface ISrBlnc
extends org.beigesoft.hnd.IHnTrRlBk
Service that maintenances Blnc and BlncCh, retrieves trial balance, also that maintenances subaccount dirting - SacCh, and changes if need entries Entr.sacNm, Entr.sadNm, Blnc.SaNm.
| Modifier and Type | Method and Description |
|---|---|
int |
chngSacsIfNd(Map<String,Object> pRvs)
Changes if need entries Entr.sacNm, Entr.sadNm, Blnc.SaNm.
|
Date |
evDtNxtPerSt(Map<String,Object> pRvs,
Map<String,Object> pVs,
Date pDtFor)
Evaluate date start of next balance store period.
|
Date |
evDtPrvPerSt(Map<String,Object> pRvs,
Map<String,Object> pVs,
Date pDtFor)
Evaluate date start of previous balance store period.
|
Date |
evDtStPer(Map<String,Object> pRvs,
Date pDtFor)
Evaluates start of period nearest to pDtFor.
|
void |
hndNewEntr(Map<String,Object> pRvs,
Date pDtAt)
Handles new accounting entry to check
dirty of stored balances.
|
void |
hndSacntCh(Map<String,Object> pRvs,
ISacnt pSacnt)
Handle subaccount has been changed.
|
boolean |
recalcIfNd(Map<String,Object> pRvs,
Date pDtFor)
Recalculates if need for all balances for all dates less
or equals pDtFor, this method is always invoked by report ledger.
|
List<TrBlLn> |
retTrBlnc(Map<String,Object> pRvs,
Date pDt)
Retrieves Trial Balance report.
|
List<TrBlLn> retTrBlnc(Map<String,Object> pRvs, Date pDt) throws Exception
Retrieves Trial Balance report.
pRvs - Request scoped variablespDt - dateException - - an exceptionboolean recalcIfNd(Map<String,Object> pRvs, Date pDtFor) throws Exception
Recalculates if need for all balances for all dates less or equals pDtFor, this method is always invoked by report ledger.
pRvs - Request scoped variablespDtFor - date forException - - an exceptionvoid hndNewEntr(Map<String,Object> pRvs, Date pDtAt) throws Exception
Handles new accounting entry to check dirty of stored balances.
pRvs - Request scoped variablespDtAt - date atException - - an exceptionDate evDtStPer(Map<String,Object> pRvs, Date pDtFor) throws Exception
Evaluates start of period nearest to pDtFor. Tested in blc org.beigesoft.test.CalendarTest.
pRvs - Request scoped variablespDtFor - date forException - - an exceptionint chngSacsIfNd(Map<String,Object> pRvs) throws Exception
Changes if need entries Entr.sacNm, Entr.sadNm, Blnc.SaNm. It should be invoked together with recalcIfNd, and service must be locked (synchronized).
pRvs - Request scoped variablesException - - an exceptionvoid hndSacntCh(Map<String,Object> pRvs, ISacnt pSacnt) throws Exception
Handle subaccount has been changed.
pRvs - Request scoped variablespSacnt - subaccountException - - an exceptionDate evDtNxtPerSt(Map<String,Object> pRvs, Map<String,Object> pVs, Date pDtFor) throws Exception
Evaluate date start of next balance store period. Tested in blc org.beigesoft.test.CalendarTest.
pRvs - Request scoped variablespVs - Invoker scoped variablespDtFor - date forException - - an exceptionDate evDtPrvPerSt(Map<String,Object> pRvs, Map<String,Object> pVs, Date pDtFor) throws Exception
Evaluate date start of previous balance store period. Tested in blc org.beigesoft.test.CalendarTest.
pRvs - Request scoped variablespVs - Invoker scoped variablespDtFor - date forException - - an exceptionCopyright © 2019. All rights reserved.