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, removeChild
addRemoteListener, 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, unreferenced
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public PBillDetailsPageBeanImpl() throws RemoteException
RemoteException
public void update(int reason, Object incoming) throws RemoteException
update
in class PIAComponentCollectionBean
reason
- 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 update
RemoteException
- 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 PBillDetailsPageBean
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 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 accountRemoteException
public PModelHandle performPendingBillSearch(PARBillDetailsData pBDData, PModelHandle bmh, int bIncludeChildAmounts, int actionThreshold, int billItemthreshold, PModelHandle arAcct, PModelHandle mhARBillInfo) throws RemoteException
performPendingBillSearch
in interface PBillDetailsPageBean
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 accountRemoteException
public int getBillItems(PARBillItemSearchData billItemData, int iBillItemThreshold) throws RemoteException
getBillItems
in interface PBillDetailsPageBean
billItemData
- Data from the bill item search dialog.
null if bill details page is being created.iBillItemThreshold
- Bill item threshold.RemoteException
public void updateBillPoid(int iBillIndex, PModelHandle bmh) throws RemoteException
updateBillPoid
in interface PBillDetailsPageBean
iBillIndex
- the bill index of the currently selected billbmh
- Model handle of the list of bills.RemoteException
public void intializeContext()
public int getARActions(PARBillDetailsData pBDData, PARActionItemSearchData actionData, int iActionItemThreshold) throws RemoteException
getARActions
in interface PBillDetailsPageBean
actionData
- Data from the AR action search dialog.
null if bill details page is being created.iActionItemThreshold
- AR action item threshold.RemoteException
public PModelHandle getBillItemModelHandle(PModelHandle imh) throws RemoteException
getBillItemModelHandle
in interface PBillDetailsPageBean
Model
- handle of the bill itemRemoteException
public Object[] getRowData(PModelHandle imh) throws RemoteException
getRowData
in interface PBillDetailsPageBean
RemoteException
public PModelHandle getARActionHandle()
getARActionHandle
in interface PBillDetailsPageBean
public int getBillItemThreshold()
getBillItemThreshold
in interface PBillDetailsPageBean
public int getActionItemThreshold()
getActionItemThreshold
in interface PBillDetailsPageBean
public PModelHandle getBillItemsHandle()
getBillItemsHandle
in interface PBillDetailsPageBean
public PModelHandle getPmtModelHandle()
getPmtModelHandle
in interface PBillDetailsPageBean
public String getAccountNumber()
getAccountNumber
in interface PBillDetailsPageBean
public int getNumBills()
getNumBills
in interface PBillDetailsPageBean
public PModelHandle getTableModelHandle()
getTableModelHandle
in interface PBillDetailsPageBean
public BigDecimal getARActionAmount()
getARActionAmount
in interface PBillDetailsPageBean
public BigDecimal getPaymentAmount()
getPaymentAmount
in interface PBillDetailsPageBean
public PModelHandle performBillNowForAcct(PModelHandle acctHandle) throws RemoteException
performBillNowForAcct
in interface PBillDetailsPageBean
acctHandle
- account model handleRemoteException
public PModelHandle performBillNow() throws RemoteException
performBillNow
in interface PBillDetailsPageBean
RemoteException
public PModelHandle performAccountBillNow(PModelHandle acctHandle) throws RemoteException
performAccountBillNow
in interface PBillDetailsPageBean
RemoteException
public Vector getBillInfoPoids()
public static FList convertServiceName(FList itemFlist) throws RemoteException
RemoteException
public void setShowPrevLife(boolean mbShowPrevLife)
setShowPrevLife
in interface PBillDetailsPageBean
mbShowPrevLife
- booleanpublic ReasonCodeData[] getReasonCodes(ArrayList alReason) throws RemoteException
getReasonCodes
in interface PBillDetailsPageBean
alReason
- RemoteException
public PModelHandle produceCorrectiveBill(Poid mBillPoid, ReasonCodeData mCorrReason, int mCorrInvoiceType, boolean passFlagsToOpcode) throws Exception
produceCorrectiveBill
in interface PBillDetailsPageBean
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.Exception
public void setMode(int intMode)
setMode
in interface PBillDetailsPageBean
intMode
- Copyright © 2003, 2023, Oracle and/or its affiliates.