User Story:
As a GreenGuardian CRM Director, I want the system to automatically initialize fields when a new garden record is created, so the data remains consistent and the record creation process is more efficient.
Acceptance Criteria:
- When a new garden record is created, each field should be populated with its predefined default value, as specified below.
- The default values should be set only during record creation, not updates.
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 without specifying any details other than the name. The system automatically sets the fields to their respective default values from the table above.
- A user updates an existing garden record's maximum plant count to 15. The new value, 15, persists and replaces 100.