public class PBillDetailsPageBeanImpl extends PIAComponentCollectionBean implements PBillDetailsPageBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PBillDetailsPageBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
static FList |
convertServiceName(FList itemFlist)
Converts the service name from the Flist to a more readble form
|
String |
getAccountNumber()
Returns the account number that this bill belongs to
|
int |
getActionItemThreshold()
Returns action item threshold
|
BigDecimal |
getARActionAmount()
Gets the ARAction amounts, not including payments
|
PModelHandle |
getARActionHandle()
Returns the model handle for AR actions
|
int |
getARActions(PARBillDetailsData pBDData,
PARActionItemSearchData actionData,
int iActionItemThreshold)
Gets the list of AR action items.
|
Vector |
getBillInfoPoids()
Get All the Bill Units for a particular Account
|
PModelHandle |
getBillItemModelHandle(PModelHandle imh)
Returns the model handle of a row selected in the item charges table
|
int |
getBillItems(PARBillItemSearchData billItemData,
int iBillItemThreshold)
Gets the list of bill items.
|
PModelHandle |
getBillItemsHandle()
Returns bill item model handle, which is the list of bill items
|
int |
getBillItemThreshold()
Returns bill item threshold
|
int |
getNumBills()
Gets the number of bills
|
BigDecimal |
getPaymentAmount()
Gets the payment amounts
|
PModelHandle |
getPmtModelHandle()
Returns payments and reversals model handle
|
ReasonCodeData[] |
getReasonCodes(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 table
|
PModelHandle |
getTableModelHandle() |
void |
intializeContext() |
PModelHandle |
performAccountBillNow(PModelHandle acctHandle)
Performs the bill now opeartion for the Current Account across all billunits
Opcode used BILL_MAKE_BILL_NOW
|
PModelHandle |
performBillDetailsSearch(PARBillDetailsData pBDData,
PModelHandle bmh,
int iBillIndex,
int bIncludeChildAmounts,
int iActionItemThreshold,
int iBillItemThreshold,
PModelHandle arAcct,
PModelHandle mhARBillInfo)
Retrieves the bill poid for the current bill from the list of bills .
|
PModelHandle |
performBillNow()
Performs the bill now opeartion for the current bill
Opcode used BILL_MAKE_BILL_NOW
|
PModelHandle |
performBillNowForAcct(PModelHandle acctHandle)
Performs the bill now operation for an account
|
PModelHandle |
performPendingBillSearch(PARBillDetailsData pBDData,
PModelHandle bmh,
int bIncludeChildAmounts,
int actionThreshold,
int billItemthreshold,
PModelHandle arAcct,
PModelHandle mhARBillInfo)
Retrieves the bill poid for the pending bill from the list of bills.
|
PModelHandle |
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 case
|
void |
update(int reason,
Object incoming)
Updates and stores the account poid and account number
|
void |
updateBillPoid(int iBillIndex,
PModelHandle bmh)
Updates the current bill poid from the list of bills
|
addChild, getCollectedData, getSelectionDataFor, removeChildaddRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PBillDetailsPageBeanImpl()
throws RemoteException
RemoteExceptionpublic void update(int reason,
Object incoming)
throws RemoteException
update in class PIAComponentCollectionBeanreason - an integer constant that indicates the reason for the update
(UPDATE_NEW_MODEL, UPDATE_PROPERTY,
UPDATE_MODEL_CHANGE, or UPDATE_CLIENT)incoming - the data associated with updateRemoteException - thrown for errorspublic PModelHandle performBillDetailsSearch(PARBillDetailsData pBDData, PModelHandle bmh, int iBillIndex, int bIncludeChildAmounts, int iActionItemThreshold, int iBillItemThreshold, PModelHandle arAcct, PModelHandle mhARBillInfo) throws RemoteException
performBillDetailsSearch in interface PBillDetailsPageBeanpBDData - 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 billsiBillIndex - Index of the cuurently selected bill in the balance tab.bIncludeChildAmounts - Indicates if child amounts must be included or not.
For a sub account it will be 0iActionItemThreshold - Threshold for ar action items not including paymentsiBillItemThreshold - Threshold for item chargesarAcct - Model Handle of the AR accountRemoteExceptionpublic PModelHandle performPendingBillSearch(PARBillDetailsData pBDData, PModelHandle bmh, int bIncludeChildAmounts, int actionThreshold, int billItemthreshold, PModelHandle arAcct, PModelHandle mhARBillInfo) throws RemoteException
performPendingBillSearch in interface PBillDetailsPageBeanpBDData - 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 accountRemoteExceptionpublic int getBillItems(PARBillItemSearchData billItemData, int iBillItemThreshold) throws RemoteException
getBillItems in interface PBillDetailsPageBeanbillItemData - Data from the bill item search dialog.
null if bill details page is being created.iBillItemThreshold - Bill item threshold.RemoteExceptionpublic void updateBillPoid(int iBillIndex,
PModelHandle bmh)
throws RemoteException
updateBillPoid in interface PBillDetailsPageBeaniBillIndex - the bill index of the currently selected billbmh - Model handle of the list of bills.RemoteExceptionpublic void intializeContext()
public int getARActions(PARBillDetailsData pBDData, PARActionItemSearchData actionData, int iActionItemThreshold) throws RemoteException
getARActions in interface PBillDetailsPageBeanactionData - Data from the AR action search dialog.
null if bill details page is being created.iActionItemThreshold - AR action item threshold.RemoteExceptionpublic PModelHandle getBillItemModelHandle(PModelHandle imh) throws RemoteException
getBillItemModelHandle in interface PBillDetailsPageBeanModel - handle of the bill itemRemoteExceptionpublic Object[] getRowData(PModelHandle imh) throws RemoteException
getRowData in interface PBillDetailsPageBeanRemoteExceptionpublic PModelHandle getARActionHandle()
getARActionHandle in interface PBillDetailsPageBeanpublic int getBillItemThreshold()
getBillItemThreshold in interface PBillDetailsPageBeanpublic int getActionItemThreshold()
getActionItemThreshold in interface PBillDetailsPageBeanpublic PModelHandle getBillItemsHandle()
getBillItemsHandle in interface PBillDetailsPageBeanpublic PModelHandle getPmtModelHandle()
getPmtModelHandle in interface PBillDetailsPageBeanpublic String getAccountNumber()
getAccountNumber in interface PBillDetailsPageBeanpublic int getNumBills()
getNumBills in interface PBillDetailsPageBeanpublic PModelHandle getTableModelHandle()
getTableModelHandle in interface PBillDetailsPageBeanpublic BigDecimal getARActionAmount()
getARActionAmount in interface PBillDetailsPageBeanpublic BigDecimal getPaymentAmount()
getPaymentAmount in interface PBillDetailsPageBeanpublic PModelHandle performBillNowForAcct(PModelHandle acctHandle) throws RemoteException
performBillNowForAcct in interface PBillDetailsPageBeanacctHandle - account model handleRemoteExceptionpublic PModelHandle performBillNow() throws RemoteException
performBillNow in interface PBillDetailsPageBeanRemoteExceptionpublic PModelHandle performAccountBillNow(PModelHandle acctHandle) throws RemoteException
performAccountBillNow in interface PBillDetailsPageBeanRemoteExceptionpublic Vector getBillInfoPoids()
public static FList convertServiceName(FList itemFlist) throws RemoteException
RemoteExceptionpublic void setShowPrevLife(boolean mbShowPrevLife)
setShowPrevLife in interface PBillDetailsPageBeanmbShowPrevLife - booleanpublic ReasonCodeData[] getReasonCodes(ArrayList alReason) throws RemoteException
getReasonCodes in interface PBillDetailsPageBeanalReason - RemoteExceptionpublic PModelHandle produceCorrectiveBill(Poid mBillPoid, ReasonCodeData mCorrReason, int mCorrInvoiceType, boolean passFlagsToOpcode) throws Exception
produceCorrectiveBill in interface PBillDetailsPageBeanmBillPoid - 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.Exceptionpublic void setMode(int intMode)
setMode in interface PBillDetailsPageBeanintMode - Copyright © 2003, 2023, Oracle and/or its affiliates.