Data Model > Data Dictionary > O > Overnight Stay Policy
Overnight Stay Policy
API Label: SVMXC__SM_Overnight_Stay_Policy__c
No. of Fields: 14
Field Label
Field Name
Data Type
Description
Standard Fields
Name
Name
Text(80)
The auto-generated record name.
Custom Fields
Active
SVMXC__SM_Active__c
Checkbox
Detemines whether the overnight stay policy is active.
Allow Friday Overnight Stay
SVMXC__SM_Allow_Friday_ONS__c
Checkbox
Determines whether an overnight stay is allowed on a Friday of the business hours.
Allow Monday Overnight Stay
SVMXC__SM_Allow_Monday_ONS__c
Checkbox
Determines whether an overnight stay is allowed on a Monday of the business hours.
Allow Saturday Overnight Stay
SVMXC__SM_Allow_Saturday_ONS__c
Checkbox
Determines whether an overnight stay is allowed on a Saturday of the business hours.
Allow Sunday Overnight Stay
SVMXC__SM_Allow_Sunday_ONS__c
Checkbox
Determines whether an overnight stay is allowed on a Sunday of the business hours.
Allow Thursday Overnight Stay
SVMXC__SM_Allow_Thursday_ONS__c
Checkbox
Determines whether an overnight stay is allowed on a Thursday of the business hours.
Allow Tuesday Overnight Stay
SVMXC__SM_Allow_Tuesday_ONS__c
Checkbox
Determines whether an overnight stay is allowed on a Tuesday of the business hours.
Allow Wednesday Overnight Stay
SVMXC__SM_Allow_Wednesday_ONS__c
Checkbox
Determines whether an overnight stay is allowed on a Wednesday of the business hours.
Drive Distance Threshold (miles or kms)
SVMXC__SM_Drive_Distance_Threshold__c
Number(16, 2)
Determines the distance taken to travel from the last work order location to home location.
Drive Time Threshold (in minutes)
SVMXC__SM_Drive_Time_Threshold__c
Number(16, 2)
Determines the time taken to travel from the last work order location to home location.
Max Consecutive Overnight Stays
SVMXC__SM_Consecutive_ONS_Per_Week__c
Number(8, 0)
Maximum number of consecutive days a technician can stay overnight in a work shift week.
Min Gap Between Consecutive ONS
SVMXC__SM_Minimum_Recovery_Days__c
Number(18, 0)
Determines the minimum gap (in days) between two consecutive overnight stays.
Policy Override
SVMXC__SM_Policy_Override__c
Checkbox
Determines whether the policy can be overridden by efficiency.
Total Overnight Stays
SVMXC__SM_Total_ONS_Per_Week__c
Number(8, 0)
Determines the total number overnights a technician can do.
Was this helpful?