Field:date start@SpentTime
Users Actual Effort - Date | |
---|---|
Name | date_start |
Module | Users Actual Effort |
Type | datetimecombo |
Label | Date |
VName | LBL_DATE |
Required | Yes |
Editable | Yes |
Visible | Yes |
Reportable | Yes |
Importable | No |
Massupdate | No |
Global Search | No |
Auditable | Yes |
Options | * Equals, * Not On, * After, * Before, * Last 7 Days, * Next 7 Days, * Last 30 Days, * Next 30 Days, * Last Month, * This Month, * Next Month, * Last Year, * This Year, * Next Year, * Is Between, * More Than n Months Ago |
Options List Name | date_range_search_dom |
Needs Validation | Yes |
Contents
[hide]Notes
Date of start of meeting
Related Features
Affected by
Name | Type | Short Description | Affected Fields | Initiating Fields | Initiating Modules |
---|---|---|---|---|---|
Feature:SpentTime - date start - Validation IsBefore | Validation | Date | Date End | Users Actual Effort |
Initiating
Location and Code definition
modules/SpentTime/vardefs.php
'date_start' => array( 'name' => 'date_start', 'vname' => 'LBL_DATE', 'type' => 'datetimecombo', 'dbType' => 'datetime', 'comment' => 'Date of start of meeting', 'importable' => 'required', 'required' => true, 'enable_range_search' => true, 'options' => 'date_range_search_dom', 'audited' => true, 'validation' => array( 'type' => 'isbefore', 'compareto' => 'date_end', 'blank' => false, ), 'vt_validation' => "AEM(equals(callCustomApi(SpentTime,getCountOfSpendTimeRecordsInGivenFrame,\$id,\$workschedule_id,\$date_start,\$date_end,1),0),'LBL_SPENT_TIME_RECORD_FOR_THIS_PERIOD_ALREADY_EXISTS')", ),
Missing User input
Related Features
Affected by
Name | Type | Short Description | Affected Fields | Initiating Fields | Initiating Modules |
---|---|---|---|---|---|
Feature:SpentTime - date start - Validation IsBefore | Validation | Date | Date End | Users Actual Effort |