Function | Parameters | Return Value | Description |
---|
approve_report(project_id, report_id) | project_id: Project ID report_id: Status report | True or False depending on whether the report could be approved | Approve a status report |
create_report(pr_id, report_type, date_to=None, tcalc=True) | pr_id: Project ID report_type: ppms.constants.REPORT_CREATION_APPLICATION , ppms.constants.REPORT_CREATION_REPORT , ppms.constants.REPORT_CREATION_FINAL_REPORT or ppms.constants.REPORT_CREATION_BASELINE
date_to: Date in the format dd.mm.YYYY tcalc: True or False | Returns either the Statusbericht or None if no report could be created | Creates a new report.
tcalc controls whether the project should be calculated before report creation If date_to is set, the report is marked as a monthly accounted report. |
revoke_report(project_id, report_id, skip_checks=False) | project_id: Project ID report_id: Status report
skip_checks: Skips the checks for active baseline and active report | True or False | Revokes an approved report |
set_cost_trend_analysis(project_id, report_id, value) | project_id: Project ID report_id: Status report value: True or False | True or False | Sets Cost trend analysis to the given value |
set_milestone_trend_analysis(project_id, report_id, value) | project_id: Project ID report_id: Status report value: True or False | True or False | Sets Milestone trend analysis to the given value |