psdi.app.invoice

Class FldInvoiceOrigInvoice

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldInvoiceOrigInvoice
    extends FldInvoiceNum
    Invoice.originvoicenum validation class: The base class FldInvoiceNum checks if the entered original invoice is a valid invoice. In this class we have to make sure that the original invoice is not canceled and is of type INVOICE. Also the original invoice vendor should be the same as the entered invoice vendor.
    See Also:
    FldInvoiceNum
    • Constructor Detail

      • FldInvoiceOrigInvoice

        public FldInvoiceOrigInvoice(MboValue mbv)
        Construct and attach to the mbo value.
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        The base class FldInvoiceNum validates if the original invoice entered is a valid existing invoice. The original invoice status should not be CANCELED and it should be of type INVOICE. Lastly the original invoice vendor should be the same as the entered invoice vendor.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXApplicationException
        MXException
        java.rmi.RemoteException