|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AssetPaymentService
| Method Summary | |
|---|---|
void |
adjustPaymentAmounts(AssetPayment assetPayment,
boolean reverseAmount,
boolean nullPeriodDepreciation)
This method uses reflection and performs below steps on all Amount fields If it is a depreciation field, then reset the value to null, so that they don't get copied to offset payments If it is an amount field, then reverse the amount by multiplying with -1 |
boolean |
extractPostedDatePeriod(AssetPaymentDetail assetPaymentDetail)
sets in an assetPaymentDetail BO the posting year and posting period that is retrived from the university date table using the asset payment posted date as a key. |
Integer |
getAssetPaymentDetailQuantity(AssetGlobal assetGlobal)
Returns asset payment details quantity |
Integer |
getMaxSequenceNumber(Long capitalAssetNumber)
Finds out the maximum value of payment sequence for an asset |
boolean |
hasDifferentObjectSubTypes(AssetPaymentDocument document)
This method determines whether or not an asset has different object sub type codes in its documents. |
boolean |
isNonDepreciableFederallyOwnedObjSubType(String objectSubType)
Checks if object sub type is non depreciable federally owned |
boolean |
isPaymentEligibleForAccumDeprGLPosting(AssetPayment assetPayment)
Check if payment is eligible for ACCUMMULATE_DEPRECIATION GL posting. |
boolean |
isPaymentEligibleForCapitalizationGLPosting(AssetPayment assetPayment)
Check if payment is eligible for CAPITALIZATION GL posting. |
boolean |
isPaymentEligibleForGLPosting(AssetPayment assetPayment)
Checks if payment is eligible for GL posting |
boolean |
isPaymentEligibleForOffsetGLPosting(AssetPayment assetPayment)
Check if payment is eligible for OFFSET_AMOUNT GL posting. |
boolean |
isPaymentFederalOwned(AssetPayment assetPayment)
Checks if asset payment is federally funder or not |
boolean |
isPaymentFinancialObjectActive(AssetPayment assetPayment)
Checks active status of financial object of the payment |
void |
processApprovedAssetPayment(AssetPaymentDocument assetPaymentDocument)
Stores the approved asset payment detail records in the asset payment table, and updates the total cost of the asset in the asset table |
boolean |
validateAssets(String errorPath,
Asset asset)
Validates the assets inputed in the asset payment document |
| Method Detail |
|---|
Integer getMaxSequenceNumber(Long capitalAssetNumber)
assetPayment - Asset Payment
boolean isPaymentFederalOwned(AssetPayment assetPayment)
assetPayment - Payment record
boolean isPaymentFinancialObjectActive(AssetPayment assetPayment)
assetPayment - Payment record
void processApprovedAssetPayment(AssetPaymentDocument assetPaymentDocument)
assetPaymentDetail -
void adjustPaymentAmounts(AssetPayment assetPayment,
boolean reverseAmount,
boolean nullPeriodDepreciation)
throws IllegalAccessException,
InvocationTargetException
offsetPayment - Offset paymentreverseAmount - true if amounts needs to be multiplied with -1nullPeriodDepreciation - true if depreciation period amount needs to be null
NoSuchMethodException
IllegalAccessException
InvocationTargetExceptionboolean isPaymentEligibleForGLPosting(AssetPayment assetPayment)
assetPayment - AssetPayment
boolean isNonDepreciableFederallyOwnedObjSubType(String objectSubType)
string - objectSubType
boolean extractPostedDatePeriod(AssetPaymentDetail assetPaymentDetail)
assetPaymentDetail -
Integer getAssetPaymentDetailQuantity(AssetGlobal assetGlobal)
assetGlobal -
boolean validateAssets(String errorPath,
Asset asset)
errorPath - asset -
boolean hasDifferentObjectSubTypes(AssetPaymentDocument document)
boolean isPaymentEligibleForCapitalizationGLPosting(AssetPayment assetPayment)
assetPayment -
boolean isPaymentEligibleForAccumDeprGLPosting(AssetPayment assetPayment)
assetPayment -
boolean isPaymentEligibleForOffsetGLPosting(AssetPayment assetPayment)
assetPayment -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||