All Superinterfaces:
BusinessObject, MessageListHolder, Serializable

public interface CommonConfiguration extends BusinessObject
Provides common configuration settings of the application like e.g. the sales area. Only those attributes should be here which are relevant for many modules.
  • Method Details

    • getDistributionChannel

      String getDistributionChannel()
      Returns:
      the distribution channel
    • setDistributionChannel

      void setDistributionChannel(String arg)
      Sets the distribution channel
      Parameters:
      arg - distribution channel
    • getDivision

      String getDivision()
      Returns the division
      Returns:
      division
    • setDivision

      void setDivision(String arg)
      Sets the division
      Parameters:
      arg - division
    • getSalesOrganisation

      String getSalesOrganisation()
      Returns the sales organisation
      Returns:
      salesOrganisation
    • setSalesOrganisation

      void setSalesOrganisation(String arg)
      Sets the sales organisation
      Parameters:
      arg - sales organisation
    • getCurrency

      String getCurrency()
      Returns the currency
      Returns:
      currency
    • setCurrency

      void setCurrency(String currency)
      Sets the currency
      Parameters:
      currency -
    • getWecDebug

      boolean getWecDebug()
      Fetching WEC debug attribute. Note that this is not read from a configuration but set into this bean at runtime, depending on the context.
      Available e.g. in sales context.
      In the UI layer, one should derive this setting from the runtime instead.
      Returns:
      WEC debug attribute
    • setWecDebug

      void setWecDebug(boolean wecDebug)
      Sets the WEC debug parameter from the UI layer. *
      Parameters:
      wecDebug -
    • getDivisionMapping

      DivisionMapping getDivisionMapping(DivisionMappingKey key)
      Gets the back end mapping for the sales org and division.
      Parameters:
      key - the includes the sales org and division
      Returns:
      the mapping data, alternative division for condition, customer, document type
    • getDistChannelMapping

      DistChannelMapping getDistChannelMapping(DistChannelMappingKey key)
      Gets the back end mapping for the sales org and distribution channel.
      Parameters:
      key - the includes the sales org and distribution channel
      Returns:
      the mapping data, alternative division for condition, customer/material, document type
    • getDistChannelMappingKey

      DistChannelMappingKey getDistChannelMappingKey(String originalSalesOrg, String originalDistChannel)
      Factory-method to create a mapping key.
      Parameters:
      originalSalesOrg - sales organisation
      originalDistChannel - distribution channel
      Returns:
      key for distribution channel mapping
    • getDivisionMappingKey

      DivisionMappingKey getDivisionMappingKey(String originalSalesOrg, String originalDivison)
      Factory-method to create a mapping key.
      Parameters:
      originalSalesOrg - sales organisation
      originalDivison - division
      Returns:
      key for division mapping