/*===================================================*/
/* hier stehen die Fehlernummern. */
/* Die Fehlertexte werden in errors.ini definiert */
/*================================================*/
#ifndef _IC_ERRORS_H_
#define _IC_ERRORS_H_

#define IC_NO_ERROR 0
#define IC_ERROR -1 /* Allgemeiner Fehler */

#define IC_WARNING_UNTERLIEFERUNG 20
#define IC_WARNING_UEBERLIEFERUNG 21
#define IC_ERROR_UNTERLIEFERUNG 22
#define IC_ERROR_UEBERLIEFERUNG 23
#define IC_ERROR_GRUND_UNGUELTIG 24
#define IC_ERROR_ARBPL_UNGUELTIG 25
#define IC_ERROR_LSTAR_UNGUELTIG 26
#define IC_ERROR_MEINH_UNGUELTIG 30
#define IC_ERROR_UMRE_UNGUELTIG 31
#define IC_ERROR_ILE01_INVALID 35
#define IC_ERROR_ILE02_INVALID 36
#define IC_ERROR_ILE03_INVALID 37
#define IC_ERROR_ILE04_INVALID 38
#define IC_ERROR_ILE05_INVALID 39
#define IC_ERROR_ILE06_INVALID 40
#define IC_ERROR_ISM01_INVALID 41
#define IC_ERROR_ISM02_INVALID 42
#define IC_ERROR_ISM03_INVALID 43
#define IC_ERROR_ISM04_INVALID 44
#define IC_ERROR_ISM05_INVALID 45
#define IC_ERROR_ISM06_INVALID 46
#define IC_ERROR_UNTERBRUCH 100
#define IC_ERROR_DIALOG_UNGUELTIG 101
#define IC_ERROR_TIMEOUT 102
#define IC_ERROR_KEIN_VORGANG 103
#define IC_ERROR_MEHR_AVOS_AKTIV 104
#define IC_ERROR_KEINE_BERECHTIGUNG 105
#define IC_ERROR_KEINE_WEITEREN_AVOS 106
#define IC_ERROR_RUECK_FALSCH 108
#define IC_ERROR_RUECK_UNBEKANNT 109
#define IC_ERROR_ARBPLWECHSEL_FEHLT 115
#define IC_ERROR_NICHT_ANWESEND 120
#define IC_ERROR_AUSWEIS_UNGUELTIG 123
#define IC_ERROR_VORGANG_UNGUELTIG -140
#define IC_ERROR_VORGANG_NICHT_AKTIV 202

#define IC_ERROR_KEIN_VORG_AVO -500
#define IC_ERROR_MENGEN_GROESSER_VORG -501
#define IC_ERROR_UNGUELTIGER_STATV -502
#define IC_ERROR_VORG_NICHT_GEB -503
#define IC_ERROR_ENDMENGE_UNGLEICH_VORG -504
#define IC_ERROR_VORG_MENGE_NULL -505
#define IC_ERROR_UNGUELTIGER_STATE -506
#define IC_ERROR_INVALID_SATZA -600
#define IC_ERROR_INVALID_ORDER -601
#define IC_ERROR_INVALID_ELMNT -602
#define IC_ERROR_INVALID_COSTC -603
#define IC_ERROR_INVALID_OBTYP -604
#define IC_ERROR_INVALID_EXLGA -605
#define IC_ERROR_NO_EINH_FOR_HRAZL -610
#define IC_ERROR_NO_EINH_FOR_HRBET -611
#define IC_ERROR_INVALID_HRBET -612
#define IC_ERROR_NO_HRAZL_OR_HRBET -613
#define IC_ERROR_HRAZL_ILLEGAL -614
/*————————————*/
/* Fehler vom webmgr (-1000 - -1199) */
/*———————————-*/
#define IC_ERROR_AUSWEIS_UNGUELTIG_ODER -1000
#define IC_ERROR_VARIABLE_WEG -1001
#define IC_ERROR_FALSCHE_EINGABE -1002
#define IC_ERROR_KEIN_GEMK_AVO -1003
#define IC_ERROR_PERNR_UNGUELTIG_ODER -1004
#define IC_ERROR_PINCODE_UNGUELTIG_ODER -1005
#define IC_ERROR_AUSWEIS_ABWESEND -1006
#define IC_ERROR_PINCODE_INITIAL -1007

#define IC_ERROR_MIXED_KK -1020

#define IC_ERROR_PERNR_NICHT_IN_PERKK -1050
#define IC_ERROR_ZAUSW_NICHT_IN_PERKK -1051

#define IC_ERROR_SQLDB_OFFLINE -1080
#define IC_ERROR_NO_SQLDB_SUPPORT -1081

#define IC_ERROR_FKT_UNBEKANNT -1100
#define IC_ERROR_BSDIR_FEHLT -1101
#define IC_ERROR_OPEN_TEMPFILE -1102

#define IC_ERROR_DOUBLEBOOKING -1150
#define IC_ERROR_BACKBOOKING -1151

#define IC_ERROR_BOOKING_IN_DURATION -1160
/*————————————-*/
/* Fehler vom lamptab (-1200 - -1399) */
/*———————————–*/
#define IC_ERROR_UNBEKANNTE_GRP -1200
#define IC_ERROR_BKFILE_NOT_FOUND -1201
#define IC_ERROR_GRP_EXIST -1202
#define IC_ERROR_GRP_NOT_EMPTY -1203
#define IC_ERROR_LTAB_NO_PERMITIONS -1204

/*————————————*/
/* Fehler von webavw (-1400 - -1599) */
/*———————————-*/
#define IC_ERROR_ZAUSW_EXIST -1400
#define IC_ERROR_ZAUSW_NOT_FOUND -1401
#define IC_ERROR_NO_PERMITIONS -1402
#define IC_ERROR_CANT_DEL_SAPAUSW -1403
#define IC_ERROR_USER_EXIST -1404
#define IC_ERROR_BER_ERSAAUSW -1405
#define IC_ERROR_NO_ZAUSW_NAME -1406
#define IC_ERROR_NAME_NOT_FOUND -1407
#define IC_ERROR_NO_PERMITIONS_ZAUSW -1408
#define IC_ERROR_NO_PERMITIONS_MANDA -1409
#define IC_ERROR_NO_PERMITIONS_BDEGR -1410
#define IC_ERROR_PERNR_NOT_FOUND -1411
#define IC_ERROR_PERNR_EXIST -1412
#define IC_ERROR_BER_0_VISAUSW -1500
#define IC_ERROR_BER_1_VISAUSW -1501
#define IC_ERROR_BER_2_VISAUSW -1502
#define IC_ERROR_BER_3_VISAUSW -1503
#define IC_ERROR_BER_4_VISAUSW -1504
#define IC_ERROR_BER_5_VISAUSW -1505
#define IC_ERROR_BER_6_VISAUSW -1506
#define IC_ERROR_BER_7_VISAUSW -1507
#define IC_ERROR_BER_8_VISAUSW -1508
#define IC_ERROR_BER_9_VISAUSW -1509
#define IC_ERROR_OUT_OF_DATE -1510
#define IC_ERROR_NO_VISAUSW_LEFT -1511
#define IC_ERROR_VIS_STILL_HAS_ZAUSW -1512

/*————————————*/
/* Fehler von tltab (-1600 - -1799) */
/*———————————-*/
#define IC_ERROR_BDFILE_NOT_FOUND -1600

/*————————————*/
/* Fehler von acsmgr (-1800 - -1999) */
/*———————————-*/
#define IC_ERROR_INVALID_LOCKSTR -1800
#define IC_ERROR_STILL_LOCKED -1801
#define IC_ERROR_UNLOCK_FAILED -1802

/*————————————————*/
/* Fehler allgemein securety demo(-2000 - -2199) */
/*———————————————-*/
#define IC_ERROR_DONT_EDIT_YOURSELF -2000
#define IC_ERROR_LIC_ERROR -2001
#define IC_ERROR_NO_USER_DEFINED -2002
#define IC_ERROR_LOGIN_FAILED -2003
#define IC_ERROR_UNKNOWN_USER -2004
#define IC_ERROR_KEY_INVALID -2005
#define IC_ERROR_MULTILOGIN -2006
#define IC_ERROR_MAXFAILCOUNT_REACHED -2007
#define IC_ERROR_USER_IS_LOCKED -2008
#define IC_ERROR_TICKET_INVALID -2009
#define IC_ERROR_DEMO_MODE_ZAUSW -2010
#define IC_ERROR_DEMO_MODE_RUECK -2011
#define IC_ERROR_DEMO_MODE -2012

/*————————————————*/
/* LDAP … (-2200 - -2399) */
/*———————————————-*/
#define IC_ERROR_LDAP_LOGIN_FAILED -2200
#define IC_ERROR_LDAP_INIT_FAILED -2201
#define IC_ERROR_LDAP_SETOPT_FAILED -2202
#endif