Activities

Activities need to be defined in order to have them available as a dropdown when farmers want to record farming activity. This setup is done by the application developers since it is needed to determine when to generate traceability codes and which fields to displsay when recording an activity.

The following data needs to be collected when defining activity.

Field Description
Name The name of the activity. If they fail to enter a value for this show the message "Please enter an activity name"
Rank The location of the field. This rank of the activity. This satrts from 1. The first activity will be 1, second activity will be 2 and so on. This will help the system to validate if an activity has been skipped. This will be a dropdown of values from 1 to 30. If they fail to enter a value for this show the message "Please select a rank"
Enforce Should the activity be enforced? This is a yes or no dropdown. When an activity is to be enforced, it means the farmer cannot skip it. For example, if applying pesticides is activity with rank 4 and it must be enforced, after the farmer enters activity number 3, his next recording cannot be activity number 5. It must be 4. If however, applying pesticides is not enforced, after recording activity 3, a farmer can record activity 5 as the next. If they fail to enter a value for this show the message "Please select if activity needs to be enforced"
Slug This is immutable and will be used by the application developers to determine what fields to display for recording an activity. This needs to be generated by the system and cannot change.