import com.jcatalog.grailsflow.utils.ConstantUtils import com.jcatalog.classification.ClassificationGroup import com.jcatalog.product.Product /** * Please remember: if you want to use variable value in any expression - use # symbol. * Example: 'Value is #SomeProcessVariable' */ class VK94_NewProductProcess { public String fehlertext public String hinweis = new String("Bitte die Daten mit Hilfe des externen Links pflegen. Danach in dieser Maske quittieren.") public String kommentar public String productId public String shortDescription public String longDescription public String homogeneGruppeFreitext public com.jcatalog.classification.ClassificationGroup homogeneGruppe public Date markteinfuehrung public Integer fortschritt = new Integer("0") public String Produktmanager public String Stammdatenpfleger public String Vertrieb public String Einkauf public String Disposition public String bi_Warengruppe public String bi_OZMarke public String bi_Markt public String bi_mwst public String bi_Waehrung = new String("Euro") public Boolean bi_seriennahes_Teil = new Boolean('false') public String bi_Austauschteil public Integer bi_Verpackungseinheit public Integer bi_Einbauzeit public Integer bi_Laenge public Integer bi_Breite public Integer bi_Hoehe public Double bi_Gewicht_Netto public Double bi_Gewicht_Brutto public Boolean bi_schaetzwerte = new Boolean('false') public Boolean bi_Vertriebsweg_In = new Boolean('false') public String bi_Sperre_In public String bi_PosTypGr_In public Boolean bi_Vertriebsweg_Ex = new Boolean('false') public String bi_Sperre_Ex public String bi_PosTypGr_Ex public Boolean bi_Vertriebsweg_Wa = new Boolean('false') public String bi_Sperre_Wa public String bi_PosTypGr_Wa public String catalogId = new String("company") public Integer fortschrittProKnoten = new Integer("5") public String productEditorURL = new String("http://demo.test.com/company=") public com.jcatalog.product.Product product public String homogeneGruppeDefaultKlassifikation = new String("COMPANY_MASTER") public String statusId public String supplierId = new String("company") public String epis_email_empfaenger = new String("foo@foo.com") public String epis_email_sender = new String("fachbereich@company.de") public String epis_email_betreff = new String("Neue Teilenummer in PIM angelegt.") public String epis_email_text = new String("Bitte in EPIS Anlage durchführen. Teilenummer: ") def constraints = { catalogId( required: true ) productEditorURL( required: true ) supplierId( required: true ) } def descriptions = { VK94_NewProduct( label_de : "VK94 Produktanlage", description_de : "Anlage eines neuen Produkts." ) S_1_1_AnfrageTeilenummer( label_de : "S1,1 - Neue Teilenummer anfragen." ) S_1_2_TeilenummerAendernBestaetigen( label_de : "S1,2 - Teilenummer ändern/bestätigen" ) S_1_X_FehlerBeiAnfrageTeilenummer( label_de : "S1,X - Fehler bei Validierung", description_de : "Bei der Validierung Ihrer Daten ist ein Fehler aufgetreten. Bitte korrigieren." ) S_2_14_AufhebenSperreMitteilung( label_de : "S2,14 - Aufheben der Sperre" ) S_2_1_PflegeBasisdaten( label_de : "S2,1 - Eingabe der Basisdaten" ) S_2_3_Marktpotential( label_de : "S2,3 - Eingabe der Vertriebsdaten" ) S_2_4_EinkaufsspezTeileErgaenzen( label_de : "S2,4 - Eingabe der Einkaufsdaten" ) S_2_6_DispoAuslieferWerk( label_de : "S2,6 - Eingabe der Dispositionsdaten" ) S_2_7_Qualitaetspruefung( label_de : "S2,7 - Qualitätsprüfung" ) S_2_9_PlausiKontrolleFreigabe( label_de : "S2,9 - Plausibilitätskontrolle und Freigabe nach SAP" ) S_2_X_FehlerBeiAusSAPAufruf( label_de : "S2,X - Fehler von SAP gemeldet" ) S_3_1_PflegeProdukteigenschaften( label_de : "S3,1 - Pflege weiterer Produkteigenschaften" ) S_3_2_Produktbeschreibungen( label_de : "S3,2 - Eingabe der Produktbeschreibungen" ) S_3_4_B2BBilderHochladen( label_de : "S3,4 - B2B Bilder hochladen" ) S_3_5_DokumenteHochladen( label_de : "S3,5 - Dokumente hochladen" ) S_3_5_DokumenteHochladen_Daten_eingegeben( label_de : "Daten eingegeben" ) S_3_7_GesamtFreigabe( label_de : "S3,7 - Gesamtfreigabe" ) fehlertext( label_de : "Fehlernachricht", label_en : "Errormessage" ) kommentar( label_de : "Bearbeitungskommentar", label_en : "Comment" ) productId( label_de : "Teilenummer", label_en : "Product ID", description_de : "Teilenummer ist ein Pflichtfeld.", description_en : "Product ID is a required field." ) shortDescription( label_de : "Kurzbeschreibung", label_en : "Shortdescription" ) longDescription( label_de : "Langbeschreibung", label_en : "Longdescription" ) homogeneGruppeFreitext( label_de : "Homogene Gruppe (Freieingabe)" ) homogeneGruppe( label_de : "Homogene Gruppe (Suche)" ) markteinfuehrung( label_de : "ME-Datum", description_de : "Geplantes Markteinführungsdatum" ) fortschritt( label_de : "Fortschritt", description_de : "Fortschritt des Workflows in Prozent" ) Produktmanager( label_de : "Produktmanager", description_de : "Zur Bearbeitung dieser Teilenummer vorgesehener Mitarbeiter." ) Stammdatenpfleger( label_de : "Stammdatenpfleger", description_de : "Zur Bearbeitung dieser Teilenummer vorgesehener Mitarbeiter." ) Vertrieb( label_de : "Vertrieb", description_de : "Zur Bearbeitung dieser Teilenummer vorgesehener Mitarbeiter." ) Einkauf( label_de : "Einkauf", description_de : "Zur Bearbeitung dieser Teilenummer vorgesehener Mitarbeiter." ) Disposition( label_de : "Disposition", description_de : "Zur Bearbeitung dieser Teilenummer vorgesehener Mitarbeiter." ) bi_Warengruppe( label_de : "Warengruppe" ) bi_OZMarke( label_de : "OZ Marke" ) bi_Markt( label_de : "Markt" ) bi_mwst( label_de : "Steuersatz", description_de : "Kennzeichen für \"normale\" bzw. \"reduzierte\" Ausgangssteuer" ) bi_Waehrung( label_de : "Währung" ) bi_seriennahes_Teil( label_de : "Seriennahes Teil", description_de : "Seriennahes Teil, wegen SAGA" ) bi_Austauschteil( label_de : "Austauschteil" ) bi_Verpackungseinheit( label_de : "Verpackungseinheit" ) bi_Einbauzeit( label_de : "Einbauzeit" ) bi_Laenge( label_de : "Länge", label_en : "Length", description_de : "Länge in mm" ) bi_Breite( label_de : "Breite", label_en : "Width", description_de : "Breite in mm" ) bi_Hoehe( label_de : "Höhe", label_en : "Height", description_de : "Höhe in mm" ) bi_Gewicht_Netto( label_de : "Gewicht Netto", description_de : "Netto Gewicht in Kilogramm" ) bi_Gewicht_Brutto( label_de : "Gewicht Brutto", description_de : "Brutto Gewicht in Kilogramm" ) bi_schaetzwerte( label_de : "Schätzwerte" ) bi_Vertriebsweg_In( label_de : "Vertriebsweg IN" ) bi_Sperre_In( label_de : "Sperre IN" ) bi_PosTypGr_In( label_de : "Postypengr. IN" ) bi_Vertriebsweg_Ex( label_de : "Vertriebsweg EX" ) bi_Sperre_Ex( label_de : "Sperre EX" ) bi_PosTypGr_Ex( label_de : "Postypengr. EX" ) bi_Vertriebsweg_Wa( label_de : "Vertriebsweg WA" ) bi_Sperre_Wa( label_de : "Sperre WA" ) bi_PosTypGr_Wa( label_de : "Postypengr. WA" ) statusId( label_de : "Status" ) } def views = { fehlertext( textAreaView( rows: 4 ) ) hinweis( textAreaView( rows: 2 ) ) kommentar( textAreaView( rows: 4 ) ) productId( ) shortDescription( selectBoxView( items: ["item1", "item2"] longDescription( selectBoxView( items: ["item1", "item2"] homogeneGruppeFreitext( ) homogeneGruppe( externalSearchObjectView( displayKey: "classificationGroupId", searchUrl: "jsp/search/homogeneGruppe.jspx" ) ) markteinfuehrung( dateView( dateFormat: "dd.MM.yyyy" ) ) fortschritt( ) Produktmanager( selectBoxView( items: ["item1", "item2"] ) ) Stammdatenpfleger( selectBoxView( items: ["item1", "item2"] ) ) Vertrieb( selectBoxView( items: ["item1", "item2"] ) ) Einkauf( selectBoxView( items: ["item1", "item2"] ) ) Disposition( selectBoxView( items: ["item1", "item2"] ) ) bi_Warengruppe( selectBoxView( items: ["item1", "item2"] ) ) bi_OZMarke( selectBoxView( items: ["item1", "item2"] ) ) bi_Markt( selectBoxView( items: ["item1", "item2"] ) ) bi_mwst( selectBoxView( items: ["item1", "item2"] ) ) bi_Waehrung( ) bi_seriennahes_Teil( checkBoxView( ) ) bi_Austauschteil( selectBoxView( items: ["nein", "kann", "muss"] ) ) bi_Verpackungseinheit( ) bi_Einbauzeit( ) bi_Laenge( ) bi_Breite( ) bi_Hoehe( ) bi_Gewicht_Netto( ) bi_Gewicht_Brutto( ) bi_schaetzwerte( checkBoxView( ) ) bi_Vertriebsweg_In( checkBoxView( ) ) bi_Sperre_In( selectBoxView( items: ["item1", "item2"] ) ) bi_PosTypGr_In( selectBoxView( items: ["item1", "item2"] ) ) bi_Vertriebsweg_Ex( checkBoxView( ) ) bi_Sperre_Ex( selectBoxView( items: ["item1", "item2"] ) ) bi_PosTypGr_Ex( selectBoxView( items: ["item1", "item2"] ) ) bi_Vertriebsweg_Wa( checkBoxView( ) ) bi_Sperre_Wa( selectBoxView( items: ["item1", "item2"] ) ) bi_PosTypGr_Wa( selectBoxView( items: ["item1", "item2"] ) ) catalogId( ) fortschrittProKnoten( ) productEditorURL( ) product( ) homogeneGruppeDefaultKlassifikation( ) statusId( ) supplierId( ) epis_email_empfaenger( ) epis_email_sender( ) epis_email_betreff( ) epis_email_text( ) } def VK94_NewProductProcess = { EmpfangenBestaetigungVonSAPWait(editorType: ConstantUtils.EDITOR_AUTO) { action { } on("okay").to([ "S_3_7_GesamtFreigabeWeiche" ]) on("error").to([ "S_2_X_FehlerBeiAusSAPAufruf" ]) } S_1_1_AnfrageTeilenummerWait(isStart: true, editorType: ConstantUtils.EDITOR_AUTO) { variable( bi_schaetzwerte: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.WRITE_READ, homogeneGruppe: ConstantUtils.WRITE_READ, bi_Sperre_In: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.WRITE_READ, product: ConstantUtils.INVISIBLE, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.WRITE_READ, epis_email_text: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.WRITE_READ, statusId: ConstantUtils.INVISIBLE, bi_mwst: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, productId: ConstantUtils.WRITE_READ, kommentar: ConstantUtils.WRITE_READ, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, Vertrieb: ConstantUtils.WRITE_READ, bi_Breite: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.WRITE_READ, bi_Sperre_Wa: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.WRITE_READ, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.WRITE_READ, productEditorURL: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.WRITE_READ, epis_email_sender: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE) assignees( roles: [ "Produktmanager" ] ) action { Log(logMessage: 'Starting product creation for productId=#productId and catalogId=#catalogId') } on("Daten speichern und weiterleiten").to([ "S_1_1_AnfrageValidierung" ]) } S_1_1_AnfrageValidierung() { action { Log(logMessage: 'Starting validate product with productId=#productId and catalogId=#catalogId') AssignTo(var: "homogeneGruppeFreitext") { SetUpperCase(value: '#homogeneGruppeFreitext') } IF(sourceParameter:"#homogeneGruppeFreitext", comparator:"nullable", targetParameter:"true") { AssignTo(var: "homogeneGruppeFreitext") { SetStringValue(value: '#{homogeneGruppe?.getClassificationGroupId()}') } } AssignTo(var: "fehlertext") { ValidateCreationParameters(productId: '#productId',catalogId: '#catalogId',classificationId: '#homogeneGruppeDefaultKlassifikation',classificationGroupId: '#homogeneGruppeFreitext',classificationGroup: '#homogeneGruppe') } IF(sourceParameter:"#fehlertext", comparator:"nullable", targetParameter:"true") { return okay() } ELSE() { return fail() } } on("okay").to([ "S_1_2_TeilenummerAendernBestaetigen" ]) on("fail").to([ "S_1_X_FehlerBeiAnfrageTeilenummer" ]) } S_1_2_TeilenummerAendernBestaetigenWait(editorType: ConstantUtils.EDITOR_AUTO) { variable( bi_Sperre_Wa: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.READ_ONLY, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.READ_ONLY, homogeneGruppeFreitext: ConstantUtils.READ_ONLY, Vertrieb: ConstantUtils.READ_ONLY, product: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.READ_ONLY, shortDescription: ConstantUtils.READ_ONLY, longDescription: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.WRITE_READ, fehlertext: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, productEditorURL: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, productId: ConstantUtils.WRITE_READ, bi_mwst: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE) assignees( roles: [ "Stammdatenpfleger" ] ) action { } on("Daten speichern und weiterleiten").to([ "S_2_1_PflegeBasisdatenAnlage" ]) } S_1_X_FehlerBeiAnfrageTeilenummerWait(editorType: ConstantUtils.EDITOR_AUTO) { variable( bi_Waehrung: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.READ_ONLY, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.WRITE_READ, supplierId: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.WRITE_READ, bi_mwst: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.WRITE_READ, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.WRITE_READ, product: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.WRITE_READ, epis_email_betreff: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.WRITE_READ, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.WRITE_READ, bi_Markt: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.WRITE_READ, Vertrieb: ConstantUtils.WRITE_READ, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.WRITE_READ, kommentar: ConstantUtils.WRITE_READ, productId: ConstantUtils.WRITE_READ, epis_email_sender: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, productEditorURL: ConstantUtils.INVISIBLE) assignees( roles: [ "Produktmanager" ] ) action { Log(logMessage: 'Starting product creation for productId=#productId and catalogId=#catalogId') } on("Daten speichern und weiterleiten").to([ "S_1_1_AnfrageValidierung" ]) } S_2_14_AufhebenSperreMitteilungWait(editorType: ConstantUtils.EDITOR_AUTO) { variable( bi_Einbauzeit: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, fortschritt: ConstantUtils.READ_ONLY, bi_Sperre_In: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, Vertrieb: ConstantUtils.READ_ONLY, bi_Waehrung: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, productEditorURL: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, catalogId: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.READ_ONLY, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.READ_ONLY, bi_Austauschteil: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, bi_mwst: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, product: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.READ_ONLY, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.READ_ONLY, bi_Hoehe: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE) assignees( roles: [ "Stammdatenpfleger" ] ) action { Log(logMessage: 'Product was edited from Stammdatenpfleger.') } on("Sperre aufheben").to([ "beenden" ]) } S_2_1_PflegeBasisdatenWait(editorType: ConstantUtils.EDITOR_AUTO) { variable( bi_Einbauzeit: ConstantUtils.WRITE_READ, bi_Verpackungseinheit: ConstantUtils.WRITE_READ, fortschritt: ConstantUtils.READ_ONLY, hinweis: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.WRITE_READ, product: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.WRITE_READ, bi_Vertriebsweg_Ex: ConstantUtils.WRITE_READ, bi_schaetzwerte: ConstantUtils.WRITE_READ, epis_email_text: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.WRITE_READ, bi_Waehrung: ConstantUtils.WRITE_READ, homogeneGruppe: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.WRITE_READ, epis_email_betreff: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.WRITE_READ, productId: ConstantUtils.READ_ONLY, bi_Sperre_Wa: ConstantUtils.WRITE_READ, Einkauf: ConstantUtils.READ_ONLY, bi_Laenge: ConstantUtils.WRITE_READ, bi_mwst: ConstantUtils.WRITE_READ, bi_OZMarke: ConstantUtils.WRITE_READ, longDescription: ConstantUtils.READ_ONLY, Produktmanager: ConstantUtils.READ_ONLY, Vertrieb: ConstantUtils.READ_ONLY, statusId: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.WRITE_READ, productEditorURL: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.WRITE_READ, epis_email_empfaenger: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.WRITE_READ, homogeneGruppeFreitext: ConstantUtils.READ_ONLY, Stammdatenpfleger: ConstantUtils.READ_ONLY, catalogId: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.WRITE_READ, bi_Hoehe: ConstantUtils.WRITE_READ, bi_Warengruppe: ConstantUtils.WRITE_READ, bi_seriennahes_Teil: ConstantUtils.WRITE_READ, bi_PosTypGr_Ex: ConstantUtils.WRITE_READ, kommentar: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, shortDescription: ConstantUtils.READ_ONLY, fehlertext: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.WRITE_READ, bi_Breite: ConstantUtils.WRITE_READ, Disposition: ConstantUtils.READ_ONLY) assignees( roles: [ "Produktmanager" ] ) action { } on("Daten speichern und weiterleiten").to([ "S_2_1_PflegeBasisdatenGabelung" ]) on("Zwischenspeichern").to([ "S_2_1_PflegeBasisdaten" ]) } S_2_1_PflegeBasisdatenAnlage() { action { AcceptProduct(supplierId: '#supplierId',catalogId: '#catalogId',productId: '#productId',manufacturerName: '',manufacturerProductId: '',shortDescription: '#shortDescription',longDescription: '#longDescription',classificationId1: '#homogeneGruppeDefaultKlassifikation',classificationGroupId1: '#homogeneGruppeFreitext',classificationId2: '',classificationGroupId2: '',eMail: '',message: '') return okay() } on("okay").to([ "S_2_1_PflegeBasisdaten" ]) } S_2_1_PflegeBasisdatenGabelungFork() { action { UpdateProductBasisdaten(catalogId: '#catalogId',productId: '#productId',errorMessage: '#fehlertext',bi_Warengruppe: '#bi_Warengruppe',bi_OZMarke: '#bi_OZMarke',bi_Markt: '#bi_Markt',bi_Breite: '#bi_Breite',bi_Hoehe: '#bi_Hoehe',bi_Laenge: '#bi_Laenge',bi_Gewicht_Netto: '#bi_Gewicht_Netto',bi_Gewicht_Brutto: '#bi_Gewicht_Brutto',bi_mwst: '#bi_mwst',bi_Waehrung: '#bi_Waehrung',bi_Verpackungseinheit: '#bi_Verpackungseinheit',bi_Einbauzeit: '#bi_Einbauzeit',bi_Vertriebsweg_In: '#bi_Vertriebsweg_In',bi_Sperre_In: '#bi_Sperre_In',bi_PosTypGr_In: '#bi_PosTypGr_In',bi_Vertriebsweg_Ex: '#bi_Vertriebsweg_Ex',bi_Sperre_Ex: '#bi_Sperre_Ex',bi_PosTypGr_Ex: '#bi_PosTypGr_Ex',bi_Vertriebsweg_Wa: '#bi_Vertriebsweg_Wa',bi_Sperre_Wa: '#bi_Sperre_Wa',bi_PosTypGr_Wa: '#bi_PosTypGr_Wa',bi_Austauschteil: '#bi_Austauschteil',bi_seriennahes_Teil: '#bi_seriennahes_Teil',shortDescription: '#shortDescription',longDescription: '#longDescription',bi_schaetzwerte: '#bi_schaetzwerte') AssignTo(var: "product") { LoadProduct(productId: '#productId',catalogId: '#catalogId') } Log(logMessage: 'BasicDataFork has been passed - #productId.') return okay() } on("okay").to([ "S_2_3_Marktpotential", "S_3_1_PflegeProdukteigenschaften" ]) } S_2_3_MarktpotentialWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( longDescription: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.READ_ONLY, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.READ_ONLY, epis_email_empfaenger: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, product: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, bi_mwst: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.READ_ONLY, Vertrieb: ConstantUtils.READ_ONLY, bi_Austauschteil: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, productEditorURL: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, bi_Sperre_In: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.READ_ONLY, statusId: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.READ_ONLY, bi_Sperre_Ex: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE) assignees( roles: [ "Vertrieb" ] ) action { Log(logMessage: 'Product #productId was edited from Vertrieb (S2,3).') } on("Vertriebsdaten eingegeben").to([ "S_2_4_EinkaufsspezTeileErgaenzen" ]) } S_2_4_EinkaufsspezTeileErgaenzenWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( bi_Waehrung: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, Vertrieb: ConstantUtils.READ_ONLY, productEditorURL: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.READ_ONLY, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, product: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.READ_ONLY, bi_Breite: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.READ_ONLY, bi_Austauschteil: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.READ_ONLY, bi_mwst: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.READ_ONLY, longDescription: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, homogeneGruppe: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE) assignees( roles: [ "Einkauf" ] ) action { Log(logMessage: 'Product #productId was edited from Einkauf (S2,4).') } on("Einkaufsdaten eingegeben").to([ "S_2_6_DispoAuslieferWerk" ]) } S_2_6_DispoAuslieferWerkWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.READ_ONLY, bi_Markt: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.READ_ONLY, Stammdatenpfleger: ConstantUtils.READ_ONLY, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, product: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, catalogId: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, productEditorURL: ConstantUtils.INVISIBLE, bi_mwst: ConstantUtils.INVISIBLE, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.READ_ONLY, hinweis: ConstantUtils.READ_ONLY, bi_PosTypGr_In: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, bi_Warengruppe: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE, Vertrieb: ConstantUtils.READ_ONLY, bi_OZMarke: ConstantUtils.INVISIBLE) assignees( roles: [ "Disponent" ] ) action { Log(logMessage: 'Product #productId was edited from Disponent (S2,6).') } on("Dispositionsdaten eingegeben").to([ "S_2_7_Qualitaetspruefung" ]) } S_2_7_QualitaetspruefungWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( supplierId: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.READ_ONLY, Einkauf: ConstantUtils.READ_ONLY, productEditorURL: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, bi_mwst: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, Vertrieb: ConstantUtils.READ_ONLY, product: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, epis_email_empfaenger: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.READ_ONLY, fortschrittProKnoten: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.READ_ONLY, fehlertext: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.READ_ONLY, bi_Austauschteil: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, bi_Hoehe: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.READ_ONLY, productId: ConstantUtils.READ_ONLY) assignees( roles: [ "Produktmanager" ] ) action { Log(logMessage: 'Product was edited from Stammdatenpfleger.') } on("Qualitätsprüfung durchgeführt").to([ "S_2_9_PlausiKontrolleFreigabe" ]) } S_2_7_QualitaetspruefungWeicheAndJoin() { action { Log(logMessage: 'QualityCheck') return okay() } on("okay").to([ "S_2_7_Qualitaetspruefung" ]) } S_2_9_PlausiKontrolleFreigabeWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( markteinfuehrung: ConstantUtils.READ_ONLY, fortschritt: ConstantUtils.READ_ONLY, productEditorURL: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.INVISIBLE, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.READ_ONLY, bi_schaetzwerte: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, bi_mwst: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, product: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.READ_ONLY, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, Vertrieb: ConstantUtils.READ_ONLY, bi_Hoehe: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, bi_PosTypGr_In: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.READ_ONLY, Produktmanager: ConstantUtils.READ_ONLY, kommentar: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE) assignees( roles: [ "Stammdatenpfleger" ] ) action { Log(logMessage: 'Product was edited from Stammdatenpfleger.') } on("Zurückweisen").to([ "S_2_1_PflegeBasisdatenAnlage" ]) on("Daten an SAP absenden").to([ "SendenProduktdatenAnSAP" ]) } S_2_X_FehlerBeiAusSAPAufrufWait(editorType: ConstantUtils.EDITOR_AUTO) { variable( bi_Vertriebsweg_Ex: ConstantUtils.READ_ONLY, bi_Vertriebsweg_In: ConstantUtils.READ_ONLY, longDescription: ConstantUtils.READ_ONLY, bi_Breite: ConstantUtils.READ_ONLY, bi_Einbauzeit: ConstantUtils.READ_ONLY, catalogId: ConstantUtils.INVISIBLE, productEditorURL: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.READ_ONLY, bi_Waehrung: ConstantUtils.READ_ONLY, statusId: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.READ_ONLY, bi_PosTypGr_Ex: ConstantUtils.READ_ONLY, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.READ_ONLY, bi_seriennahes_Teil: ConstantUtils.READ_ONLY, markteinfuehrung: ConstantUtils.READ_ONLY, bi_OZMarke: ConstantUtils.READ_ONLY, bi_Sperre_Ex: ConstantUtils.READ_ONLY, bi_Warengruppe: ConstantUtils.READ_ONLY, epis_email_betreff: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.READ_ONLY, bi_schaetzwerte: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.READ_ONLY, Stammdatenpfleger: ConstantUtils.READ_ONLY, fortschrittProKnoten: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.READ_ONLY, Produktmanager: ConstantUtils.READ_ONLY, bi_Hoehe: ConstantUtils.READ_ONLY, bi_Gewicht_Brutto: ConstantUtils.READ_ONLY, homogeneGruppe: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.READ_ONLY, product: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.READ_ONLY, epis_email_sender: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, bi_PosTypGr_In: ConstantUtils.READ_ONLY, supplierId: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.READ_ONLY, Vertrieb: ConstantUtils.READ_ONLY, bi_Austauschteil: ConstantUtils.READ_ONLY, epis_email_text: ConstantUtils.INVISIBLE, bi_mwst: ConstantUtils.READ_ONLY, Einkauf: ConstantUtils.READ_ONLY, fortschritt: ConstantUtils.READ_ONLY, productId: ConstantUtils.READ_ONLY, bi_Verpackungseinheit: ConstantUtils.READ_ONLY, bi_PosTypGr_Wa: ConstantUtils.READ_ONLY, kommentar: ConstantUtils.READ_ONLY) action { Log(logMessage: 'There was an error in SAP call.') } on("Daten erneut absenden").to([ "SendenProduktdatenAnSAP" ]) } S_3_1_PflegeProdukteigenschaftenWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( Produktmanager: ConstantUtils.READ_ONLY, bi_mwst: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, productEditorURL: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.READ_ONLY, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.READ_ONLY, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, product: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, hinweis: ConstantUtils.READ_ONLY, epis_email_sender: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, Vertrieb: ConstantUtils.READ_ONLY, Disposition: ConstantUtils.READ_ONLY, Einkauf: ConstantUtils.READ_ONLY, bi_Sperre_In: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE) assignees( roles: [ "Produktmanager" ] ) action { Log(logMessage: 'Product was edited from Stammdatenpfleger.') } on("Daten eingegeben").to([ "S_3_1_PflegeProdukteigenschaftenGabelung" ]) } S_3_1_PflegeProdukteigenschaftenGabelungFork() { action { Log(logMessage: 'EditProductProduktmanagerFork has been passed - #productId.') return okay() } on("okay").to([ "S_3_5_DokumenteHochladen", "S_3_2_Produktbeschreibungen" ]) } S_3_2_ProduktbeschreibungenWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, Stammdatenpfleger: ConstantUtils.READ_ONLY, Vertrieb: ConstantUtils.READ_ONLY, bi_schaetzwerte: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, bi_mwst: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.READ_ONLY, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.READ_ONLY, supplierId: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, product: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.READ_ONLY, bi_Austauschteil: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, bi_Einbauzeit: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, productEditorURL: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.READ_ONLY, bi_Breite: ConstantUtils.INVISIBLE) assignees( roles: [ "Stammdatenpfleger" ] ) action { Log(logMessage: 'Product was edited from Stammdatenpfleger.') } on("Daten eingegeben").to([ "S_3_4_B2BBilderHochladen" ]) } S_3_4_B2BBilderHochladenWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( bi_Laenge: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.READ_ONLY, bi_Hoehe: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.READ_ONLY, shortDescription: ConstantUtils.INVISIBLE, bi_mwst: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, productEditorURL: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, product: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.READ_ONLY, markteinfuehrung: ConstantUtils.READ_ONLY, Stammdatenpfleger: ConstantUtils.READ_ONLY, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, Vertrieb: ConstantUtils.READ_ONLY, catalogId: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.READ_ONLY, bi_Breite: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE) assignees( roles: [ "Stammdatenpfleger" ] ) action { Log(logMessage: 'Product was edited from Stammdatenpfleger.') } on("Daten eingegeben").to([ "S_3_7_GesamtFreigabeWeiche" ]) } S_3_5_DokumenteHochladenWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( Stammdatenpfleger: ConstantUtils.READ_ONLY, bi_Sperre_Wa: ConstantUtils.INVISIBLE, bi_mwst: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, product: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, Vertrieb: ConstantUtils.READ_ONLY, fortschritt: ConstantUtils.READ_ONLY, homogeneGruppe: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, Produktmanager: ConstantUtils.READ_ONLY, productEditorURL: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, bi_Markt: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.READ_ONLY, bi_Sperre_Ex: ConstantUtils.INVISIBLE, fehlertext: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, epis_email_empfaenger: ConstantUtils.INVISIBLE, Einkauf: ConstantUtils.READ_ONLY, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, bi_schaetzwerte: ConstantUtils.INVISIBLE) assignees( roles: [ "Produktmanager" ] ) action { Log(logMessage: 'End of Node Dokumente hochladen.') } on("Daten_eingegeben").to([ "S_3_M_EPISMail_verschicken" ]) } S_3_M_EPISMail_verschicken() { action { SendMail(mailFrom: '#epis_email_sender',mailTo: '#epis_email_empfaenger',subject: '#epis_email_betreff',message: '#epis_mail_text #productId',template: '') return okay() } on("okay").to([ "S_2_7_QualitaetspruefungWeiche" ]) } S_3_7_GesamtFreigabeWait(editorType: ConstantUtils.EDITOR_AUTO, externalUrl: '#productEditorURL#{product?.key}') { variable( fehlertext: ConstantUtils.INVISIBLE, homogeneGruppe: ConstantUtils.INVISIBLE, Disposition: ConstantUtils.READ_ONLY, Vertrieb: ConstantUtils.READ_ONLY, bi_schaetzwerte: ConstantUtils.INVISIBLE, bi_Sperre_Ex: ConstantUtils.INVISIBLE, bi_Einbauzeit: ConstantUtils.INVISIBLE, longDescription: ConstantUtils.INVISIBLE, bi_Sperre_Wa: ConstantUtils.INVISIBLE, epis_email_betreff: ConstantUtils.INVISIBLE, bi_PosTypGr_Ex: ConstantUtils.INVISIBLE, bi_Gewicht_Netto: ConstantUtils.INVISIBLE, epis_email_text: ConstantUtils.INVISIBLE, bi_Warengruppe: ConstantUtils.INVISIBLE, Produktmanager: ConstantUtils.READ_ONLY, epis_email_empfaenger: ConstantUtils.INVISIBLE, catalogId: ConstantUtils.INVISIBLE, bi_Verpackungseinheit: ConstantUtils.INVISIBLE, bi_PosTypGr_In: ConstantUtils.INVISIBLE, markteinfuehrung: ConstantUtils.READ_ONLY, Stammdatenpfleger: ConstantUtils.READ_ONLY, homogeneGruppeDefaultKlassifikation: ConstantUtils.INVISIBLE, productId: ConstantUtils.READ_ONLY, bi_seriennahes_Teil: ConstantUtils.INVISIBLE, bi_Hoehe: ConstantUtils.INVISIBLE, productEditorURL: ConstantUtils.INVISIBLE, bi_Waehrung: ConstantUtils.INVISIBLE, kommentar: ConstantUtils.INVISIBLE, fortschrittProKnoten: ConstantUtils.INVISIBLE, homogeneGruppeFreitext: ConstantUtils.INVISIBLE, bi_Breite: ConstantUtils.INVISIBLE, bi_Gewicht_Brutto: ConstantUtils.INVISIBLE, shortDescription: ConstantUtils.INVISIBLE, bi_Laenge: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Wa: ConstantUtils.INVISIBLE, bi_Sperre_In: ConstantUtils.INVISIBLE, statusId: ConstantUtils.INVISIBLE, bi_PosTypGr_Wa: ConstantUtils.INVISIBLE, bi_Vertriebsweg_In: ConstantUtils.INVISIBLE, bi_Austauschteil: ConstantUtils.INVISIBLE, epis_email_sender: ConstantUtils.INVISIBLE, fortschritt: ConstantUtils.READ_ONLY, Einkauf: ConstantUtils.READ_ONLY, bi_mwst: ConstantUtils.INVISIBLE, bi_Vertriebsweg_Ex: ConstantUtils.INVISIBLE, hinweis: ConstantUtils.READ_ONLY, product: ConstantUtils.INVISIBLE, bi_OZMarke: ConstantUtils.INVISIBLE, bi_Markt: ConstantUtils.INVISIBLE, supplierId: ConstantUtils.INVISIBLE) assignees( roles: [ "Produktmanager" ] ) action { Log(logMessage: 'Product was edited from Stammdatenpfleger.') } on("Freigabe").to([ "S_2_14_AufhebenSperreMitteilung" ]) } S_3_7_GesamtFreigabeWeicheAndJoin() { action { Log(logMessage: 'Release passed') AssignTo(var: "nextAssignee") { SetStringValue(value: 'Produktmanager') } return okay() } on("okay").to([ "S_3_7_GesamtFreigabe" ]) } SendenProduktdatenAnSAP() { action { AssignTo(var: "fehlertext") { SetStringValue(value: '') } SAPFormatExport(catalogId: '#catalogId', productId: '#productId', KlassifikationDerHomogenenGruppe: '#homogeneGruppeDefaultKlassifikation', supplierId: '#supplierId') return okay() } on("okay").to([ "EmpfangenBestaetigungVonSAP" ]) } beenden(isFinal: true) { action { SetProductStatus(productId: '#productId',catalogId: '#catalogId',statusId: '400') return end() } } } }