public class PARDisputesPageBeanImpl extends PIAComponentCollectionBean implements PARDisputesPageBean
PortalOp.AR_GET_DISPUTES
PortalOp.AR_GET_ITEM_DETAIL
PortalOp.BILL_ITEM_SETTLEMENT
| Modifier and Type | Field and Description |
|---|---|
static String |
FAIL_EBUFEXCEPTION |
static String |
FAIL_PERMISSION |
static String |
SUCCESS_STR |
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PARDisputesPageBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
static FList |
convertCurrencyToResource(FList itemFlist) |
String |
disputeItem(PModelHandle handle,
ArrayList arrList)
Call
PortalOp.AR_ITEM_DISPUTE dispute given
bill item. |
PModelHandle |
getDisputes(PModelHandle hDispute,
PModelHandle hSettlement,
int nIncludeChildren,
PModelHandle hAcct,
PModelHandle hArAcct)
Call
PortalOp.AR_GET_DISPUTES to get a list of
disputed items. |
String |
getDisputesNotes(PModelHandle hRow)
Return the comments for disputed item(s), comments concatenated in
the case for multiple disputes associated with a single bill item
|
PModelHandle |
getEventSettlementModelHandle(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.
|
Date |
getItemDisputeTime(PModelHandle mHandle)
from model handle, it fetches for latest FldEffectiveT, that is last opened dispute date
|
ReasonCodeData[] |
getReasonCodes(int reasonType,
Locale locale)
return reason code for given reason type
|
BigDecimal |
getSettlementAmount(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 state
|
PModelHandle |
settleDisputes(ArrayList aList)
Call
PortalOp.BILL_ITEM_SETTLEMENT settle given
disputed bill item. |
void |
update(int reason,
Object incoming)
The
update method is called by various internal methods when
the data has changed enough to require changing the client display. |
addChild, getCollectedData, getSelectionDataFor, removeChildaddRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic static String FAIL_PERMISSION
public static String FAIL_EBUFEXCEPTION
public static String SUCCESS_STR
public PARDisputesPageBeanImpl()
throws RemoteException
RemoteExceptionpublic void update(int reason,
Object incoming)
throws RemoteException
PControllerImplupdate method is called by various internal methods when
the data has changed enough to require changing the client display. Must
be overridden by a specific controller subclass.update in class PIAComponentCollectionBeanreason - incoming - RemoteExceptionpublic PModelHandle getDisputes(PModelHandle hDispute, PModelHandle hSettlement, int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) throws RemoteException
PortalOp.AR_GET_DISPUTES to get a list of
disputed items.getDisputes in interface PARDisputesPageBeanhDispute - 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 parentRemoteExceptionpublic static FList convertCurrencyToResource(FList itemFlist) throws RemoteException
RemoteExceptionpublic PModelHandle settleDisputes(ArrayList aList) throws RemoteException
PortalOp.BILL_ITEM_SETTLEMENT settle given
disputed bill item.settleDisputes in interface PARDisputesPageBeanaList - An ArrayList containing these items:RemoteExceptionpublic BigDecimal getSettlementAmount(PModelHandle mhItem) throws RemoteException
getSettlementAmount in interface PARDisputesPageBeanRemoteExceptionpublic String disputeItem(PModelHandle handle, ArrayList arrList) throws RemoteException
PortalOp.AR_ITEM_DISPUTE dispute given
bill item.
Return a Comment string whether the dispute went through successfully or not.disputeItem in interface PARDisputesPageBeanhandle - model handle for the bill itemarrList - An ArrayList containing these items:RemoteExceptionpublic String getDisputesNotes(PModelHandle hRow) throws RemoteException
getDisputesNotes in interface PARDisputesPageBeanhRow - model handle for the disputed bill itemRemoteExceptionpublic boolean isSettled(PModelHandle hItemRow) throws RemoteException
isSettled in interface PARDisputesPageBeanhRow - model handle for the dispute itemRemoteExceptionpublic ReasonCodeData[] getReasonCodes(int reasonType, Locale locale) throws RemoteException
getReasonCodes in interface PARDisputesPageBeanRemoteExceptionpublic boolean isPayingParentAccount(PModelHandle hItemRow) throws RemoteException
isPayingParentAccount in interface PARDisputesPageBeanhItemRow - model handle for the account bill infoRemoteExceptionpublic Date getItemDisputeTime(PModelHandle mHandle)
getItemDisputeTime in interface PARDisputesPageBeanmHandle - PModelHandlepublic PModelHandle getEventSettlementModelHandle(PModelHandle hRow, int primaryCurrency, int secondaryCurrency, int displayedCur) throws Exception
getEventSettlementModelHandle in interface PARDisputesPageBeanhRow - PModelHandleExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.