Package de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.interf.erp.strategy
Interface SetStrategy
- All Known Implementing Classes:
SetStrategyERP
public interface SetStrategy
Strategy for function module
ERP_LORD_SET in the ERP. This class consists only of static method. Each of theses methods wraps the function module. The purpose of this class is to maintain only one implementation of the logic necessary to call this function module via jco using data provided by Java objects.
ERP_LORD_SET in the ERP. This class consists only of static method. Each of theses methods wraps the function module. The purpose of this class is to maintain only one implementation of the logic necessary to call this function module via jco using data provided by Java objects.
- Version:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionexecute(BackendState salesDocR3Lrd, SalesDocument salesDoc, Map<String, Item> itemsERPStatus, TransactionConfiguration shop, JCoConnection cn, List<String> itemNewShipTos, boolean onlyUpdateHeader) Strategy for ERP_LORD_SET, all values found in the provided sales document are written to the backend system.
-
Method Details
-
execute
BackendCallResult execute(BackendState salesDocR3Lrd, SalesDocument salesDoc, Map<String, Item> itemsERPStatus, TransactionConfiguration shop, JCoConnection cn, List<String> itemNewShipTos, boolean onlyUpdateHeader) throws BackendExceptionStrategy for ERP_LORD_SET, all values found in the provided sales document are written to the backend system. If you want a field to be ignored set the corresponding value tonull.- Parameters:
salesDocR3Lrd- The SalesDocumentR3Lrd object instancesalesDoc- The sales documentitemsERPStatus- status of the erp itemsshop- the shop objectcn- Connection to useitemNewShipTos- The list of item tech keys, for which a new ship to should be createdonlyUpdateHeader- boolean, which indicates, if only header of the object should be updated- Returns:
- containing messages of call and (if present) the code generated by the function module.
- Throws:
BackendException- This exception is thrown if there is an error in the backend layer
-