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, removeChild
addRemoteListener, 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, unreferenced
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public static String FAIL_PERMISSION
public static String FAIL_EBUFEXCEPTION
public static String SUCCESS_STR
public PARDisputesPageBeanImpl() throws RemoteException
RemoteException
public void update(int reason, Object incoming) throws RemoteException
PControllerImpl
update
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 PIAComponentCollectionBean
reason
- incoming
- RemoteException
public 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 PARDisputesPageBean
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 parentRemoteException
public static FList convertCurrencyToResource(FList itemFlist) throws RemoteException
RemoteException
public PModelHandle settleDisputes(ArrayList aList) throws RemoteException
PortalOp.BILL_ITEM_SETTLEMENT
settle given
disputed bill item.settleDisputes
in interface PARDisputesPageBean
aList
- An ArrayList containing these items:RemoteException
public BigDecimal getSettlementAmount(PModelHandle mhItem) throws RemoteException
getSettlementAmount
in interface PARDisputesPageBean
RemoteException
public 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 PARDisputesPageBean
handle
- model handle for the bill itemarrList
- An ArrayList containing these items:RemoteException
public String getDisputesNotes(PModelHandle hRow) throws RemoteException
getDisputesNotes
in interface PARDisputesPageBean
hRow
- model handle for the disputed bill itemRemoteException
public boolean isSettled(PModelHandle hItemRow) throws RemoteException
isSettled
in interface PARDisputesPageBean
hRow
- model handle for the dispute itemRemoteException
public ReasonCodeData[] getReasonCodes(int reasonType, Locale locale) throws RemoteException
getReasonCodes
in interface PARDisputesPageBean
RemoteException
public boolean isPayingParentAccount(PModelHandle hItemRow) throws RemoteException
isPayingParentAccount
in interface PARDisputesPageBean
hItemRow
- model handle for the account bill infoRemoteException
public Date getItemDisputeTime(PModelHandle mHandle)
getItemDisputeTime
in interface PARDisputesPageBean
mHandle
- PModelHandlepublic PModelHandle getEventSettlementModelHandle(PModelHandle hRow, int primaryCurrency, int secondaryCurrency, int displayedCur) throws Exception
getEventSettlementModelHandle
in interface PARDisputesPageBean
hRow
- PModelHandleException
Copyright © 2003, 2023, Oracle and/or its affiliates.