User Story:
As a GreenGuardian CRM Director, I want the system to initialize default values for each field automatically, if not already populated, when a new garden record is created, so that the data remains consistent and the record creation process is more efficient.
Acceptance Criteria:
- When a new garden record is created, the system should automatically set each field to its predefined default value, except when the user has already populated a field.
Default Values:
Field Label | Field API Name | Default Value |
---|---|---|
Status | CAMPX__Status__c | Awaiting Resources |
Maximum Plant Count | CAMPX__Max_Plant_Count__c | 100 |
Minimum Plant Count | CAMPX__Minimum_Plant_Count__c | 1 |
Total Plant Count | CAMPX__Total_Plant_Count__c | 0 |
Total Unhealthy Plant Count | CAMPX__Total_Unhealthy_Plant_Count__c | 0 |
Example Scenarios:
- A user creates a new garden record but only enters the garden's name. All fields in the table above are automatically initialized to their default values.
- A user creates a new garden record by populating the name and maximum plant count to 50. All fields in the table above, except for maximum plant count, are automatically initialized to their default values.