Interface PARBalancePageBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PARBalancePageBeanImpl

public interface PARBalancePageBean extends Remote
Interface for Controller class PARBalancePageBeanImpl
  • Method Details

    • getBalanceSummary

      Object[] getBalanceSummary(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) throws RemoteException
      Retrieve the account balance summary data Call PortalOp.AR_GET_ACCT_BAL_SUMMARY
      Parameters:
      nIncludeChildren - Include children amounts flag
      hAcct - Handle for the current account object
      hArAcct - 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 Call PortalOp.AR_GET_ACCT_BILLS
      Parameters:
      nIncludeChildren - Include children amounts flag
      sData - Search criteria data
      excNegBills - excludes negative bills.
      hAcct - Handle for the current account object
      hArAcct - 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 Call PortalOp.AR_GET_ACCT_BAL_SUMMARY
      Parameters:
      nIncludeChildren - Include children amounts flag
      hAcct - Handle for the current account object
      billInfo - 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 Call PortalOp.AR_GET_ACCT_BILLS
      Parameters:
      nIncludeChildren - Include children amounts flag
      hAcct - Handle for the current account object
      hArAcct - Handle for the AR account poid
      sData - 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 Call PortalOp.AR_GET_BILL_ITEMS
      Parameters:
      nIncludeChildren - Include children amounts flag
      hAcct - Handle for the current account object
      hArAcct - Handle for the AR account poid
      sData - Search criteria data
      billInfos - Billinfo data
      threshold - the maximum items to return
      Throws:
      RemoteException
    • getOpenBills

      PModelHandle getOpenBills(int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) throws RemoteException
      Retrieve a list of open bills Call PortalOp.AR_GET_ACCT_BILLS
      Parameters:
      nIncludeChildren - Include children amounts flag
      hAcct - Handle for the current account object
      hArAcct - Handle for the AR account poid
      Throws:
      RemoteException
    • getCurrencyLimit

      BigDecimal getCurrencyLimit(PModelHandle hAcct) throws RemoteException
      Return the credit limit of currency resource
      Parameters:
      hAcct - Handle for the current account object
      Throws:
      RemoteException
    • getCurrencyLimit

      BigDecimal getCurrencyLimit(PModelHandle hBillinfo, PModelHandle hAcct) throws RemoteException
      Return the credit limit of currency resource
      Parameters:
      hBillinfo - Handle for the bill info
      hAcct - Handle for the current account object
      Throws:
      RemoteException
    • getAllCurrencyLimit

      BigDecimal getAllCurrencyLimit(PModelHandle hBillinfo, PModelHandle hAcct) throws RemoteException
      Return all credit limit of currency resource
      Parameters:
      hBillinfo - Handle for the bill info
      hAcct - Handle for the current account object
      Throws:
      RemoteException
    • getNonCurrencyVector

      Vector getNonCurrencyVector(PModelHandle hAcct) throws RemoteException
      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

      Vector getNonCurrencyResources(PModelHandle hAcct) throws RemoteException
      Return a vector that contains vectors of non-currency resources vector data in order: Integer - Resource id, and String - Description
      Throws:
      RemoteException
    • hasPrevLifeOpenBill

      boolean hasPrevLifeOpenBill(PModelHandle hArAcct) throws RemoteException
      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

      Object getInvoice(PModelHandle mhBill) throws RemoteException
      Return an Invoice object given the bill handle
      Parameters:
      mhBill - The bill handle for the returned invoice object
      Throws:
      RemoteException
    • reset

      void reset() throws RemoteException
      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 info
      hAcct - Handle for the current account object
      selectedBillUnitMH - Handle for the selected bill unit object
      Throws:
      RemoteException
    • getBalnceGroups

      PModelHandle getBalnceGroups(Poid billInfoPoid, Poid accPoid)
      Returns Balance groups for given bill info or returns all balance groups for given account
      Parameters:
      billInfoPoid - Poid poid for the bill info
      hAcct - PModelHandle Handle for the current account object
      Returns:
      PModelHandle
    • getCurrencyBalances

      PModelHandle getCurrencyBalances(Poid accPoid, Poid balGrpPoid, int currency)
      Returns Currency balances for given balance group
      Parameters:
      accPoid - Poid for the current account object
      balGrpPoid - Poid of balance group
      currency - int primary currency
      Returns:
      PModelHandle
    • getNonCurrencyBalances

      PModelHandle getNonCurrencyBalances(Poid accPoid, Poid balGrpPoid)
      Returns Non Currency balances for given balance group
      Parameters:
      accPoid - Poid for the current account object
      balGrpPoid - 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

      void appendCurrentAccount(PModelHandle mhBillinfo, PModelHandle mhAccount) throws RemoteException
      Appends the account object to the account model handle
      Parameters:
      mhBillinfo - Handle for the billinfo object
      mhAccount - Handle for the previous account object
      Throws:
      RemoteException
    • hasPositveBills

      boolean hasPositveBills(PModelHandle mhAllocBills)
      Returns true if the billmodel handle has even one positive bill
      Parameters:
      mhAllocBills -
      Returns: