/
SY_IsModuleOptionEnabled

SY_IsModuleOptionEnabled

Prüft ob die angegebene Moduloption aktiv ist.

Prototype


SY_IsModuleOptionEnabled( modul, option )

Parameter


ParameterTypBedeutung
1stringModul-Name
2stringModul-Option

Rückgabewert


NummerTypBedeutung
1integer

0 = nicht aktiv, 1 = aktiv

Beispiel


local enabled = SY_IsModuleOptionEnabled("AUFT", "E_INVOICE")
if enabled == 1 then -- ERPv6: if enabled then
	SY_Proto("Moduloption ist aktiv.")
else
	SY_Proto("Moduloption ist inaktiv.")
end

Hinweis


  • Achtung: Im syslog.ERP 6 ist der Rückgabetyp "boolean"!

Related content

SY_IsModuleEnabled
SY_IsModuleEnabled
More like this
SY_HasPermission
SY_HasPermission
More like this
AUFT_ANG_AUSW
AUFT_ANG_AUSW
More like this
SY_ParGetInt
SY_ParGetInt
More like this
AUFT_VE11_DUMMYEXML
AUFT_VE11_DUMMYEXML
More like this
SY_FAStornieren
SY_FAStornieren
More like this