You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/cc/altius/FASP/model/report/GlobalConsumptionInput.java
+38-32Lines changed: 38 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,16 @@ public class GlobalConsumptionInput {
20
20
privateintrealmId;
21
21
privateString[] realmCountryIds;
22
22
privateString[] programIds;
23
-
privateString[] planningUnitIds;
23
+
privateintversionId; // If a Single Program is selected then versionId is relevant. When Multiple Programs are selected this should be 0. If single program is selected then cannot be 0. -1 for latest versionId
24
+
privateintequivalencyUnitId; // 0 if not selected or then value if selected
25
+
privateString[] planningUnitIds; // Use list of PU's if an EquivalencyUnit is provided, if no equivalencyUnitId is selected then only use the first PU from the list
* -- realmId must be a valid realm that you want to run this Global report for
214
224
* -- RealmCountryIds is the list of Countries that you want to run the report for. Empty means all Countries
215
225
* -- ProgramIds is the list of Programs that you want to run the report for. Empty means all Programs
216
-
* -- PlanningUnitIds is the list of PlanningUnits that you want to run the report for. Empty means all Planning Units
226
+
* -- VersionId should be 0 when Multiple Programs are selected. VersionId will be picked only when Single Program is selected. -1 to get the latest Version of that Program
227
+
* -- EquivalencyUnitId is the list of EquivalencyUnit that you want to view the output in terms of. 0 Means not selected and Positive integer value means selected
228
+
* -- PlanningUnitIds is the list of PlanningUnits that you want to run the report for (Single select if EquivalencyUnitId=0, Multi-select only if Equivalency Unit Id is selected)
217
229
* -- startDate and stopDate are the range between which you want to run the report for`
218
-
* -- reportView = 1 shows the Consumption in PlanningUnits
219
-
* -- reportView = 2 shows the Consumption in ForecastingUnits
230
+
* -- viewBy = 1 shows the report in terms of Country
231
+
* -- viewBy = 2 shows the report in terms of Program
0 commit comments