psdi.app.contract

Class ContractAuth

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, ContractAuthRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class ContractAuth
    extends Mbo
    implements ContractAuthRemote
    MBO object to represent the object for authorizing contracts. Only those sites that have an entry in this table will be able to access the contract.
    See Contract Package description.
    The attributes in this object are as follows:


    Attribute Name Description
    AuthOrgId Organization identifier for the organization that is authorized to use the contract.
    AuthSiteIdSite identifier that is authorized to use the contract.
    BillToBill To Code.
    BillToAttnBill To Attention.
    ContractAuthId Unique identifier for every ContractAuth record.
    ContractNum Contract number.
    GLDebitAcct GL Debit Account.
    OrgId The organization identifier which indicates the organization in which this contract was created..
    RevisionNum Revision number of the contract.
    VendorVendor code.

    Last Update: Monday, April 11, 2004 - Ganesh - javadocs

    • Constructor Detail

      • ContractAuth

        public ContractAuth(MboSet ms)
                     throws MXException,
                            java.rmi.RemoteException
        Construct the ContractAuth object.
        Parameters:
        ms -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new ContractAuth record. Required Fields of the ContractAuth are set in this method. The following fields are initialised with their respective values


        Attribute Name Attribute Value
        contractauthid unique identifier for every contractauth.
        contractnum contract number of the contract.
        vendor Vendor of the contract.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • propagateKeyValue

        public void propagateKeyValue(java.lang.String keyName,
                                      java.lang.String keyValue)
                               throws MXException,
                                      java.rmi.RemoteException
        Set value for CONTRACTNUM.
        Specified by:
        propagateKeyValue in interface MboRemote
        Overrides:
        propagateKeyValue in class Mbo
        Parameters:
        keyName - Should equal "CONTRACTNUM" or else nothing will be propagated.
        keyValue - The new value of CONTRACTNUM.
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Cannot delete a row if it is marked as default row.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from class: Mbo
        Pre-save validation method. Programmer can override with specific rules.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException