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.
Version:
1.0
  • Method Details

    • execute

      BackendCallResult execute(BackendState salesDocR3Lrd, SalesDocument salesDoc, Map<String,Item> itemsERPStatus, TransactionConfiguration shop, JCoConnection cn, List<String> itemNewShipTos, boolean onlyUpdateHeader) throws BackendException
      Strategy 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 to null.
      Parameters:
      salesDocR3Lrd - The SalesDocumentR3Lrd object instance
      salesDoc - The sales document
      itemsERPStatus - status of the erp items
      shop - the shop object
      cn - Connection to use
      itemNewShipTos - The list of item tech keys, for which a new ship to should be created
      onlyUpdateHeader - 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