Interface PARDisputesPageBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PARDisputesPageBeanImpl

public interface PARDisputesPageBean extends Remote
Interface for Controller class PARAllocateBeanImpl
  • Method Details

    • getDisputes

      PModelHandle getDisputes(PModelHandle hDispute, PModelHandle hSettlement, int nIncludeChildren, PModelHandle hAcct, PModelHandle hArAcct) throws RemoteException
      Call PortalOp.AR_GET_DISPUTES to get a list of disputed items.
      Parameters:
      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 included
      hAcct - The account
      hArAcct - The account's A/R parent
      Returns:
      model handle for the bill item with dispute(s)
      Throws:
      RemoteException
    • settleDisputes

      PModelHandle settleDisputes(ArrayList alist) throws RemoteException
      Call PortalOp.BILL_ITEM_SETTLEMENT settle given disputed bill item.
      Parameters:
      aList - An ArrayList containing these items:
      • bill item model handle
      • currency id
      • comments
      • settlement amount
      • backdating date (or null)
      Returns:
      the poid of the settlement item
      Throws:
      RemoteException
    • getDisputesNotes

      String getDisputesNotes(PModelHandle hRow) throws RemoteException
      Return the comments for disputed item(s), comments concatenated in the case for multiple disputes associated with a single bill item
      Parameters:
      hRow - model handle for the disputed bill item
      Returns:
      Comments for disputed item(s)
      Throws:
      RemoteException
    • isSettled

      boolean isSettled(PModelHandle hItemRow) throws RemoteException
      Return boolean flag of a disputed item's settlement state
      Parameters:
      hRow - model handle for the dispute item
      Returns:
      boolean flag of a disputed item's settlement state
      Throws:
      RemoteException
    • disputeItem

      String disputeItem(PModelHandle handle, ArrayList arrList) throws RemoteException
      Return a Comment string whether the dispute went through successfully or not.
      Parameters:
      handle - model handle for the bill item
      arrList - An ArrayList containing these items:
      • bill item model handle
      • dispute amount
      • currency id
      • program name
      • descr
      Returns:
      Comment for disputed item(s)
      Throws:
      RemoteException
    • getReasonCodes

      ReasonCodeData[] getReasonCodes(int reasonType, Locale locale) throws RemoteException
      returns the reason code for given reason type and Locale
      Throws:
      RemoteException
    • isPayingParentAccount

      boolean isPayingParentAccount(PModelHandle hItemRow) throws RemoteException
      From PModelHandle received, it checks if the pay type is PIN_PAY_TYPE_SUBORD or not.
      Parameters:
      hItemRow - model handle for the account bill info
      Returns:
      a flag which says whether the Account is Paying Parent or not
      Throws:
      RemoteException
    • getSettlementAmount

      BigDecimal getSettlementAmount(PModelHandle mhItem) throws RemoteException
      this method returns only item dispute amount and removes event dispute amount from the disputed amount.
      Returns:
      open item dispute amount.
      Throws:
      RemoteException
    • getItemDisputeTime

      Date getItemDisputeTime(PModelHandle mHandle)
      from model handle, it fetches for latest FldEffectiveT, that is last opened dispute date
      Parameters:
      mHandle - PModelHandle
      Returns:
      Date
    • getEventSettlementModelHandle

      PModelHandle getEventSettlementModelHandle(PModelHandle hRow, int primaryCurrency, int secondaryCurrency, int displayedCur) throws Exception
      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.
      Parameters:
      hRow - PModelHandle
      Returns:
      PModelHandle
      Throws:
      Exception