java.lang.Object
de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.impl.erp.strategy.DocumentTypeMapping

public class DocumentTypeMapping extends Object
Class to Map R3 backend specific documents to Ecommerce specific ones.
  • Method Details

    • getDocumentTypeByProcess

      public static DocumentType getDocumentTypeByProcess(String type)
      Method maps the R3 type (VBTYP) to document type.
      Parameters:
      type - (R3 type)
      Returns:
      String document type
    • getDocumentTypeByTransactionGroup

      public static DocumentType getDocumentTypeByTransactionGroup(String type)
      Method maps the R3 type (TRANS_GROUP or TRVOG) to document type.
      Parameters:
      type - (R3 type)
      Returns:
      String document type