Reports generation tutorial, create and test a text report.
Tutorials → Reports | Tutorial | How-to Guide | Reference
We'll create a shift report showing tank status.
ShiftReport
Text
C:/Reports/Shift.txt
Mandatory Folder
It is mandatory that the folder where the Report will be saved, must be created before. The system does not create folders automatically.
ShiftReport
================================
TANK FARM SHIFT REPORT
Date: {Server.DateTimeInfo.Date}
Time: {Server.DateTimeInfo.Time}
================================
TANK STATUS SUMMARY
-------------------
Tank 1:
Level: {Tag.TankFarm/Tank1/Level} ft
Temperature: {Tag.TankFarm/Tank1/Temp} °F
Pressure: {Tag.TankFarm/Tank1/Pressure} PSI
Status: {Tag.TankFarm/Tank1/Status}
Tank 2:
Level: {Tag.TankFarm/Tank2/Level} ft
Temperature: {Tag.TankFarm/Tank2/Temp} °F
Pressure: {Tag.TankFarm/Tank2/Pressure} PSI
Status: {Tag.TankFarm/Tank2/Status}
PRODUCTION METRICS
------------------
Total Volume: {Tag.TankFarm/Metrics/TotalVolume} gal
Flow Rate: {Tag.TankFarm/Metrics/FlowRate} gpm
Daily Production: {Tag.TankFarm/Metrics/DailyProduction} gal
================================
End of Report
Create scheduled task for shift reports:
→ Modules / Business Operations / Reports Module → Tutorials / Business Operations / Reports Module Tutorial → How-to Guides / I Business Operations / Reports Module How-to Guide → Technical Reference / Business Operations / Reports Module ReferenceReports Module Links
Explanation - to understand concepts
Tutorials - to learn by doing
How-to Guides - to accomplish specific tasks
Reference - technical details