Package com.portal.app.ccare.comp
Interface PARBalancePageBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PARBalancePageBeanImpl
Interface for Controller class PARBalancePageBeanImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendCurrentAccount
(PModelHandle mhBillinfo, PModelHandle mhAccount) Appends the account object to the account model handlegetAccountModelForSelectedBill
(PModelHandle mhSheet, PModelHandle mhSelected) Return PModelHandle for the selected model handlegetAllCurrencyLimit
(PModelHandle hBillinfo, PModelHandle hAcct) Return all credit limit of currency resourceObject[]
getBalanceSummary
(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) Retrieve the account balance summary data CallPortalOp.AR_GET_ACCT_BAL_SUMMARY
getBalnceGroups
(Poid billInfoPoid, Poid accPoid) Returns Balance groups for given bill info or returns all balance groups for given accountObject[]
getBillInfoBalanceSummary
(int nIncludeChildren, PModelHandle hAcct, PModelHandle billInfo) Retrieve the account balance summary data CallPortalOp.AR_GET_ACCT_BAL_SUMMARY
getBillItems
(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct, PARBillSearchData sData, Vector billInfos, Integer threshold) Retrieve a list of bill items based on given search criteria CallPortalOp.AR_GET_BILL_ITEMS
getBills
(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct, PARBillSearchData sData) Retrieve a list of bills based on given search criteria CallPortalOp.AR_GET_ACCT_BILLS
getBills
(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mARBillInfo, PARBillSearchData sData, boolean excNegBills) Retrieve a list of bills based on given search criteria CallPortalOp.AR_GET_ACCT_BILLS
getCurrencyBalances
(Poid accPoid, Poid balGrpPoid, int currency) Returns Currency balances for given balance groupgetCurrencyLimit
(PModelHandle hAcct) Return the credit limit of currency resourcegetCurrencyLimit
(PModelHandle hBillinfo, PModelHandle hAcct) Return the credit limit of currency resourcegetCurrencyLimitForSelectedBillUnit
(PModelHandle hBillinfo, PModelHandle hAcct, PModelHandle selectedBillUnitMH) Return credit limit of currency resource for selected bill unitgetInvoice
(PModelHandle mhBill) Return an Invoice object given the bill handlegetNonCurrencyBalances
(Poid accPoid, Poid balGrpPoid) Returns Non Currency balances for given balance groupReturn a vector that contains vectors of non-currency resources vector data in order: Integer - Resource id, and String - DescriptiongetNonCurrencyVector
(PModelHandle hAcct) Return a vector that contains vectors of non-currency resources vector data in order: String - Resource Description, Bigdecimal - Amount, and BigDecimal - Credit LimitgetOpenBills
(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) Retrieve a list of open bills CallPortalOp.AR_GET_ACCT_BILLS
boolean
hasPositveBills
(PModelHandle mhAllocBills) Returns true if the billmodel handle has even one positive billboolean
hasPrevLifeOpenBill
(PModelHandle hArAcct) Check if the current subordinate account had a previous life as a standalone account with open balancevoid
reset()
Reset the controller to clear the cached data
-
Method Details
-
getBalanceSummary
Object[] getBalanceSummary(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) throws RemoteException Retrieve the account balance summary data CallPortalOp.AR_GET_ACCT_BAL_SUMMARY
- Parameters:
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objecthArAcct
- Handle for the AR account 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 amount- Throws:
RemoteException
-
getBills
PModelHandle getBills(int nIncludeChildren, PModelHandle mhAccount, PModelHandle mARBillInfo, PARBillSearchData sData, boolean excNegBills) throws RemoteException Retrieve a list of bills based on given search criteria CallPortalOp.AR_GET_ACCT_BILLS
- Parameters:
nIncludeChildren
- Include children amounts flagsData
- Search criteria dataexcNegBills
- excludes negative bills.hAcct
- Handle for the current account objecthArAcct
- Handle for the AR account poid- Throws:
RemoteException
-
getBillInfoBalanceSummary
Object[] getBillInfoBalanceSummary(int nIncludeChildren, PModelHandle hAcct, PModelHandle billInfo) throws RemoteException Retrieve the account balance summary data CallPortalOp.AR_GET_ACCT_BAL_SUMMARY
- Parameters:
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objectbillInfo
- 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 amount- Throws:
RemoteException
-
getBills
PModelHandle getBills(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct, PARBillSearchData sData) throws RemoteException Retrieve a list of bills based on given search criteria CallPortalOp.AR_GET_ACCT_BILLS
- Parameters:
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objecthArAcct
- Handle for the AR account poidsData
- Search criteria data- Throws:
RemoteException
-
getBillItems
PModelHandle getBillItems(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct, PARBillSearchData sData, Vector billInfos, Integer threshold) throws RemoteException Retrieve a list of bill items based on given search criteria CallPortalOp.AR_GET_BILL_ITEMS
- Parameters:
nIncludeChildren
- 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 return- Throws:
RemoteException
-
getOpenBills
PModelHandle getOpenBills(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) throws RemoteException Retrieve a list of open bills CallPortalOp.AR_GET_ACCT_BILLS
- Parameters:
nIncludeChildren
- Include children amounts flaghAcct
- Handle for the current account objecthArAcct
- Handle for the AR account poid- Throws:
RemoteException
-
getCurrencyLimit
Return the credit limit of currency resource- Parameters:
hAcct
- Handle for the current account object- Throws:
RemoteException
-
getCurrencyLimit
Return the credit limit of currency resource- Parameters:
hBillinfo
- Handle for the bill infohAcct
- Handle for the current account object- Throws:
RemoteException
-
getAllCurrencyLimit
Return all credit limit of currency resource- Parameters:
hBillinfo
- Handle for the bill infohAcct
- Handle for the current account object- Throws:
RemoteException
-
getNonCurrencyVector
Return a vector that contains vectors of non-currency resources vector data in order: String - Resource Description, Bigdecimal - Amount, and BigDecimal - Credit Limit- Throws:
RemoteException
-
getNonCurrencyResources
Return a vector that contains vectors of non-currency resources vector data in order: Integer - Resource id, and String - Description- Throws:
RemoteException
-
hasPrevLifeOpenBill
Check if the current subordinate account had a previous life as a standalone account with open balance- Parameters:
hAcct
- Handle for the current account object- Returns:
- true if there is a previous life as an A/R account with open bill
- Throws:
RemoteException
-
getInvoice
Return an Invoice object given the bill handle- Parameters:
mhBill
- The bill handle for the returned invoice object- Throws:
RemoteException
-
reset
Reset the controller to clear the cached data- Throws:
RemoteException
-
getCurrencyLimitForSelectedBillUnit
BigDecimal getCurrencyLimitForSelectedBillUnit(PModelHandle hBillinfo, PModelHandle hAcct, PModelHandle selectedBillUnitMH) throws RemoteException Return credit limit of currency resource for selected bill unit- Parameters:
hBillinfo
- Handle for the bill infohAcct
- Handle for the current account objectselectedBillUnitMH
- Handle for the selected bill unit object- Throws:
RemoteException
-
getBalnceGroups
Returns Balance groups for given bill info or returns all balance groups for given account- Parameters:
billInfoPoid
- Poid poid for the bill infohAcct
- PModelHandle Handle for the current account object- Returns:
- PModelHandle
-
getCurrencyBalances
Returns Currency balances for given balance group- Parameters:
accPoid
- Poid for the current account objectbalGrpPoid
- Poid of balance groupcurrency
- int primary currency- Returns:
- PModelHandle
-
getNonCurrencyBalances
Returns Non Currency balances for given balance group- Parameters:
accPoid
- Poid for the current account objectbalGrpPoid
- Poid of balance group- Returns:
- PModelHandle
-
getAccountModelForSelectedBill
PModelHandle getAccountModelForSelectedBill(PModelHandle mhSheet, PModelHandle mhSelected) throws RemoteException Return PModelHandle for the selected model handle- Parameters:
mhSheet
- The bill handle for the table object- Throws:
RemoteException
-
appendCurrentAccount
Appends the account object to the account model handle- Parameters:
mhBillinfo
- Handle for the billinfo objectmhAccount
- Handle for the previous account object- Throws:
RemoteException
-
hasPositveBills
Returns true if the billmodel handle has even one positive bill- Parameters:
mhAllocBills
-- Returns:
-