Package com.portal.app.ccare.comp
Interface PARDisputesPageBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PARDisputesPageBeanImpl
Interface for Controller class PARAllocateBeanImpl
-
Method Summary
Modifier and TypeMethodDescriptiondisputeItem
(PModelHandle handle, ArrayList arrList) Return a Comment string whether the dispute went through successfully or not.getDisputes
(PModelHandle hDispute, PModelHandle hSettlement, int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) CallPortalOp.AR_GET_DISPUTES
to get a list of disputed items.getDisputesNotes
(PModelHandle hRow) Return the comments for disputed item(s), comments concatenated in the case for multiple disputes associated with a single bill itemgetEventSettlementModelHandle
(PModelHandle hRow, int primaryCurrency, int secondaryCurrency, int displayedCur) if the displayed currency is not equal to primary currency, then converts the resource id and amount to displayed currency and updates the model handle.getItemDisputeTime
(PModelHandle mHandle) from model handle, it fetches for latest FldEffectiveT, that is last opened dispute dategetReasonCodes
(int reasonType, Locale locale) returns the reason code for given reason type and LocalegetSettlementAmount
(PModelHandle mhItem) this method returns only item dispute amount and removes event dispute amount from the disputed amount.boolean
isPayingParentAccount
(PModelHandle hItemRow) From PModelHandle received, it checks if the pay type is PIN_PAY_TYPE_SUBORD or not.boolean
isSettled
(PModelHandle hItemRow) Return boolean flag of a disputed item's settlement statesettleDisputes
(ArrayList alist) CallPortalOp.BILL_ITEM_SETTLEMENT
settle given disputed bill item.
-
Method Details
-
getDisputes
PModelHandle getDisputes(PModelHandle hDispute, PModelHandle hSettlement, int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) throws RemoteException CallPortalOp.AR_GET_DISPUTES
to get a list of disputed items.- Parameters:
hDispute
- model handle for the dispute item, if null all disputes for the given account is returned.hSettlement
- model handle for the settlement poid (only used in the case where a previously unresolved dispute is settled) for the given account is returned.nIncludeChildren
- Flag to indicate if amounts from child account(s) should (1) or should not (0) be includedhAcct
- The accounthArAcct
- The account's A/R parent- Returns:
- model handle for the bill item with dispute(s)
- Throws:
RemoteException
-
settleDisputes
CallPortalOp.BILL_ITEM_SETTLEMENT
settle given disputed bill item.- Parameters:
aList
- An ArrayList containing these items:
- bill item model handle
- currency id
- comments
- settlement amount
- backdating date (or null)
- Returns:
- the poid of the settlement item
- Throws:
RemoteException
-
getDisputesNotes
Return the comments for disputed item(s), comments concatenated in the case for multiple disputes associated with a single bill item- Parameters:
hRow
- model handle for the disputed bill item- Returns:
- Comments for disputed item(s)
- Throws:
RemoteException
-
isSettled
Return boolean flag of a disputed item's settlement state- Parameters:
hRow
- model handle for the dispute item- Returns:
- boolean flag of a disputed item's settlement state
- Throws:
RemoteException
-
disputeItem
Return a Comment string whether the dispute went through successfully or not.- Parameters:
handle
- model handle for the bill itemarrList
- An ArrayList containing these items:
- bill item model handle
- dispute amount
- currency id
- program name
- descr
- Returns:
- Comment for disputed item(s)
- Throws:
RemoteException
-
getReasonCodes
returns the reason code for given reason type and Locale- Throws:
RemoteException
-
isPayingParentAccount
From PModelHandle received, it checks if the pay type is PIN_PAY_TYPE_SUBORD or not.- Parameters:
hItemRow
- model handle for the account bill info- Returns:
- a flag which says whether the Account is Paying Parent or not
- Throws:
RemoteException
-
getSettlementAmount
this method returns only item dispute amount and removes event dispute amount from the disputed amount.- Returns:
- open item dispute amount.
- Throws:
RemoteException
-
getItemDisputeTime
from model handle, it fetches for latest FldEffectiveT, that is last opened dispute date- Parameters:
mHandle
- PModelHandle- Returns:
- Date
-
getEventSettlementModelHandle
PModelHandle getEventSettlementModelHandle(PModelHandle hRow, int primaryCurrency, int secondaryCurrency, int displayedCur) throws Exception if the displayed currency is not equal to primary currency, then converts the resource id and amount to displayed currency and updates the model handle.- Parameters:
hRow
- PModelHandle- Returns:
- PModelHandle
- Throws:
Exception
-