Interface PBillDetailsPageBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PBillDetailsPageBeanImpl

public interface PBillDetailsPageBean extends Remote
Interface for the bill details page
Author:
pashok
  • Method Details

    • getTableModelHandle

      PModelHandle getTableModelHandle() throws RemoteException
      Returns:
      Throws:
      RemoteException
    • performBillDetailsSearch

      PModelHandle performBillDetailsSearch(PARBillDetailsData pBDData, PModelHandle bmh, int billIndex, int bIncludeChildAmounts, int actionThreshold, int billItemthreshold, PModelHandle arAcct, PModelHandle arBillInfo) throws RemoteException
      Retrieves the bill poid for the current bill from the list of bills.
      Parameters:
      pBDData - class that stores the summary data after opcode has been executed. It is used by the bill details page to retrieve the data needed for the bill summary
      bmh - The model handle that contains the list of bills
      bIncludeChildAmounts - Indicates if child amounts must be included or not. For a sub account it will be 0
      arAcct - Model Handle of the AR account
      iBillIndex - Index of the cuurently selected bill in the balance tab.
      iActionItemThreshold - Threshold for ar action items not including payments
      iBillItemThreshold - Threshold for item charges
      Returns:
      Returns the model handle from AR_GET_ACCT_BILLS that contains the info for the generated date and due date for the bill.
      Throws:
      RemoteException
    • performPendingBillSearch

      PModelHandle performPendingBillSearch(PARBillDetailsData pBDData, PModelHandle bmh, int bIncludeChildAmounts, int actionThreshold, int billItemthreshold, PModelHandle arAcct, PModelHandle arBillInfo) throws RemoteException
      Retrieves the bill poid for the pending bill from the list of bills.
      Parameters:
      pBDData - class that stores the summary data after opcode has been executed. It is used by the bill details page to retrieve the data needed for the bill summary
      bIncludeChildAmounts - Indicates if child amounts must be included or not. For a sub account it will be 0
      actionThreshold - Threshold for ar action items not including payments
      billItemthreshold - Threshold for item charges
      arAcct - Model Handle of the AR account
      Returns:
      Returns the model handle from AR_GET_ACCT_BILLS
      Throws:
      RemoteException
    • getBillItemModelHandle

      PModelHandle getBillItemModelHandle(PModelHandle imh) throws RemoteException
      Returns the model handle of a row selected in the item charges table
      Parameters:
      Model - handle of the bill item
      Returns:
      the model handle for a bill item
      Throws:
      RemoteException
    • getARActions

      int getARActions(PARBillDetailsData pBDData, PARActionItemSearchData actionData, int actionThreshold) throws RemoteException
      Gets the list of AR action items
      Parameters:
      actionData - Data from the AR action search dialog. null if bill details page is being created.
      iActionItemThreshold - AR action item threshold.
      Returns:
      Number of AR action items found
      Throws:
      RemoteException
    • getBillItems

      int getBillItems(PARBillItemSearchData itemData, int billItemthreshold) throws RemoteException
      Gets the list of bill items
      Parameters:
      billItemData - Data from the bill item search dialog. null if bill details page is being created.
      iBillItemThreshold - Bill item threshold.
      Returns:
      Number of bill items found
      Throws:
      RemoteException
    • getPmtModelHandle

      PModelHandle getPmtModelHandle() throws RemoteException
      Returns payments and reversals model handle
      Returns:
      Model handle for payments and reversals
      Throws:
      RemoteException
    • getARActionHandle

      PModelHandle getARActionHandle() throws RemoteException
      Returns the model handle for AR actions excluding payments and reversals
      Returns:
      model handle for AR actions
      Throws:
      RemoteException
    • getBillItemsHandle

      PModelHandle getBillItemsHandle() throws RemoteException
      Returns bill item model handle, which is the list of bill items
      Returns:
      Model handle for bill items
      Throws:
      RemoteException
    • getAccountNumber

      String getAccountNumber() throws RemoteException
      Returns the account number that the current bill belongs to
      Returns:
      the account number of this bill
      Throws:
      RemoteException
    • getActionItemThreshold

      int getActionItemThreshold() throws RemoteException
      Returns action item threshold
      Returns:
      AR action item threshold value
      Throws:
      RemoteException
    • getBillItemThreshold

      int getBillItemThreshold() throws RemoteException
      Returns bill item threshold
      Returns:
      bill item threshold value
      Throws:
      RemoteException
    • getNumBills

      int getNumBills() throws RemoteException
      Gets the number of bills
      Returns:
      Number of bills for this account.
      Throws:
      RemoteException
    • getARActionAmount

      BigDecimal getARActionAmount() throws RemoteException
      Gets the ARAction amounts, not including payments
      Throws:
      RemoteException
    • getPaymentAmount

      BigDecimal getPaymentAmount() throws RemoteException
      Gets the payment amounts
      Returns:
      total payment amount applied to this bill
      Throws:
      RemoteException
    • getRowData

      Object[] getRowData(PModelHandle imh) throws RemoteException
      Returns the data for a particular row selected in the payment table, AR action table or the item charges table
      Throws:
      RemoteException
    • performBillNow

      PModelHandle performBillNow() throws RemoteException
      Performs the bill now operation
      Returns:
      Model handle of the newly created bill
      Throws:
      RemoteException
    • performAccountBillNow

      PModelHandle performAccountBillNow(PModelHandle acctHandle) throws RemoteException
      Performs the bill now operation at Account Level
      Returns:
      Model handle of the newly created bill
      Throws:
      RemoteException
    • performBillNowForAcct

      PModelHandle performBillNowForAcct(PModelHandle acctHandle) throws RemoteException
      Performs the bill now operation for an account
      Parameters:
      acctHandle - account model handle
      Returns:
      Model handle of the newly created bill
      Throws:
      RemoteException
    • updateBillPoid

      void updateBillPoid(int iBillIndex, PModelHandle bmh) throws RemoteException
      Updates the current bill poid
      Parameters:
      iBillIndex - the bill index of the currently selected bill
      bmh - Model handle of the list of bills.
      Throws:
      RemoteException
    • setShowPrevLife

      void setShowPrevLife(boolean mbShowPrevLife)
      for showing previous life case
      Parameters:
      mbShowPrevLife - boolean
    • getReasonCodes

      ReasonCodeData[] getReasonCodes(ArrayList alReason) throws RemoteException
      This method returns the reason code data for the passed in alReason. alReason(0) should contain the PIN_FLD_REASON_DOMAIN_ID alReason(1) should contain Locale information
      Parameters:
      alReason -
      Returns:
      ReasonCodeData
      Throws:
      RemoteException
    • produceCorrectiveBill

      PModelHandle produceCorrectiveBill(Poid mBillPoid, ReasonCodeData mCorrReason, int mCorrInvoiceType, boolean passFlagsToOpcode) throws Exception
      Method to produce the corrective bill. BILL_MAKE_CORRECTIVE_BILL is called by this method.
      Parameters:
      mBillPoid - Poid of the bill number for which you want to generate corrective bill.
      mCorrReason - ReasonCodeData which contains DOMAIN_ID and REASON_ID
      mCorrInvoiceType - int Type of corrective invoice.
      passFlagsToOpcode - true/false if true->PIN_FLD_FLAGS will be passed with BILL_VALIDATION_FOR_AR_CHARGES_NEEDED to validate no charge corrections scenario. if false->PIN_FLD_FLAGS will not be passed.
      Returns:
      PModelHandle
      Throws:
      Exception
    • setMode

      void setMode(int intMode)
      Set the mode "Show All" -> set as 0 "Show Corrections Only" -> Set as 1.
      Parameters:
      intMode -