[SOLVED] Make Accounted Time field mandatory in Change Mgt

Moderator: crythias

Locked
girishmungra
Znuny newbie
Posts: 59
Joined: 24 Jul 2012, 18:20
Znuny Version: 3.1.7
Real Name: Girish Mungra

[SOLVED] Make Accounted Time field mandatory in Change Mgt

Post by girishmungra »

Hi
how can i make Accounted Time field mandatory on AgentITSMWorkOrderReport in Change Management
Last edited by girishmungra on 06 Jun 2013, 16:25, edited 2 times in total.
OTRS 3.1.7 on Linux RedHat with MySQL database connected to an Active Directory for Agents and Customers.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Make Accounted Time field mandatory in Change Mgt

Post by crythias »

viewtopic.php?f=60&t=17915 makes it mandatory everywhere.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
girishmungra
Znuny newbie
Posts: 59
Joined: 24 Jul 2012, 18:20
Znuny Version: 3.1.7
Real Name: Girish Mungra

Re: Make Accounted Time field mandatory in Change Mgt

Post by girishmungra »

this works for ticket only not on change it seems.
Accounted time in Work order is what i need to make mandatory.
Is there any other way to do it?
OTRS 3.1.7 on Linux RedHat with MySQL database connected to an Active Directory for Agents and Customers.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Make Accounted Time field mandatory in Change Mgt

Post by crythias »

girishmungra wrote:Is there any other way to do it?
Add "Validate_TimeUnits Validate_Required" to the class for the input field.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
girishmungra
Znuny newbie
Posts: 59
Joined: 24 Jul 2012, 18:20
Znuny Version: 3.1.7
Real Name: Girish Mungra

Re: Make Accounted Time field mandatory in Change Mgt

Post by girishmungra »

awesome it worked. thankss
OTRS 3.1.7 on Linux RedHat with MySQL database connected to an Active Directory for Agents and Customers.
Locked