psdi.webclient.beans.invoice

Class InvoiceAppBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class InvoiceAppBean
    extends StatefulAppBean
    • Constructor Detail

      • InvoiceAppBean

        public InvoiceAppBean()
    • Method Detail

      • DETAILREP

        public int DETAILREP()
                      throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • PRINTDOCS

        public int PRINTDOCS()
                      throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • initializeApp

        public void initializeApp()
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: AppBean
        This method is called when the presentations "main" page is initalized and before the page is rendered. It can be called multiple times to "reinitialize" the applicaiton, for example when the existing query is reset.

        Only on the first initialize the method also checks for these mutually exclusiive special conditions:

      • if there is a particular record the app needs to jump to (using uniqueid from the loadapp or gotoapp event) the result set is restricted to that record only
      • if there is a startup query sent through the launch in context as a startup where clause it is set as a user where clause
      • if there is an additional ecent "insert" a new record is inserted

        A subsequent call to initializeApp() will not check for these conditions, causing the default reset to happen

Overrides:
initializeApp in class AppBean
Throws:
MXException
java.rmi.RemoteException
  • ALLOCSERV

    public int ALLOCSERV()
                  throws MXException,
                         java.rmi.RemoteException
    Called when the Allocate Services action is selected.
    Returns:
    Throws:
    MXException
    java.rmi.RemoteException
  • REVINVOICE

    public int REVINVOICE()
                   throws java.rmi.RemoteException,
                          MXException
    Called when the Reverse Invoice action is selected.
    Returns:
    Throws:
    MXException
    java.rmi.RemoteException
  • CHANGEVEND

    public int CHANGEVEND()
                   throws MXException,
                          java.rmi.RemoteException
    Throws:
    MXException
    java.rmi.RemoteException