Class IsaBackendBusinessObjectBaseSalesERP

    • Field Detail

      • itemsPriceAttribMap

        protected java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> itemsPriceAttribMap
        Map of price attribute maps for items
      • headerPriceAttribs

        protected java.util.Map<java.lang.String,​java.lang.String> headerPriceAttribs
        Map of price attributes for the header
      • itemsPropMap

        protected java.util.Map<java.lang.String,​java.lang.String> itemsPropMap
        Map of price properties for items
      • headerPropMap

        protected java.util.Map<java.lang.String,​java.lang.String> headerPropMap
        Map of price properties for the header
      • itemConfigChangeableMap

        protected java.util.Map<java.lang.String,​java.lang.Boolean> itemConfigChangeableMap
        store configuration changeable info for configurable itemSalesDocs
      • setIpcPriceAttributes

        protected boolean setIpcPriceAttributes
        flag if price attributes are needed, to show IPC prices for configurable products
      • shipToMap

        protected java.util.Map<java.lang.String,​ShipTo> shipToMap
        store shipTo info for itemSalesDocs
      • predecessorShipTo

        protected java.util.Map<java.lang.Object,​ShipTo> predecessorShipTo
      • savedItemsMap

        protected java.util.Set<java.lang.String> savedItemsMap
        List of saved items of the order. In order to be able to distinguish between saved items and new items in case of order change, the handles of the saved items are added to this list when the order is read the first time from the backend * *
      • docflowRead

        protected boolean docflowRead
        Due to performance reasons the docflow of header and items should only be read once. Therefore the docflow data are cached after the first call or ERP_LORD_GETALL.
      • itemDocFlow

        protected com.sap.conn.jco.JCoTable itemDocFlow
        JCO table: item document flow
      • headerDocFlow

        protected com.sap.conn.jco.JCoTable headerDocFlow
        JCO table: header
      • messageBufferMap

        protected java.util.Map<java.lang.String,​MessageList> messageBufferMap
        Map of messages.
    • Constructor Detail

      • IsaBackendBusinessObjectBaseSalesERP

        public IsaBackendBusinessObjectBaseSalesERP()
    • Method Detail

      • getSavedItemsMap

        public java.util.Set<java.lang.String> getSavedItemsMap()
        Specified by:
        getSavedItemsMap in interface BackendState
        Returns:
        List of saved (already existing) items of the order
      • getHeaderPriceAttribs

        public java.util.Map<java.lang.String,​java.lang.String> getHeaderPriceAttribs()
        Description copied from interface: BackendState
        Returns the Header price attribute map If not yet present, creates the map
        Specified by:
        getHeaderPriceAttribs in interface BackendState
        Returns:
        HashMap, map for the header price attributes
      • getItemsPriceAttribMap

        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> getItemsPriceAttribMap()
        Description copied from interface: BackendState
        Returns the item price attribute map If not yet present, creates the map
        Specified by:
        getItemsPriceAttribMap in interface BackendState
        Returns:
        HashMap, map for the item price attributes
      • getHeaderPropMap

        public java.util.Map<java.lang.String,​java.lang.String> getHeaderPropMap()
        Description copied from interface: BackendState
        Returns the header property map If not yet present, creates the map
        Specified by:
        getHeaderPropMap in interface BackendState
        Returns:
        HashMap, map for the header properties
      • getItemsPropMap

        public java.util.Map<java.lang.String,​java.lang.String> getItemsPropMap()
        Description copied from interface: BackendState
        Returns the item property map If not yet present, creates the map
        Specified by:
        getItemsPropMap in interface BackendState
        Returns:
        HashMap, map for the item properties
      • getItemVariantMap

        public abstract java.util.Map<java.lang.String,​java.lang.String> getItemVariantMap()
        Description copied from interface: BackendState
        Returns the map, to store item variant information
        Specified by:
        getItemVariantMap in interface BackendState
        Returns:
        HashMap, map of item variants
      • getShipToMap

        public java.util.Map<java.lang.String,​ShipTo> getShipToMap()
        Description copied from interface: BackendState
        Returns the map, which stores the header resp. item vs. shipToKey relation
        Specified by:
        getShipToMap in interface BackendState
        Returns:
        Map
      • setShipToMap

        public void setShipToMap​(java.util.Map<java.lang.String,​ShipTo> map)
        sets the map, which stores the header resp. item vs. shipToKey relation
        Parameters:
        map - shipTo map
      • isDocflowRead

        public boolean isDocflowRead()
        Description copied from interface: BackendState
        For performance reasons DocFlow should only be read when necessary. Typically + DocFlow will not change when one changes or displays an order within one session. So it is sufficient to read it once.
        Specified by:
        isDocflowRead in interface BackendState
        Returns:
        true, if docflow has been read
      • setDocflowRead

        public void setDocflowRead​(boolean docflowread)
        Description copied from interface: BackendState
        Sets the flag dowflowRead
        Specified by:
        setDocflowRead in interface BackendState
        Parameters:
        docflowread - docflowread
      • getHeaderDocFlow

        public com.sap.conn.jco.JCoTable getHeaderDocFlow()
        Description copied from interface: BackendState
        Returns the docflow of the header
        Specified by:
        getHeaderDocFlow in interface BackendState
        Returns:
        JCoTable docflow of the header
      • getItemDocFlow

        public com.sap.conn.jco.JCoTable getItemDocFlow()
        Description copied from interface: BackendState
        Returns the docflow of the items
        Specified by:
        getItemDocFlow in interface BackendState
        Returns:
        HashMap doc flow of the items
      • setHeaderDocFlow

        public void setHeaderDocFlow​(com.sap.conn.jco.JCoTable table)
        Description copied from interface: BackendState
        Sets the header docflow in the table buffer
        Specified by:
        setHeaderDocFlow in interface BackendState
        Parameters:
        table - header docflow table
      • setItemDocFlow

        public void setItemDocFlow​(com.sap.conn.jco.JCoTable table)
        Description copied from interface: BackendState
        Sets the items docflow in the table buffer
        Specified by:
        setItemDocFlow in interface BackendState
        Parameters:
        table - JCoTable item docflow
      • getMessageList

        public MessageList getMessageList​(TechKey key)
        Description copied from interface: BackendState
        Returns the MessageList for the given key, if one exits, null else
        Specified by:
        getMessageList in interface BackendState
        Parameters:
        key - Technical key identifying head or item object
        Returns:
        the MessageList for the given TechKey or a default MessageList, if the key is null or initial, if existing else null
      • getOrCreateMessageList

        public MessageList getOrCreateMessageList​(TechKey key)
        Description copied from interface: BackendState
        Returns the MessageList for the given key, if one exits, if not create one
        Specified by:
        getOrCreateMessageList in interface BackendState
        Parameters:
        key - technical key identifying head or item object
        Returns:
        the MessageList for the given TechKey or a default MessageList, if the key is null or initial
      • removeMessageFromMessageList

        public void removeMessageFromMessageList​(TechKey key,
                                                 java.lang.String resourceKey)
        Description copied from interface: BackendState
        Removes the given message from the MessageList in the MessageBufferMap for the given key, if present
        Specified by:
        removeMessageFromMessageList in interface BackendState
        Parameters:
        key - technical of the business object the message belongs to
        resourceKey - resource key of the message