public class PIAInvoicePOBeanImpl extends PIAComponentCollectionBean implements PIAInvoicePOBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PIAInvoicePOBeanImpl()
Creates a new controller for the invoice/purchase order payment type
|
| Modifier and Type | Method and Description |
|---|---|
void |
defaultsForStoring(PModelHandle model)
Appends additional create-time Invoice/Purchase Order information onto
the model passed in.
|
boolean |
defaultsForUpdate(PModelHandle model)
Appends additional update-time Invoice/Purchase Order
information onto the model passed in.
|
void |
defaultsForValidation(PModelHandle model)
Appends additional validate-time method of payment information onto the
model passed in
|
PModelHandle |
getInvoiceModelHandle(PModelHandle hModel)
Gets the invinfo Model Handle(/payinfo/invoice)
|
NameAddressData |
getNameAddressData(PModelHandle modelHandle)
Gets the contact Name and Address Info
|
addChild, getCollectedData, getSelectionDataFor, removeChild, updateaddRemoteListener, 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 PIAInvoicePOBeanImpl()
throws RemoteException
RemoteExceptionpublic boolean defaultsForUpdate(PModelHandle model) throws RemoteException
Example showing Invoice/Purchase Order additional data appended at
update-time:
0 PIN_FLD_PAYINFO ARRAY [1] allocated 2, used 2
1 PIN_FLD_PAY_TYPE ENUM [0] 10001
1 PIN_FLD_POID POID [0] 0.0.0.1 /config/invoice 26339 13
defaultsForUpdate in interface PIAPaymentTypePanelBeanmodel - the payinfo model that needs to be set.RemoteExceptionpublic void defaultsForStoring(PModelHandle model) throws RemoteException
Example showing Invoice/Purchase Order defaults appended at
commit-time:
0 PIN_FLD_PAYINFO ARRAY [1] allocated 20, used 3
1 PIN_FLD_PAY_TYPE ENUM [0] 10001
1 PIN_FLD_POID POID [0] 0.0.0.1 /config/invoice 100 0
1 PIN_FLD_INHERITED_INFO SUBSTRUCT [0] allocated 20, used 1
2 PIN_FLD_INV_INFO ARRAY [0] allocated 20, used 18
3 PIN_FLD_DELIVERY_PREFER ENUM [0] 0
3 PIN_FLD_PO_ORDER_NO STR [0] ""
3 PIN_FLD_INV_FORMAT POID [0] 0.0.0.1 /config/invoice 100 0
3 PIN_FLD_INV_TERMS ENUM [0] 0
3 PIN_FLD_NAME STR [0] ""
3 PIN_FLD_ADDRESS STR [0] ""
3 PIN_FLD_CITY STR [0] ""
3 PIN_FLD_STATE STR [0] ""
3 PIN_FLD_ZIP STR [0] ""
3 PIN_FLD_COUNTRY STR [0] ""
3 PIN_FLD_EMAIL_ADDR STR [0] ""
3 PIN_FLD_DELIVERY_DESCR STR [0] ""
3 PIN_FLD_PO_TYPE ENUM [0] 0
3 PIN_FLD_PO_OPTIONS ENUM [0] 0
3 PIN_FLD_PO_AMOUNT DECIMAL [0] 0.000000
3 PIN_FLD_PO_BAL_THRESHOLD DECIMAL [0] 0.000000
3 PIN_FLD_PO_EXP TSTAMP [0] (931158000) 07/05/99 12:00:00
3 PIN_FLD_PO_EXP_THRESHOLD TSTAMP [0] (931158000) 07/05/99 12:00:00
NOTE: At commit-time the server side needs a string for each of the
PIN_FLD_INV_INFO array elements.
defaultsForStoring in interface PIAPaymentTypePanelBeanmodel - the payinfo model that needs to be set.RemoteExceptionpublic void defaultsForValidation(PModelHandle model) throws RemoteException
PIAPaymentTypePanelBeandefaultsForValidation in interface PIAPaymentTypePanelBeanmodel - the model that needs to be updatedRemoteExceptionpublic NameAddressData getNameAddressData(PModelHandle modelHandle) throws RemoteException
getNameAddressData in interface PIAPaymentTypePanelBeanmodelhandle - current account modelRemoteExceptionpublic PModelHandle getInvoiceModelHandle(PModelHandle hModel) throws RemoteException
getInvoiceModelHandle in interface PIAInvoicePOBeanRemoteExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.