Interface TransactionConfiguration
-
- All Superinterfaces:
BusinessObject,MessageListHolder,SalesDocumentConfiguration,java.io.Serializable
- All Known Implementing Classes:
TransactionConfigurationImpl
public interface TransactionConfiguration extends SalesDocumentConfiguration
The TransactionConfiguration interface provides sales-relevant settings. (e.g. sales organisation)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDESCRIPTIONConstant to identify the Description field in the Result Setstatic java.lang.StringIDConstant to identify the ID field in the Result Setstatic java.lang.StringSUBTOTAL1Constants for Pricing Subtotals - Subtotal1static java.lang.StringSUBTOTAL2Constants for Pricing Subtotals - Subtotal2static java.lang.StringSUBTOTAL3Constants for Pricing Subtotals - Subtotal3static java.lang.StringSUBTOTAL4Constants for Pricing Subtotals - Subtotal4static java.lang.StringSUBTOTAL5Constants for Pricing Subtotals - Subtotal5static java.lang.StringSUBTOTAL6Constants for Pricing Subtotals - Subtotal6-
Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getAllowedDeliveryTypes(boolean consideringWECCustomizing)Delivery Types CRM table crmc_ship_cond, valuehelp crm_ship_cond ERP table tvsb, valuehelp h_tvsbjava.lang.StringgetCustomerPurchOrderType()Gets language dependent short ID of customer purchase order type.java.lang.StringgetDeliveryBlock()Gets delivery block ID.java.lang.StringgetHeaderTextID()java.lang.StringgetItemTextID()java.lang.StringgetLanguageIso()Returns the ISO 639 language Code (2 chars) in lower case.java.lang.StringgetSourceForFreightItem()Provides information which source is used to determine the freight value (e.g.java.lang.StringgetSourceForNetValueWithoutFreight()Provides information which source is used to determine the net value without freight (e.g.booleanisMergeIdenticalProducts()Returns the property mergeIdenticalProducts, which is a WCB setting.voidsetCustomerPurchOrderType(java.lang.String customerPurchOrderType)Sets language dependent short ID of customer purchase order type.voidsetDeliveryBlock(java.lang.String deliveryBlock)Sets delivery block ID which is sent to ERP when creating an order.voidsetHeaderTextID(java.lang.String headerTextId)voidsetItemTextID(java.lang.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, setValid
-
Methods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
Methods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.SalesDocumentConfiguration
getProcessType
-
-
-
-
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 CommunicationExceptionDelivery 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 seesetCustomerPurchOrderType(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 seesetDeliveryBlock(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- iftrueproducts 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
-
-