OTRS API Reference JavaScript

Namespace: Core.Agent.CustomerSearch

Core.Agent. CustomerSearch

This namespace contains the special module functions for the customer search.
Author:
  • OTRS AG
Source:

Methods

(static) AddTicketCustomer(Field, CustomerValue, CustomerKey, SetAsTicketCustomer) → {Boolean}

This function adds a new ticket customer
Parameters:
Name Type Description
Field String
CustomerValue String The readable customer identifier.
CustomerKey String Customer key on system.
SetAsTicketCustomer String Set this customer as main ticket customer.
Source:
Returns:
Returns false.
Type
Boolean

(static) InitCustomerField($Element)

This function initializes the customer fields.
Parameters:
Name Type Description
$Element String JQuery object.
Source:

(static) ReloadCustomerInfo(CustomerKey)

This function reloads info for selected customer.
Parameters:
Name Type Description
CustomerKey String
Source:

(static) RemoveCustomerTicket(Object)

This function removes a customer ticket entry.
Parameters:
Name Type Description
Object jQueryObject JQuery object used as base to delete it's parent.
Source:

(static) ResetCustomerInfo()

This function clears all selected customer info.
Source:

(static) ShowDuplicatedDialog(Field)

This function shows an alert dialog for duplicated entries.
Parameters:
Name Type Description
Field String ID object of the element should receive the focus on close event.
Source: