0000390 réécriture de include/extension.inc.php
0000424 Plugin traité comme des modules ou des menus 0000240 Sécurité par profile 0000438 Modularité : avoir les écrans pour gérer les menus, profiles et les liaisons 0000435 Form direct action : améliorer apparence
This commit is contained in:
parent
5bdcc7c515
commit
8a2ee1f092
41 changed files with 3498 additions and 863 deletions
21
sql/tmp_pcmn_ins.sql
Normal file
21
sql/tmp_pcmn_ins.sql
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
-- Function: comptaproc.tmp_pcmn_ins()
|
||||
|
||||
-- DROP FUNCTION comptaproc.tmp_pcmn_ins();
|
||||
|
||||
CREATE OR REPLACE FUNCTION comptaproc.tmp_pcmn_ins()
|
||||
RETURNS trigger AS
|
||||
$BODY$
|
||||
declare
|
||||
r_record tmp_pcmn%ROWTYPE;
|
||||
begin
|
||||
r_record := NEW;
|
||||
if length(trim(r_record.pcm_type))=0 or r_record.pcm_type is NULL then
|
||||
r_record.pcm_type:=find_pcm_type(NEW.pcm_val);
|
||||
return r_record;
|
||||
end if;
|
||||
return NEW;
|
||||
end;
|
||||
$BODY$
|
||||
LANGUAGE plpgsql VOLATILE
|
||||
COST 100;
|
||||
ALTER FUNCTION comptaproc.tmp_pcmn_ins() OWNER TO dany;
|
||||
Loading…
Add table
Add a link
Reference in a new issue