empêche la création d'une entité si une organisation ayant le même code existe
This commit is contained in:
parent
74ca63081a
commit
d10e7aae41
|
@ -168,10 +168,16 @@ $GLOBALS['LSobjects']['LSsupannEntite'] = array (
|
|||
),
|
||||
'validation' => array (
|
||||
array (
|
||||
'msg' => "Cet identifiant est déjà utilisé.",
|
||||
'msg' => "Cet identifiant est déjà utilisé par une autre entité.",
|
||||
'object_type' => 'LSsupannEntite',
|
||||
'filter' => '(supannCodeEntite=%{val})',
|
||||
'result' => 0
|
||||
),
|
||||
array (
|
||||
'msg' => "Cet identifiant est déjà utilisé par une organisation.",
|
||||
'object_type' => 'LSsupannOrg',
|
||||
'filter' => '(supannCodeEntite=%{val})',
|
||||
'result' => 0
|
||||
)
|
||||
),
|
||||
'view' => 1,
|
||||
|
|
Reference in New Issue