All Superinterfaces:
BusinessObject, MessageListHolder, SalesDocumentConfiguration, Serializable
All Known Implementing Classes:
TransactionConfigurationImpl

public interface TransactionConfiguration extends SalesDocumentConfiguration
The TransactionConfiguration interface provides sales-relevant settings. (e.g. sales organisation)
  • Field Details

  • Method Details

    • getAllowedDeliveryTypes

      Map<String,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

      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(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

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

      void setDeliveryBlock(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

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

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

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

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

      void setItemTextID(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

      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

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