Interface TransactionConfiguration
- All Superinterfaces:
BusinessObject,MessageListHolder,SalesDocumentConfiguration,Serializable
- All Known Implementing Classes:
TransactionConfigurationImpl
The TransactionConfiguration interface provides sales-relevant settings. (e.g. sales organisation)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant to identify the Description field in the Result Setstatic final StringConstant to identify the ID field in the Result Setstatic final StringConstants for Pricing Subtotals - Subtotal1static final StringConstants for Pricing Subtotals - Subtotal2static final StringConstants for Pricing Subtotals - Subtotal3static final StringConstants for Pricing Subtotals - Subtotal4static final StringConstants for Pricing Subtotals - Subtotal5static final StringConstants for Pricing Subtotals - Subtotal6Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID -
Method Summary
Modifier and TypeMethodDescriptiongetAllowedDeliveryTypes(boolean consideringWECCustomizing) Delivery Types CRM table crmc_ship_cond, valuehelp crm_ship_cond ERP table tvsb, valuehelp h_tvsbGets language dependent short ID of customer purchase order type.Gets delivery block ID.Returns the ISO 639 language Code (2 chars) in lower case.Provides information which source is used to determine the freight value (e.g.Provides information which source is used to determine the net value without freight (e.g.booleanReturns the property mergeIdenticalProducts, which is a WCB setting.voidsetCustomerPurchOrderType(String customerPurchOrderType) Sets language dependent short ID of customer purchase order type.voidsetDeliveryBlock(String deliveryBlock) Sets delivery block ID which is sent to ERP when creating an order.voidsetHeaderTextID(String headerTextId) voidsetItemTextID(String itemTextId) voidsetMergeIdenticalProducts(boolean mergeIdenticalProducts) Sets the mergeIdenticalProducts, which is a WCB setting.Methods inherited from interface de.hybris.platform.sap.core.bol.businessobject.BusinessObject
addExtensionData, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setExtensionMap, setHandle, setInvalid, setTechKey, setValidMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageListMethods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.SalesDocumentConfiguration
getProcessType
-
Field Details
-
ID
Constant to identify the ID field in the Result Set- See Also:
-
DESCRIPTION
Constant to identify the Description field in the Result Set- See Also:
-
SUBTOTAL1
Constants for Pricing Subtotals - Subtotal1- See Also:
-
SUBTOTAL2
Constants for Pricing Subtotals - Subtotal2- See Also:
-
SUBTOTAL3
Constants for Pricing Subtotals - Subtotal3- See Also:
-
SUBTOTAL4
Constants for Pricing Subtotals - Subtotal4- See Also:
-
SUBTOTAL5
Constants for Pricing Subtotals - Subtotal5- See Also:
-
SUBTOTAL6
Constants for Pricing Subtotals - Subtotal6- See Also:
-
-
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 seesetCustomerPurchOrderType(String)- Returns:
- ID of purchase order type
-
setCustomerPurchOrderType
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 seesetDeliveryBlock(String)- Returns:
- delivery block ID
-
setDeliveryBlock
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
- Parameters:
headerTextId- the text ID under which header texts are stored in the backend
-
setItemTextID
- 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- iftrueproducts 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
-