Skip to content
Snippets Groups Projects
Commit d02f5868 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Update body.sql

parent 4c086c03
No related branches found
No related tags found
No related merge requests found
......@@ -478,8 +478,13 @@ CREATE OR REPLACE PACKAGE BODY FORMULE_UNICAEN AS
-- AD=SI(ESTERREUR(I20);1;I20)
-- AD=SI(ESTERREUR(I20);1;SI(H20="TP";1;I20))
WHEN c = 'AD' AND v >= 1 THEN
IF vh.type_intervention_code = 'TP' THEN
RETURN 1;
ELSE
RETURN vh.taux_service_du;
END IF;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment