Class MPreference

    • Field Detail

      • NULL

        public static String NULL
        Null Indicator
    • Constructor Detail

      • MPreference

        public MPreference​(Properties ctx,
                           int AD_Preference_ID,
                           String trxName)
        Standatrd Constructor
        Parameters:
        ctx - ctx
        AD_Preference_ID - id
        trxName - transaction
      • MPreference

        public MPreference​(Properties ctx,
                           ResultSet rs,
                           String trxName)
        Load Contsructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MPreference

        public MPreference​(Properties ctx,
                           String Attribute,
                           String Value,
                           String trxName)
        Full Constructor
        Parameters:
        ctx - context
        Attribute - attribute
        Value - value
        trxName - trx
    • Method Detail

      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord -
        Returns:
        true if can be saved
      • setAD_User_ID

        public void setAD_User_ID​(int AD_User_ID)
        Set User/Contact.
        Specified by:
        setAD_User_ID in interface I_AD_Preference
        Overrides:
        setAD_User_ID in class X_AD_Preference
        Parameters:
        AD_User_ID - User within the system - Internal or Business Partner Contact Overridden to allow saving System record (zero ID)