Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
OSE
Commits
5874164d
Commit
5874164d
authored
3 years ago
by
Laurent Lecluse
Browse files
Options
Downloads
Patches
Plain Diff
#37737
(cherry picked from commit
d2bece31
)
parent
749f0737
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/ddl/package/FORMULE_UPEC/body.sql
+4
-4
4 additions, 4 deletions
data/ddl/package/FORMULE_UPEC/body.sql
with
4 additions
and
4 deletions
data/ddl/package/FORMULE_UPEC/body.sql
+
4
−
4
View file @
5874164d
...
...
@@ -207,11 +207,11 @@ CREATE OR REPLACE PACKAGE BODY "FORMULE_UPEC" AS
RETURN
1
;
ELSE
-- SI(SOMME(K26:K35)<=384;1;((384+((SOMME(K26:K35)-384)*(2/3)))/SOMME(K26:K35)))
IF
cell
(
'sTP'
)
<=
384
THEN
IF
cell
(
'sTP'
)
<=
i
.
heures_service_statutaire
THEN
RETURN
1
;
ELSE
--(384+((SOMME(K26:K35)-384)*(2/3)))/SOMME(K26:K35)
RETURN
(
384
+
((
cell
(
'sTP'
)
-
384
)
*
(
2
/
3
)))
/
cell
(
'sTP'
);
RETURN
(
i
.
heures_service_statutaire
+
((
cell
(
'sTP'
)
-
i
.
heures_service_statutaire
)
*
(
2
/
3
)))
/
cell
(
'sTP'
);
END
IF
;
END
IF
;
END
IF
;
...
...
@@ -239,11 +239,11 @@ CREATE OR REPLACE PACKAGE BODY "FORMULE_UPEC" AS
END
IF
;
ELSE
-- SI(SOMME(K26:K35)<=384;1;((384+((SOMME(K26:K35)-384)*(2/3)))/SOMME(K26:K35)))
IF
cell
(
'sTP'
)
<=
384
THEN
IF
cell
(
'sTP'
)
<=
i
.
heures_service_statutaire
THEN
RETURN
1
;
ELSE
--(384+((SOMME(K26:K35)-384)*(2/3)))/SOMME(K26:K35)
RETURN
(
384
+
((
cell
(
'sTP'
)
-
384
)
*
(
2
/
3
)))
/
cell
(
'sTP'
);
RETURN
(
i
.
heures_service_statutaire
+
((
cell
(
'sTP'
)
-
i
.
heures_service_statutaire
)
*
(
2
/
3
)))
/
cell
(
'sTP'
);
END
IF
;
END
IF
;
END
IF
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment