Optima Groovy-Hooks hinzugefügt

This commit is contained in:
2026-02-06 13:42:40 +01:00
parent 12ef4a546d
commit f5f97b8886
15 changed files with 20476 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
public class dbsCaseContractHooks_prefixGen {
/* ########################################################################################
* ################### The functions below may be edited by customers #####################
* ########################################################################################
*/
public String generateContractNumberPrefix(String configuredPrefix) {
int year = Calendar.getInstance().get( Calendar.YEAR);
if ( configuredPrefix == null || configuredPrefix == ""){
return "${year}-";
} else {
return "${configuredPrefix}-${year}-";
}
}
}