Package com.portal.app.ccare.comp
Class PARWriteoffBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PARWriteoffBeanImpl
- All Implemented Interfaces:
PARWriteoffBean,PIACollectionBean,PControllerBean,Serializable,Remote,Unreferenced
- Version:
- %version: 7 % %date_modified: Wed Nov 28 13:23:24 2001 %
- Author:
- simonw
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic Stringstatic Stringstatic Stringstatic StringFields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a list of all the different AR billinfo poidsGet the status for Account Write Off possibility.Writes-off at account, bill or item levelMethods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, updateMethods inherited from class com.portal.bas.PControllerImpl
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, unreferencedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Field Details
-
FAIL_PERMISSION
-
FAIL_BACKDATE
-
FAIL_EBUFEXCEPTION
-
SUCCESS_STR
-
FAIL_GENERAL
-
-
Constructor Details
-
PARWriteoffBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
getBillARBillInfoPoids
Gets a list of all the different AR billinfo poids- Returns:
-
writeoff
public String writeoff(boolean separateTax, Date transDate, String notes, String prog_name, String level) throws RemoteException Writes-off at account, bill or item level- Specified by:
writeoffin interfacePARWriteoffBean- Parameters:
separateTax- creates a separate Portal event for tax or nottransDate- effective datenotes- write-off commentsprog_name- program name initiating write-offlevel- writo-off level, value is "account", "bill" or "item"tranxDate- effective date- Returns:
- success or reason of failure
- Throws:
RemoteException- if an error occurs
-
getWriteOffStatus
Get the status for Account Write Off possibility.- Returns:
- Vector, index 0 contains - Flag to indicate whether write-off is possible or not (If the total account due is > 0 then this flag will be returned as true). index 1 contains - Total due of the account.
-