Kommentare angepasst
This commit is contained in:
@@ -26,7 +26,7 @@ public class Hooks
|
||||
@Entrypoint( entrypoint = "hook_insert_entry_10" )
|
||||
public int hookInsertEntry10(D3Interface d3, User user, DocumentType docType, Document doc)
|
||||
{
|
||||
d3.log.error("START | hookInsertEntry10 ");
|
||||
d3.log.info("START | hookInsertEntry10 ");
|
||||
|
||||
//////////////////////////////////////////////////
|
||||
// Prüfung, ob Ablage erlaubt ist / Geräte-/Produktakte | calb d.velop 2025.12.17 START
|
||||
@@ -110,7 +110,7 @@ public class Hooks
|
||||
|
||||
String dokumentarten_geraeteakte_pruef = "DCHEA;DCHEP;DCHLP;DCHEC;DDFAD;DLAUF;DPDK1;DPDK2;DPDK3;DPDW1;DPDW2;DPDW3;DPRSP;DPR01;DTYPD;DTYPS;DVSAK";
|
||||
|
||||
// Eindeutig: Auftrags-Nr., Vertriebsbelegposition, Materialnummer, Fertigungsauftragsnummer und wenn angegeben, Serialnummer, außerdem Dokumentart ist eindeutig
|
||||
// Eindeutig: Dokumentart, Auftrags-Nr., Vertriebsbelegposition, Materialnummer, Fertigungsauftragsnummer und, wenn angegeben, Serialnummer
|
||||
if ( dokumentarten_geraeteakte_pruef.contains( docType.id() ) )
|
||||
{
|
||||
def where = "";
|
||||
@@ -139,7 +139,7 @@ public class Hooks
|
||||
// Prüfung ob Doppelablage bei Dokumentarten, bei denen das nicht vorgesehen ist / Geräte-/Produktakte | calb d.velop 2025.12.17 ENDE
|
||||
//////////////////////////////////////////////////
|
||||
|
||||
d3.log.error("ENDE | hookInsertEntry10 ");
|
||||
d3.log.info("ENDE | hookInsertEntry10 ");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user