Package com.portal.app.ccare.comp
Interface PBillDetailsPageBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PBillDetailsPageBeanImpl
Interface for the bill details page
- Author:
- pashok
-
Method Summary
Modifier and TypeMethodDescriptionReturns the account number that the current bill belongs toint
Returns action item thresholdGets the ARAction amounts, not including paymentsReturns the model handle for AR actions excluding payments and reversalsint
getARActions
(PARBillDetailsData pBDData, PARActionItemSearchData actionData, int actionThreshold) Gets the list of AR action itemsReturns the model handle of a row selected in the item charges tableint
getBillItems
(PARBillItemSearchData itemData, int billItemthreshold) Gets the list of bill itemsReturns bill item model handle, which is the list of bill itemsint
Returns bill item thresholdint
Gets the number of billsGets the payment amountsReturns payments and reversals model handlegetReasonCodes
(ArrayList alReason) This method returns the reason code data for the passed in alReason.Object[]
getRowData
(PModelHandle imh) Returns the data for a particular row selected in the payment table, AR action table or the item charges tableperformAccountBillNow
(PModelHandle acctHandle) Performs the bill now operation at Account LevelperformBillDetailsSearch
(PARBillDetailsData pBDData, PModelHandle bmh, int billIndex, int bIncludeChildAmounts, int actionThreshold, int billItemthreshold, PModelHandle arAcct, PModelHandle arBillInfo) Retrieves the bill poid for the current bill from the list of bills.Performs the bill now operationperformBillNowForAcct
(PModelHandle acctHandle) Performs the bill now operation for an accountperformPendingBillSearch
(PARBillDetailsData pBDData, PModelHandle bmh, int bIncludeChildAmounts, int actionThreshold, int billItemthreshold, PModelHandle arAcct, PModelHandle arBillInfo) Retrieves the bill poid for the pending bill from the list of bills.produceCorrectiveBill
(Poid mBillPoid, ReasonCodeData mCorrReason, int mCorrInvoiceType, boolean passFlagsToOpcode) Method to produce the corrective bill.void
setMode
(int intMode) Set the mode "Show All" -> set as 0 "Show Corrections Only" -> Set as 1.void
setShowPrevLife
(boolean mbShowPrevLife) for showing previous life casevoid
updateBillPoid
(int iBillIndex, PModelHandle bmh) Updates the current bill poid
-
Method Details
-
getTableModelHandle
- 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 summarybmh
- The model handle that contains the list of billsbIncludeChildAmounts
- Indicates if child amounts must be included or not. For a sub account it will be 0arAcct
- Model Handle of the AR accountiBillIndex
- Index of the cuurently selected bill in the balance tab.iActionItemThreshold
- Threshold for ar action items not including paymentsiBillItemThreshold
- 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 summarybIncludeChildAmounts
- Indicates if child amounts must be included or not. For a sub account it will be 0actionThreshold
- Threshold for ar action items not including paymentsbillItemthreshold
- Threshold for item chargesarAcct
- Model Handle of the AR account- Returns:
- Returns the model handle from AR_GET_ACCT_BILLS
- Throws:
RemoteException
-
getBillItemModelHandle
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
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
Returns payments and reversals model handle- Returns:
- Model handle for payments and reversals
- Throws:
RemoteException
-
getARActionHandle
Returns the model handle for AR actions excluding payments and reversals- Returns:
- model handle for AR actions
- Throws:
RemoteException
-
getBillItemsHandle
Returns bill item model handle, which is the list of bill items- Returns:
- Model handle for bill items
- Throws:
RemoteException
-
getAccountNumber
Returns the account number that the current bill belongs to- Returns:
- the account number of this bill
- Throws:
RemoteException
-
getActionItemThreshold
Returns action item threshold- Returns:
- AR action item threshold value
- Throws:
RemoteException
-
getBillItemThreshold
Returns bill item threshold- Returns:
- bill item threshold value
- Throws:
RemoteException
-
getNumBills
Gets the number of bills- Returns:
- Number of bills for this account.
- Throws:
RemoteException
-
getARActionAmount
Gets the ARAction amounts, not including payments- Throws:
RemoteException
-
getPaymentAmount
Gets the payment amounts- Returns:
- total payment amount applied to this bill
- Throws:
RemoteException
-
getRowData
Returns the data for a particular row selected in the payment table, AR action table or the item charges table- Throws:
RemoteException
-
performBillNow
Performs the bill now operation- Returns:
- Model handle of the newly created bill
- Throws:
RemoteException
-
performAccountBillNow
Performs the bill now operation at Account Level- Returns:
- Model handle of the newly created bill
- Throws:
RemoteException
-
performBillNowForAcct
Performs the bill now operation for an account- Parameters:
acctHandle
- account model handle- Returns:
- Model handle of the newly created bill
- Throws:
RemoteException
-
updateBillPoid
Updates the current bill poid- Parameters:
iBillIndex
- the bill index of the currently selected billbmh
- Model handle of the list of bills.- Throws:
RemoteException
-
setShowPrevLife
void setShowPrevLife(boolean mbShowPrevLife) for showing previous life case- Parameters:
mbShowPrevLife
- boolean
-
getReasonCodes
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_IDmCorrInvoiceType
- 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
-
-