123 lines
6.5 KiB
Groovy
123 lines
6.5 KiB
Groovy
// --------------------------------------------------------------------------------------------------------
|
||
// SystemSpecificConst.groovy -> hier P-System
|
||
// --------------------------------------------------------------------------------------------------------
|
||
//
|
||
// Groovy Definitionsdatei f<>r alle ben<65>tigten Repositoryabh<62>ngigen Konfigurationen
|
||
//
|
||
// --------------------------------------------------------------------------------------------------------
|
||
//
|
||
// Historie:
|
||
// 25.03.2019 dvelop Erste Version f<>r oData-Schnittstelle
|
||
//
|
||
// --------------------------------------------------------------------------------------------------------
|
||
|
||
public class SystemSpecificConst {
|
||
|
||
/*
|
||
* Systemspezifische Variablen
|
||
*/
|
||
|
||
static final String updatedUser = "d3groovy";
|
||
|
||
// imue 06.2019 - Pfad um Datei tempor<6F>r zu kopieren - notwendig da es in Groovy noch keine Funktion zum kopieren gibt, wo die FileExtension nicht verloren geht
|
||
static final String cloneDocumentTempPath = "E:\\d3\\d3work\\D3P\\CloneDocumentTemp"
|
||
//Aufruf d.3one Link f<>r<EFBFBD>Wissensdokumente
|
||
static final String gD3oneString = "<a href=https://dms.optima-group.org/dms/r/31edf125-2d59-5950-b055-5bec6a933289/o2/"
|
||
// Datei mit Text f<>r Email f<>r die Empfehlung der Wissensdokumente
|
||
static final String gBodyfile = "D:\\d3\\d3config\\D3P\\Hooks\\Mailbody\\body.html"
|
||
//ersten drei Ziffern der AppId vom d.3one
|
||
static final String gApp_D3one = "020"
|
||
// Deaktivierung der Zertifikatspr<70>fung (keine Zertifikatspr<70>fung = false; Ausf<73>hrung Zertifikatspr<70>fung = true)
|
||
static final boolean needCertificateCheck = false;
|
||
// Empf<70>nger Benachrichtung bei Fehler von Eigenschafts<74>nderungen
|
||
static final String recipientHoldFile = "HookUpdates"
|
||
// imue 08.2019 - Verarbeitung der Massendatenaktualisierungen (true = Aufruf Async und Jpl Funktionen, false = Aufruf von Async Jobs f<>r UPD001)
|
||
static final boolean workWithAsyncJplForMassDataUpdate = false
|
||
|
||
/*
|
||
* Eigenschaften-ID's
|
||
*/
|
||
static final int gProjOrgNrID = 1 // Repository-Id der Eigenschaft Org.Projekt_Nr
|
||
static final int gProzessGroupId = 4
|
||
static final int gRepIDProzessart = 5
|
||
static final int gNetzplanNrId = 15 // Repository-ID der Eigenchaft Netzplan_Nr
|
||
static final int gBuchungskreisID = 17 // Repository-ID der Eigenschaft Buchungskreis (Einfachfeld)
|
||
static final int gEreignisDateID = 22 // Repository-ID Der Eigenschaft Ereignisdatum
|
||
static final int gProjektNrID = 134 // Repository-ID der Eigenschaft Projekt_Nr
|
||
static final int gDokgroupID = 36 // Repository-ID der Eigenschaft Dokumentgruppe
|
||
static final int gLieferantNrID = 37
|
||
static final int gLieferantNaID = 38
|
||
static final int gKundennrID = 39
|
||
static final int gKundennameID = 40
|
||
static final int gEndkundennrID = 302 // Repository-ID der Eigenschaft "Endkunden_Nr"
|
||
static final int gEndkundennameID = 301 // Repository-ID der Eigenschaft "Endkunden_Name"
|
||
static final int gRegisterId = 42
|
||
static final int gKundenkontaktIDID = 72
|
||
static final int gOpportunityNrID = 84
|
||
static final int gKommunikationsrichtID = 68
|
||
static final int gJahrID = 66
|
||
static final int gMonatID = 82
|
||
static final int gVerkaufsphaseID = 88
|
||
static final int gHauptOpportunityID = 64
|
||
static final int gSubmissionID = 85
|
||
static final int gAbteilungOrgID = 52
|
||
static final int gOppannrID = 53
|
||
static final int gAngebotsnameID = 54
|
||
static final int gErgebnisDokID = 62
|
||
static final int gKontaktBeschreibungID = 80
|
||
static final int gArcdocidID = 57
|
||
static final int gWeitOpportunityID = 91 // Repository-ID der Mehrfacheigenschaft Opportunity
|
||
static final int gHauptangebotNrID = 63
|
||
|
||
static final int gSalesgroupID = 87
|
||
static final int gKundenkontaktKategorieID = 73
|
||
static final int gHauptOppNrID = 63
|
||
static final int gAbtsenderID = 96
|
||
static final int gSenderID = 97
|
||
static final int gWeitProjektnummerID = 131 // Repository-ID der Mehrfacheigenschaft Projekt_Nr
|
||
static final int gPSPElementId = 127 // Repository-ID der Eigenchaft PSP-Element
|
||
static final int gAdittitleID = 102
|
||
static final int gECRCONRID = 122 // Repository-ID der Eigenschaft ECR/CR_NR ID (Activity ID)
|
||
static final int gIntercompanyID = 136 // Repository-ID der Eigenschaft Intercompany
|
||
static final int gFunktionID = 202 // Repository-ID der Eigenschaft Funktion
|
||
static final int gModuleID = 203 // Repository-ID der Eigenschaft Module
|
||
static final int gBuchungskreiseID = 239 // Repository-ID der Eigenschaft Buchungskreise (Mehrfachfeld)
|
||
static final int gMusterMaterialMehrfID = 278
|
||
static final int gOrganEinheitID = 253 // Repository-ID der Eigenschaft Organisationseinheit
|
||
static final int gVertriebMaterialNrID = 291
|
||
static final int gAktuellVersInternID = 288
|
||
static final int gMaschinentypID = 303 // Repository-ID Maschinentyp (ein Wort)
|
||
static final int gBelegNrID = 316 // Repository-ID Belegnummer
|
||
static final int gBelegArtID = 314 // Repository-ID Belegart
|
||
static final int gSRBeschreibungID = 320 // Repository-ID f<>r Beschreibung (Service)
|
||
static final int gBelegBeschreibungID = 317
|
||
static final int gEquipmentID = 312
|
||
static final int gSRIDID = 315 // Repository-ID f??R ID (Service)
|
||
static final int gWeitereBelegNrID = 322
|
||
static final int gWeitereSRIDID = 324
|
||
static final int gWeitereEquipmentID = 325
|
||
static final int gEinkaufsBelegNrID = 334
|
||
static final int gWeitereEinkaufBelegNrID = 333
|
||
static final int gEquipmentsID = 336
|
||
|
||
/*
|
||
* Wertemengen-ID's
|
||
*/
|
||
static final int gPredValueIDKTKKat = 56 // Ermittlung der <20>bersetzung der Kontakt_Kategorie
|
||
static final int gPredValueIDKatLief = 112 // Ermittlung der <20>bersetzung der Lieferantenkontakt_Kategorie
|
||
static final int gPredValueIDRegister = 51 // Repository-ID der manuellen Wertemenge Register
|
||
|
||
|
||
/*
|
||
* ODATA-Schnittstelle - Zugangsdaten
|
||
*/
|
||
static final String baseOdata = "host";
|
||
static final def lUserOdata = "user"
|
||
static final def lPassOdata = "pass"
|
||
|
||
|
||
// Bauakte
|
||
static final String gResBauakteID = "\$000000130" //DocID des Restrikition Sets Bauakte
|
||
|
||
|
||
} |