Interface TransactionConfiguration

    • Field Detail

      • ID

        static final java.lang.String ID
        Constant to identify the ID field in the Result Set
        See Also:
        Constant Field Values
      • DESCRIPTION

        static final java.lang.String DESCRIPTION
        Constant to identify the Description field in the Result Set
        See Also:
        Constant Field Values
      • SUBTOTAL1

        static final java.lang.String SUBTOTAL1
        Constants for Pricing Subtotals - Subtotal1
        See Also:
        Constant Field Values
      • SUBTOTAL2

        static final java.lang.String SUBTOTAL2
        Constants for Pricing Subtotals - Subtotal2
        See Also:
        Constant Field Values
      • SUBTOTAL3

        static final java.lang.String SUBTOTAL3
        Constants for Pricing Subtotals - Subtotal3
        See Also:
        Constant Field Values
      • SUBTOTAL4

        static final java.lang.String SUBTOTAL4
        Constants for Pricing Subtotals - Subtotal4
        See Also:
        Constant Field Values
      • SUBTOTAL5

        static final java.lang.String SUBTOTAL5
        Constants for Pricing Subtotals - Subtotal5
        See Also:
        Constant Field Values
      • SUBTOTAL6

        static final java.lang.String SUBTOTAL6
        Constants for Pricing Subtotals - Subtotal6
        See Also:
        Constant Field Values
    • Method Detail

      • getAllowedDeliveryTypes

        java.util.Map<java.lang.String,​java.lang.String> getAllowedDeliveryTypes​(boolean consideringWECCustomizing)
                                                                                throws CommunicationException
        Delivery Types
        • CRM table crmc_ship_cond, valuehelp crm_ship_cond
        • ERP table tvsb, valuehelp h_tvsb
        Parameters:
        consideringWECCustomizing -
        • false = return all values from the corresponding backend customizing table
        • true = restrict the values from the backend, to those which are explicitly allowed in the Webchannel Customizing
        Returns:
        a new Map with the allowed DeliverTypes and description
        Throws:
        CommunicationException - in case backend-error
      • getCustomerPurchOrderType

        java.lang.String getCustomerPurchOrderType()
        Gets language dependent short ID of customer purchase order type. Also see setCustomerPurchOrderType(String)
        Returns:
        ID of purchase order type
      • setCustomerPurchOrderType

        void setCustomerPurchOrderType​(java.lang.String customerPurchOrderType)
        Sets language dependent short ID of customer purchase order type. This is sent to ERP when creating an order. See header->Purchase Order Data
        Currently not used in CRM
        Parameters:
        customerPurchOrderType - customerPurchOrderType short ID
      • getDeliveryBlock

        java.lang.String getDeliveryBlock()
        Gets delivery block ID. Also see setDeliveryBlock(String)
        Returns:
        delivery block ID
      • setDeliveryBlock

        void setDeliveryBlock​(java.lang.String deliveryBlock)
        Sets delivery block ID which is sent to ERP when creating an order. Currently not used in CRM.
        If a non-initial delivery block is maintained, orders need to be released in ERP before follow-up processes can start.
        Parameters:
        deliveryBlock - delivery block ID
      • getLanguageIso

        java.lang.String getLanguageIso()
        Returns the ISO 639 language Code (2 chars) in lower case.
        Returns:
        isoLanguage
      • getHeaderTextID

        java.lang.String getHeaderTextID()
        Returns:
        the text ID under which header texts are stored in the backend
      • getItemTextID

        java.lang.String getItemTextID()
        Returns:
        the text ID under which item texts are stored in the backend
      • setHeaderTextID

        void setHeaderTextID​(java.lang.String headerTextId)
        Parameters:
        headerTextId - the text ID under which header texts are stored in the backend
      • setItemTextID

        void setItemTextID​(java.lang.String itemTextId)
        Parameters:
        itemTextId - the text ID under which item texts are stored in the backend
      • isMergeIdenticalProducts

        boolean isMergeIdenticalProducts()
        Returns the property mergeIdenticalProducts, which is a WCB setting. True if identical products (e.g. same product-id, same GUID, same unit) shall be merged. This only applies to the Basket, but not to the Order.
        Returns:
        mergeIdenticalProducts
      • setMergeIdenticalProducts

        void setMergeIdenticalProducts​(boolean mergeIdenticalProducts)
        Sets the mergeIdenticalProducts, which is a WCB setting. True if identical products (e.g. same product-id, same GUID, same unit) shall be merged
        Parameters:
        mergeIdenticalProducts - if true products will be merged in basket
      • getSourceForNetValueWithoutFreight

        java.lang.String getSourceForNetValueWithoutFreight()
        Provides information which source is used to determine the net value without freight (e.g. any subtotal)
        Returns:
        sourceForNetValueWithoutFreight source for net value without freight
      • getSourceForFreightItem

        java.lang.String getSourceForFreightItem()
        Provides information which source is used to determine the freight value (e.g. any subtotal)
        Returns:
        sourceForFreightItem