dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31139
[Bug 1334166] [NEW] validation-rules-number-of-days does not work
Public bug reported:
We have created a validation rule which compares the number of of days
of stock out of a certain commodity with the number of days in the
reporting period. We use the special "D" paramater in the validation
rule dialog to get the number of days. However, it does not seem to work
properly. If we use something like "31" it works, but of course for
months like Februrary which has 28 or 29 days, they could enter more
days than there are actually days in this reporting period.
Version:
2.15
Build revision:
15172
** Affects: dhis2
Importance: Undecided
Status: New
** Description changed:
We have created a validation rule which compares the number of of days
of stock out of a certain commodity with the number of days in the
reporting period. We use the special "D" paramater in the validation
rule dialog to get the number of days. However, it does not seem to work
properly. If we use something like "31" it works, but of course for
months like Februrary which has 28 or 29 days, they could enter more
days than there are actually days in this reporting period.
+
+ Version:
+ 2.15
+ Build revision:
+ 15172
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1334166
Title:
validation-rules-number-of-days does not work
Status in DHIS 2:
New
Bug description:
We have created a validation rule which compares the number of of days
of stock out of a certain commodity with the number of days in the
reporting period. We use the special "D" paramater in the validation
rule dialog to get the number of days. However, it does not seem to
work properly. If we use something like "31" it works, but of course
for months like Februrary which has 28 or 29 days, they could enter
more days than there are actually days in this reporting period.
Version:
2.15
Build revision:
15172
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1334166/+subscriptions
Follow ups
References