Class X_M_SerNoCtl

    • Constructor Detail

      • X_M_SerNoCtl

        public X_M_SerNoCtl​(Properties ctx,
                            int M_SerNoCtl_ID,
                            String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        3 - Client - Org
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setCurrentNext

        public void setCurrentNext​(int CurrentNext)
        Set Current Next.
        Specified by:
        setCurrentNext in interface I_M_SerNoCtl
        Parameters:
        CurrentNext - The next number to be used
      • getCurrentNext

        public int getCurrentNext()
        Get Current Next.
        Specified by:
        getCurrentNext in interface I_M_SerNoCtl
        Returns:
        The next number to be used
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_M_SerNoCtl
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_M_SerNoCtl
        Returns:
        Optional short description of the record
      • setIncrementNo

        public void setIncrementNo​(int IncrementNo)
        Set Increment.
        Specified by:
        setIncrementNo in interface I_M_SerNoCtl
        Parameters:
        IncrementNo - The number to increment the last document number by
      • getIncrementNo

        public int getIncrementNo()
        Get Increment.
        Specified by:
        getIncrementNo in interface I_M_SerNoCtl
        Returns:
        The number to increment the last document number by
      • setM_SerNoCtl_ID

        public void setM_SerNoCtl_ID​(int M_SerNoCtl_ID)
        Set Serial No Control.
        Specified by:
        setM_SerNoCtl_ID in interface I_M_SerNoCtl
        Parameters:
        M_SerNoCtl_ID - Product Serial Number Control
      • getM_SerNoCtl_ID

        public int getM_SerNoCtl_ID()
        Get Serial No Control.
        Specified by:
        getM_SerNoCtl_ID in interface I_M_SerNoCtl
        Returns:
        Product Serial Number Control
      • setM_SerNoCtl_UU

        public void setM_SerNoCtl_UU​(String M_SerNoCtl_UU)
        Set M_SerNoCtl_UU.
        Specified by:
        setM_SerNoCtl_UU in interface I_M_SerNoCtl
        Parameters:
        M_SerNoCtl_UU - M_SerNoCtl_UU
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_M_SerNoCtl
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_M_SerNoCtl
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setPrefix

        public void setPrefix​(String Prefix)
        Set Prefix.
        Specified by:
        setPrefix in interface I_M_SerNoCtl
        Parameters:
        Prefix - Prefix before the sequence number
      • getPrefix

        public String getPrefix()
        Get Prefix.
        Specified by:
        getPrefix in interface I_M_SerNoCtl
        Returns:
        Prefix before the sequence number
      • setStartNo

        public void setStartNo​(int StartNo)
        Set Start No.
        Specified by:
        setStartNo in interface I_M_SerNoCtl
        Parameters:
        StartNo - Starting number/position
      • getStartNo

        public int getStartNo()
        Get Start No.
        Specified by:
        getStartNo in interface I_M_SerNoCtl
        Returns:
        Starting number/position
      • setSuffix

        public void setSuffix​(String Suffix)
        Set Suffix.
        Specified by:
        setSuffix in interface I_M_SerNoCtl
        Parameters:
        Suffix - Suffix after the number
      • getSuffix

        public String getSuffix()
        Get Suffix.
        Specified by:
        getSuffix in interface I_M_SerNoCtl
        Returns:
        Suffix after the number