public class PARBalancePageBeanImpl extends PIAComponentCollectionBean implements PARBalancePageBean
PARBalancePage component.
The following opcodes are used by this controller:
PortalOp.AR_GET_ACCT_BILLSPortalOp.PortalOp.AR_GET_ACCT_BILLS
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PARBalancePageBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendCurrentAccount(PModelHandle mhBillInfo,
PModelHandle mhAccount)
Appends the account object to the account model handle
|
PModelHandle |
getAccountModelForSelectedBill(PModelHandle mhSheet,
PModelHandle mhSelected)
Return PModelHandle for the selected model handel
|
BigDecimal |
getAllCurrencyLimit(PModelHandle hBillinfo,
PModelHandle hAcct)
Return all credit limit of currency resource
|
Object[] |
getBalanceSummary(int nIncludeChildren,
PModelHandle hAcct,
PModelHandle hArAcct)
Retrieve the account balance summary data
Call
PortalOp.AR_GET_ACCT_BAL_SUMMARY |
PModelHandle |
getBalnceGroups(Poid billInfoPoid,
Poid accPoid)
Returns Balance groups for given bill info or returns all balance groups for given account
|
Object[] |
getBillInfoBalanceSummary(int nIncludeChildren,
PModelHandle hAcct,
PModelHandle mARBillInfo)
Retrieve the account balance summary data
Call
PortalOp.AR_GET_ACCT_BAL_SUMMARY |
BigDecimal |
getBillinfoCurrencyLimit(FList fBillinfo,
PModelHandle hAcct)
Return credit limit of currency resource
|
PModelHandle |
getBillItems(int nIncludeChildren,
PModelHandle hAcct,
PModelHandle hArAcct,
PARBillSearchData sData,
Vector billInfos,
Integer threshold)
Retrieve a list of bill items based on given search criteria
Call
PortalOp.AR_GET_BILL_ITEMS |
PModelHandle |
getBills(int nIncludeChildren,
PModelHandle mhAccount,
PModelHandle mARBillInfo,
PARBillSearchData sData)
Retrieve a list of bills based on given search criteria
Call
PortalOp.AR_GET_ACCT_BILLS |
PModelHandle |
getBills(int nIncludeChildren,
PModelHandle mhAccount,
PModelHandle mARBillInfo,
PARBillSearchData sData,
boolean excNegBills)
Retrieve a list of bills based on given search criteria
Call
PortalOp.AR_GET_ACCT_BILLS |
PModelHandle |
getCurrencyBalances(Poid accPoid,
Poid balGrpPoid,
int currency)
Returns Currency balances for given balance group
|
BigDecimal |
getCurrencyLimit(PModelHandle hAcct)
Return the credit limit of currency resource
|
BigDecimal |
getCurrencyLimit(PModelHandle hBillinfo,
PModelHandle hAcct)
Return the credit limit of currency resource
|
BigDecimal |
getCurrencyLimitForSelectedBillUnit(PModelHandle hBillinfo,
PModelHandle hAcct,
PModelHandle selectedBillUnitMH)
Return credit limit of currency resource for selected bill unit
|
Object |
getInvoice(PModelHandle mhBill)
Return an Invoice object given the bill handle
|
PModelHandle |
getNonCurrencyBalances(Poid accPoid,
Poid balGrpPoid)
Returns Non Currency balances for given balance group
|
Vector |
getNonCurrencyResources(PModelHandle hAcct)
Return a vector that contains vectors of non-currency resources
|
Vector |
getNonCurrencyVector(PModelHandle hAcct)
Return a vector that contains vectors of non-currency resources
|
PModelHandle |
getOpenBills(int nIncludeChildren,
PModelHandle mhAccount,
PModelHandle mARBillInfo)
Retrieve a list of open bills
Call
PortalOp.AR_GET_ACCT_BILLS |
boolean |
hasPositveBills(PModelHandle mhAllocBills)
Returns true if the billmodel handle has even one positive bill
|
boolean |
hasPrevLifeOpenBill(PModelHandle mhARBillInfo)
Check if the current subordinate bill info had a previous life as a
standalone bill info with open balance
|
void |
intializeContext() |
void |
reset()
Reset the controller to clear the cached data
|
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 PARBalancePageBeanImpl()
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 void intializeContext()
public Object[] getBillInfoBalanceSummary(int nIncludeChildren, PModelHandle hAcct, PModelHandle mARBillInfo) throws RemoteException
PARBalancePageBeanPortalOp.AR_GET_ACCT_BAL_SUMMARYgetBillInfoBalanceSummary in interface PARBalancePageBeannIncludeChildren - Include children amounts flaghAcct - Handle for the current account objectmARBillInfo - Handle for the BillInfo poid
Return an object array of 3 items:
objs[0] = PModelHandle of PortalOp.AR_GET_ACCT_BAL_SUMMARY flist
objs[1] = Integer object with number of immediate children for this acct
objs[2] = BigDecimal value for unapplied amount
objs[3] = BigDecimal value for pending amount
objs[4] = BigDecimal value for disputed amountRemoteExceptionpublic Object[] getBalanceSummary(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) throws RemoteException
PortalOp.AR_GET_ACCT_BAL_SUMMARYgetBalanceSummary in interface PARBalancePageBeannIncludeChildren - Include children amounts flaghAcct - Handle for the current account objecthArAcct - Handle for the AR account poid
Return an object array of 5 items:
objs[0] = PModelHandle of PortalOp.AR_GET_ACCT_BAL_SUMMARY flist
objs[1] = Integer object with number of immediate children for this acct
objs[2] = BigDecimal value for unapplied amount
objs[3] = BigDecimal value for pending amount
objs[4] = BigDecimal value for disputed amount
objs[5] = Model Handle of the Pending billRemoteExceptionpublic PModelHandle getOpenBills(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mARBillInfo) throws RemoteException
PortalOp.AR_GET_ACCT_BILLSgetOpenBills in interface PARBalancePageBeannIncludeChildren - Include children amounts flaghAcct - Handle for the current account objecthArAcct - Handle for the AR account poidRemoteExceptionpublic PModelHandle getBills(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mARBillInfo, PARBillSearchData sData, boolean excNegBills) throws RemoteException
PortalOp.AR_GET_ACCT_BILLSgetBills in interface PARBalancePageBeannIncludeChildren - Include children amounts flaghAcct - Handle for the current account objecthArAcct - Handle for the AR account poidsData - Search criteria dataRemoteExceptionpublic PModelHandle getBills(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mARBillInfo, PARBillSearchData sData) throws RemoteException
PortalOp.AR_GET_ACCT_BILLSgetBills in interface PARBalancePageBeannIncludeChildren - Include children amounts flaghAcct - Handle for the current account objecthArAcct - Handle for the AR account poidsData - Search criteria dataRemoteExceptionpublic void appendCurrentAccount(PModelHandle mhBillInfo, PModelHandle mhAccount) throws RemoteException
appendCurrentAccount in interface PARBalancePageBeanmhBillinfo - Handle for the billinfo objectmhAccount - Handle for the previous account objectRemoteExceptionpublic PModelHandle getAccountModelForSelectedBill(PModelHandle mhSheet, PModelHandle mhSelected) throws RemoteException
getAccountModelForSelectedBill in interface PARBalancePageBeanmhSheet - The bill handle for the table objectRemoteExceptionpublic PModelHandle getBillItems(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct, PARBillSearchData sData, Vector billInfos, Integer threshold) throws RemoteException
PortalOp.AR_GET_BILL_ITEMSgetBillItems in interface PARBalancePageBeannIncludeChildren - Include children amounts flaghAcct - Handle for the current account objecthArAcct - Handle for the AR account poidsData - Search criteria databillInfos - Billinfo datathreshold - the maximum items to returnRemoteExceptionpublic boolean hasPrevLifeOpenBill(PModelHandle mhARBillInfo) throws RemoteException
hasPrevLifeOpenBill in interface PARBalancePageBeanhAcct - Handle for the current account objectRemoteExceptionpublic BigDecimal getCurrencyLimit(PModelHandle hAcct) throws RemoteException
getCurrencyLimit in interface PARBalancePageBeanhAcct - Handle for the current account objectRemoteExceptionpublic BigDecimal getCurrencyLimit(PModelHandle hBillinfo, PModelHandle hAcct) throws RemoteException
getCurrencyLimit in interface PARBalancePageBeanhBillinfo - Handle for account bill infohAcct - Handle for the current account objectRemoteExceptionpublic BigDecimal getAllCurrencyLimit(PModelHandle hBillinfo, PModelHandle hAcct) throws RemoteException
getAllCurrencyLimit in interface PARBalancePageBeanhBillinfo - Handle for account bill infohAcct - Handle for the current account objectRemoteExceptionpublic BigDecimal getBillinfoCurrencyLimit(FList fBillinfo, PModelHandle hAcct) throws RemoteException
hBillinfo - Handle for account bill infohAcct - Handle for the current account objectRemoteExceptionpublic PModelHandle getCurrencyBalances(Poid accPoid, Poid balGrpPoid, int currency)
getCurrencyBalances in interface PARBalancePageBeanaccPoid - Poid for the current account objectbalGrpPoid - Poid of balance groupcurrency - int primary currencypublic PModelHandle getNonCurrencyBalances(Poid accPoid, Poid balGrpPoid)
getNonCurrencyBalances in interface PARBalancePageBeanaccPoid - Poid for the current account objectbalGrpPoid - Poid of balance grouppublic Vector getNonCurrencyVector(PModelHandle hAcct) throws RemoteException
getNonCurrencyVector in interface PARBalancePageBeanhAcct - Handle for the current account object
vector data in order:
String - Resource Description,
Bigdecimal - Amount, and
BigDecimal - Credit LimitRemoteExceptionpublic Vector getNonCurrencyResources(PModelHandle hAcct) throws RemoteException
getNonCurrencyResources in interface PARBalancePageBeanhAcct - Handle for the current account object
vector data in order:
Integer - Resource id, and
String - DescriptionRemoteExceptionpublic Object getInvoice(PModelHandle mhBill) throws RemoteException
getInvoice in interface PARBalancePageBeanmhBill - The bill handle for the returned invoice objectRemoteExceptionpublic void reset()
throws RemoteException
reset in interface PARBalancePageBeanRemoteExceptionpublic BigDecimal getCurrencyLimitForSelectedBillUnit(PModelHandle hBillinfo, PModelHandle hAcct, PModelHandle selectedBillUnitMH) throws RemoteException
getCurrencyLimitForSelectedBillUnit in interface PARBalancePageBeanhBillinfo - Handle for the bill infohAcct - Handle for the current account objectselectedBillUnitMH - Handle for the selected bill unit objectRemoteExceptionpublic PModelHandle getBalnceGroups(Poid billInfoPoid, Poid accPoid)
getBalnceGroups in interface PARBalancePageBeanbillInfoPoid - Poid poid for the bill infohAcct - PModelHandle Handle for the current account objectpublic boolean hasPositveBills(PModelHandle mhAllocBills)
hasPositveBills in interface PARBalancePageBeanmhAllocBills - Copyright © 2003, 2023, Oracle and/or its affiliates.