default TicketFreeTime Value

Moderator: crythias

Locked
dma976
Znuny newbie
Posts: 30
Joined: 20 Apr 2011, 06:13
Znuny Version: 3.0.11
Real Name: Daniela Mahl
Company: CONET Technologies AG

default TicketFreeTime Value

Post by dma976 »

Hello,

I want to know if it is possible to change the default value for ticketfreetime from the aktual time to a time which isn't allowed. So that everyone has to chose a date.

Also I want to know if it is possible to chane the input format for ticketfreetime from DateInputFormatLong ('%D.%M.%Y - %T') to DateInputFormat ('%D.%M.%Y').

Thanks
Ela
OTRS Version: 3.0.11
ITSM 3.0.5
Betriebsystem: SLES 11
Apache2/MySQL 5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: default TicketFreeTime Value

Post by crythias »

You should be able to make it Optional:No
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
dma976
Znuny newbie
Posts: 30
Joined: 20 Apr 2011, 06:13
Znuny Version: 3.0.11
Real Name: Daniela Mahl
Company: CONET Technologies AG

Re: default TicketFreeTime Value

Post by dma976 »

Yes, but this feeld need to be filled out. But the default value of the feeld is a valid value.
If an agent opens the form it has the value 24.04.2011 an he didn't need to change it.
OTRS Version: 3.0.11
ITSM 3.0.5
Betriebsystem: SLES 11
Apache2/MySQL 5
dma976
Znuny newbie
Posts: 30
Joined: 20 Apr 2011, 06:13
Znuny Version: 3.0.11
Real Name: Daniela Mahl
Company: CONET Technologies AG

Re: default TicketFreeTime Value

Post by dma976 »

I have found this,

Code: Select all

If you want to set a FreeTime value to null, just supply zeros:

    my $Success = $TicketObject->TicketFreeTimeSet(
        Counter               => 1,
        Prefix                => 'TicketFreeTime',
        TicketFreeTime1Year   => 0,
        TicketFreeTime1Month  => 0,
        TicketFreeTime1Day    => 0,
        TicketFreeTime1Hour   => 0,
        TicketFreeTime1Minute => 0,
        TicketID              => 123,
        UserID                => 23,
    ); 

Events: TicketFreeTimeUpdate
but I do not know how to use it and what exactly it does or where to use it.
OTRS Version: 3.0.11
ITSM 3.0.5
Betriebsystem: SLES 11
Apache2/MySQL 5
Locked