Class InfoBPartner

    • Constructor Detail

      • InfoBPartner

        public InfoBPartner​(Frame frame,
                            boolean modal,
                            int WindowNo,
                            String value,
                            boolean isSOTrx,
                            boolean multiSelection,
                            String whereClause)
        Standard Constructor
        Parameters:
        frame - frame
        modal - modal
        WindowNo - WindowNo
        value - Query value Name or Value if contains numbers
        isSOTrx - if false, query vendors only
        multiSelection - multiple selection
        whereClause - where clause
      • InfoBPartner

        public InfoBPartner​(Frame frame,
                            boolean modal,
                            int WindowNo,
                            String value,
                            boolean isSOTrx,
                            boolean multiSelection,
                            String whereClause,
                            boolean lookup)
        Standard Constructor
        Parameters:
        frame - frame
        modal - modal
        WindowNo - WindowNo
        value - Query value Name or Value if contains numbers
        isSOTrx - if false, query vendors only
        multiSelection - multiple selection
        whereClause - where clause
        lookup -
    • Method Detail

      • getSQLWhere

        protected String getSQLWhere()
        Construct SQL Where Clause and define parameters. (setParameters needs to set parameters) Includes first AND
        Specified by:
        getSQLWhere in class Info
        Returns:
        WHERE clause
      • setParameters

        protected void setParameters​(PreparedStatement pstmt,
                                     boolean forCount)
                              throws SQLException
        Set Parameters for Query. (as defined in getSQLWhere)
        Specified by:
        setParameters in class Info
        Parameters:
        pstmt - pstmt
        forCount - for counting records
        Throws:
        SQLException
      • saveSelectionDetail

        public void saveSelectionDetail()
        Save Selection Details Get Location/Partner Info
        Overrides:
        saveSelectionDetail in class Info
      • showHistory

        protected void showHistory()
        Show History
        Overrides:
        showHistory in class Info
      • hasHistory

        protected boolean hasHistory()
        Has History
        Overrides:
        hasHistory in class Info
        Returns:
        true
      • zoom

        protected void zoom()
        Zoom
        Overrides:
        zoom in class Info
      • hasZoom

        protected boolean hasZoom()
        Has Zoom
        Overrides:
        hasZoom in class Info
        Returns:
        true
      • customize

        protected void customize()
        Customize
        Overrides:
        customize in class Info
      • hasCustomize

        protected boolean hasCustomize()
        Has Customize
        Overrides:
        hasCustomize in class Info
        Returns:
        false