Class X_AD_UserPreference

    • Field Detail

      • VIEWFINDRESULT_AD_Reference_ID

        public static final int VIEWFINDRESULT_AD_Reference_ID
        ViewFindResult AD_Reference_ID=200170
        See Also:
        Constant Field Values
      • VIEWFINDRESULT_AlwaysInGridView

        public static final String VIEWFINDRESULT_AlwaysInGridView
        Always in Grid View = 1
        See Also:
        Constant Field Values
      • VIEWFINDRESULT_AccordingToThreshold

        public static final String VIEWFINDRESULT_AccordingToThreshold
        According to threshold = 2
        See Also:
        Constant Field Values
    • Constructor Detail

      • X_AD_UserPreference

        public X_AD_UserPreference​(Properties ctx,
                                   int AD_UserPreference_ID,
                                   String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        7 - System - 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
      • setAD_User_ID

        public void setAD_User_ID​(int AD_User_ID)
        Set User/Contact.
        Specified by:
        setAD_User_ID in interface I_AD_UserPreference
        Parameters:
        AD_User_ID - User within the system - Internal or Business Partner Contact
      • getAD_User_ID

        public int getAD_User_ID()
        Get User/Contact.
        Specified by:
        getAD_User_ID in interface I_AD_UserPreference
        Returns:
        User within the system - Internal or Business Partner Contact
      • setAD_UserPreference_ID

        public void setAD_UserPreference_ID​(int AD_UserPreference_ID)
        Set AD_UserPreference_ID.
        Specified by:
        setAD_UserPreference_ID in interface I_AD_UserPreference
        Parameters:
        AD_UserPreference_ID - AD_UserPreference_ID
      • setAD_UserPreference_UU

        public void setAD_UserPreference_UU​(String AD_UserPreference_UU)
        Set AD_UserPreference_UU.
        Specified by:
        setAD_UserPreference_UU in interface I_AD_UserPreference
        Parameters:
        AD_UserPreference_UU - AD_UserPreference_UU
      • setAutoCommit

        public void setAutoCommit​(boolean AutoCommit)
        Set Automatic Commit.
        Specified by:
        setAutoCommit in interface I_AD_UserPreference
        Parameters:
        AutoCommit - Automatic Commit
      • isAutoCommit

        public boolean isAutoCommit()
        Get Automatic Commit.
        Specified by:
        isAutoCommit in interface I_AD_UserPreference
        Returns:
        Automatic Commit
      • setAutomaticDecimalPlacesForAmoun

        public void setAutomaticDecimalPlacesForAmoun​(int AutomaticDecimalPlacesForAmoun)
        Set Automatic Decimal Places For Amounts.
        Specified by:
        setAutomaticDecimalPlacesForAmoun in interface I_AD_UserPreference
        Parameters:
        AutomaticDecimalPlacesForAmoun - Automatically insert a decimal point
      • setAutoNew

        public void setAutoNew​(boolean AutoNew)
        Set Automatic New Record.
        Specified by:
        setAutoNew in interface I_AD_UserPreference
        Parameters:
        AutoNew - Automatic New Record
      • isAutoNew

        public boolean isAutoNew()
        Get Automatic New Record.
        Specified by:
        isAutoNew in interface I_AD_UserPreference
        Returns:
        Automatic New Record
      • setGridAfterFindThreshold

        public void setGridAfterFindThreshold​(int GridAfterFindThreshold)
        Set Threshold.
        Specified by:
        setGridAfterFindThreshold in interface I_AD_UserPreference
        Parameters:
        GridAfterFindThreshold - Force grid view when Find panel closes if number of records exceed threshold
      • getGridAfterFindThreshold

        public int getGridAfterFindThreshold()
        Get Threshold.
        Specified by:
        getGridAfterFindThreshold in interface I_AD_UserPreference
        Returns:
        Force grid view when Find panel closes if number of records exceed threshold
      • setIsDetailedZoomAcross

        public void setIsDetailedZoomAcross​(boolean IsDetailedZoomAcross)
        Set Detailed Zoom Across.
        Specified by:
        setIsDetailedZoomAcross in interface I_AD_UserPreference
        Parameters:
        IsDetailedZoomAcross - Detailed Zoom Across
      • setIsUseSimilarTo

        public void setIsUseSimilarTo​(boolean IsUseSimilarTo)
        Set Use Similar To.
        Specified by:
        setIsUseSimilarTo in interface I_AD_UserPreference
        Parameters:
        IsUseSimilarTo - Use Similar To
      • setMigrationScriptComment

        public void setMigrationScriptComment​(String MigrationScriptComment)
        Set Migration Script Comment.
        Specified by:
        setMigrationScriptComment in interface I_AD_UserPreference
        Parameters:
        MigrationScriptComment - Migration Script Comment
      • setToggleOnDoubleClick

        public void setToggleOnDoubleClick​(boolean ToggleOnDoubleClick)
        Set Toggle on Double Click.
        Specified by:
        setToggleOnDoubleClick in interface I_AD_UserPreference
        Parameters:
        ToggleOnDoubleClick - Defines if double click in a field on grid mode switch to form view
      • isToggleOnDoubleClick

        public boolean isToggleOnDoubleClick()
        Get Toggle on Double Click.
        Specified by:
        isToggleOnDoubleClick in interface I_AD_UserPreference
        Returns:
        Defines if double click in a field on grid mode switch to form view
      • setViewFindResult

        public void setViewFindResult​(String ViewFindResult)
        Set View find result.
        Specified by:
        setViewFindResult in interface I_AD_UserPreference
        Parameters:
        ViewFindResult - Does the system must switch to grid mode after the Find panel closes
      • getViewFindResult

        public String getViewFindResult()
        Get View find result.
        Specified by:
        getViewFindResult in interface I_AD_UserPreference
        Returns:
        Does the system must switch to grid mode after the Find panel closes