|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DepreciationBatchDao
Interface declaring DAO methods required by CAMS depreciation batch job
Method Summary | |
---|---|
Object[] |
getAssetAndPaymentCount(Integer fiscalYear,
Integer fiscalMonth,
Calendar depreciationDate,
boolean includePending)
Retrieves asset and asset payment count eligible for depreciation |
Object[] |
getFederallyOwnedAssetAndPaymentCount(Integer fiscalYear,
Integer fiscalMonth,
Calendar depreciationDate)
This method... |
Integer |
getFullyDepreciatedAssetCount()
Counts the number of assets which has (SUM(Primary Depreciation Amount - Accumulated Depreciation) - Salvage Amount) is zero |
Collection<AssetPaymentInfo> |
getListOfDepreciableAssetPaymentInfo(Integer fiscalYear,
Integer fiscalMonth,
Calendar depreciationDate)
Gets the list of depreciable asset payment list and corresponding details |
Set<Long> |
getLockedAssets()
Returns the list of locked asset by pending transfer and retirement documents |
Map<Long,org.kuali.rice.kns.util.KualiDecimal> |
getPrimaryDepreciationBaseAmountForSV()
Primary depreciation base amount for assets with Salvage Value depreciation method code. |
Integer |
getRetireDocLockedAssetCount()
Retirement document locked count |
Integer |
getTransferDocLockedAssetCount()
Transfer document locked count |
void |
resetPeriodValuesWhenFirstFiscalPeriod(Integer fiscalPeriod)
Sum all period column and set as previous year value and then reset period columns with zero dollar |
void |
savePendingGLEntries(List<GeneralLedgerPendingEntry> glPendingEntries)
Saves a batch of GL Pending entries |
void |
updateAssetPayments(List<AssetPaymentInfo> assetPayments,
Integer fiscalPeriod)
Updates payments as batch, columns updated are accumulated depreciation amount and current period column decided by fiscal period |
void |
updateAssetsCreatedInLastFiscalPeriod(Integer fiscalMonth,
Integer fiscalYear)
Updates depreciation and service date for all the assets created after last fiscal period date |
Method Detail |
---|
void updateAssetPayments(List<AssetPaymentInfo> assetPayments, Integer fiscalPeriod)
assetPayments
- Batch of asset paymentsfiscalPeriod
- Current fiscal periodvoid resetPeriodValuesWhenFirstFiscalPeriod(Integer fiscalPeriod) throws Exception
fiscalMonth
- Fiscal period
Exception
void updateAssetsCreatedInLastFiscalPeriod(Integer fiscalMonth, Integer fiscalYear)
fiscalMonth
- fiscal monthfiscalYear
- fiscal yearvoid savePendingGLEntries(List<GeneralLedgerPendingEntry> glPendingEntries)
glPendingEntries
- GLPE list to be savedCollection<AssetPaymentInfo> getListOfDepreciableAssetPaymentInfo(Integer fiscalYear, Integer fiscalMonth, Calendar depreciationDate)
fiscalYear
- Fiscal yearfiscalMonth
- Fiscal perioddepreciationDate
- Depreciation Date
Integer getFullyDepreciatedAssetCount()
Map<Long,org.kuali.rice.kns.util.KualiDecimal> getPrimaryDepreciationBaseAmountForSV()
Object[] getAssetAndPaymentCount(Integer fiscalYear, Integer fiscalMonth, Calendar depreciationDate, boolean includePending)
fiscalYear
- fiscalMonth
- depreciationDate
- inincludePending
-
Object[] getFederallyOwnedAssetAndPaymentCount(Integer fiscalYear, Integer fiscalMonth, Calendar depreciationDate)
fiscalYear
- fiscalMonth
- depreciationDate
-
Integer getTransferDocLockedAssetCount()
Integer getRetireDocLockedAssetCount()
Set<Long> getLockedAssets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |