psdi.app.common.purchasing

Class FldPurLineType

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPurLineType
    extends FldCommonLineType
    Line Type field validation for POLine, PRLine and RFQLine. Extends from the common line type field validation. 'LINETYPE' indicates the type of commodity being ordered on a purchasing line. Following are the existing line types.
    LineType Description
    EXTERNAL LineType to Indicate an external catalog item
    ITEM LineType to indicate an item (has an itemnumber)
    MATERIAL LineType to indicate a material (itemnum not necessary)
    SERVICE LineType to indicate a service
    STDSERVICE LineType to indicate a standard service
    SPORDER LineType to indicate a special order part
    TOOL LineType to indicate a tool


    Of the above linetypes, the purchasing module allows only ITEM, MATERIAL, SERVICE, STDSERVICE and TOOL. If MaxVar ALLOWSPORDER is true, SPORDER line type will be allowed. The user can only set EXTERNAL type from punch out process, not through the UI.
    • Constructor Detail

    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Returns line type value list MATERIAL, ITEM, SERVICE, STDSERVICE and TOOL. The user can only set EXTERNAL type from punch out process. For internal PO/PR, ITEM and TOOL are valid line type. If MaxVar ALLOWSPORDER is true, SPORDER line type will be allowed.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException