Interface PHierarchyMoveAcctBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PHierarchyMoveAcctBeanImpl

public interface PHierarchyMoveAcctBean extends Remote
  • Method Summary

    Modifier and Type
    Method
    Description
    getBillInfoBalanceSummary(int nIncludeChildren, PModelHandle hAcct)
    Retrieve the account balance summary data Call PortalOp.AR_GET_ACCT_BAL_SUMMARY
    boolean
    isSubordAcct(Poid acctPoid)
    Return true/false based on the account having any bill info paid by parent.
    void
    moveAccount(PModelHandle model, PModelHandle destAcct, Date deferredTo, boolean billNow, PModelHandle paymentModel)
    Executes the CUSTCARE_MOVE_ACCT opcode to move an account; can also be made to perform a bill now and a payment change before the move
    void
    moveAccount(PModelHandle model, PModelHandle destAcct, Date deferredTo, PModelHandle billNowModel, PModelHandle paymentModel)
    Executes the CUSTCARE_MOVE_ACCT opcode to move an account; can also be made to perform a bill now and a payment change before the move
  • Method Details

    • moveAccount

      void moveAccount(PModelHandle model, PModelHandle destAcct, Date deferredTo, boolean billNow, PModelHandle paymentModel) throws RemoteException
      Executes the CUSTCARE_MOVE_ACCT opcode to move an account; can also be made to perform a bill now and a payment change before the move
      Parameters:
      model - The PModelHandle of the account to be moved
      destAcct - The PModelHandle of the target account. If null, the source account will be moved out of the hierarchy
      deferredTo - The date the move is deferred to If null, the move is not deferred
      billNow - set to true, if the pending charges are to be billed before the move; otherwise, set it to false
      paymentModel - A modelhandle containing info required to make a change in the payment method; set it to null if you don't want to change the payment type
      Throws:
      RemoteException
    • moveAccount

      void moveAccount(PModelHandle model, PModelHandle destAcct, Date deferredTo, PModelHandle billNowModel, PModelHandle paymentModel) throws RemoteException
      Executes the CUSTCARE_MOVE_ACCT opcode to move an account; can also be made to perform a bill now and a payment change before the move
      Parameters:
      model - PModelHandle of the account to be moved
      destAcct - PModelHandle The PModelHandle of the target account. If null, the source account will be moved out of the hierarchy
      deferredTo - Date The date the move is deferred to If null, the move is not deferred
      billNowModel - PModelHandle The PModelHandle of billnow billinfos.
      paymentModel - PModelHandle A modelhandle containing info required to make a change in the payment method; set it to null if you don't want to change the payment type
      Throws:
      RemoteException
    • isSubordAcct

      boolean isSubordAcct(Poid acctPoid)
      Return true/false based on the account having any bill info paid by parent.
    • getBillInfoBalanceSummary

      Object[] getBillInfoBalanceSummary(int nIncludeChildren, PModelHandle hAcct) 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
      Returns:
      Object[]
      Throws:
      RemoteException