Differenze tra le versioni di "Standard Function"
(Una versione intermedia di uno stesso utente non è mostrata) | |||
Riga 25: | Riga 25: | ||
! Parameter Name !!Type!! Description | ! Parameter Name !!Type!! Description | ||
|- | |- | ||
− | | ticketFieldId || int || This is the Ticket field id value. The list of id is visible in | + | | ticketFieldId || int || This is the Ticket field id value. The list of id is visible in __STD_TICKET_FIELD View |
|- | |- | ||
| srcId || int || This is the SRCS record id | | srcId || int || This is the SRCS record id | ||
Riga 34: | Riga 34: | ||
and return a string value. | and return a string value. | ||
− | If for a specific ticketFieldId the function return blank, | + | If for a specific ticketFieldId the function return blank, send an email to the itmSUITE® Support to check if the specific field management is implemented |
Riga 49: | Riga 49: | ||
! Parameter Name !!Type!! Description | ! Parameter Name !!Type!! Description | ||
|- | |- | ||
− | | custiomFieldId || int || This is the Custom field id value. The list of id is visible in | + | | custiomFieldId || int || This is the Custom field id value. The list of id is visible in __STD_TICKET_FIELD_VIEW |
|- | |- | ||
− | | ticketId || int || This is the id of Ticket. Ticket id is visible using the | + | | ticketId || int || This is the id of Ticket. Ticket id is visible using the __STD_TICKET_VIEW View |
|} | |} | ||
+ | |||
+ | If for a specific ticketFieldId the function return blank, send an email to the itmSUITE® Support to check if the specific field management is implemented |
Versione attuale delle 13:48, 23 ott 2018
itmSUITE® propose to a customer a set of Standard function to facilitate the reporting development. These functions are defined at data base level.
The paragraphs below report the standard function collection.
The information reported are shown in the following table:
Function Name | Description |
---|---|
getSRCSValue | This function return information about SRCS record |
getTCFValue | This function return information about Ticket Custom field record |
getSRCSValue
Purpose of this function is given to Customer a simple way to view the information connected to SRCS record.
Defnition
[dbo].[getSRCSValue](@ticketFieldId int, @srcId int, @type int = 0) returns nvarchar(max)
The function expects three parameters
Parameter Name | Type | Description |
---|---|---|
ticketFieldId | int | This is the Ticket field id value. The list of id is visible in __STD_TICKET_FIELD View |
srcId | int | This is the SRCS record id |
type | int | Set 0 if you want to return as result of the function the a string value; 1 id we want to return the ID of the result. E.g: if the ticketFieldId = 18, Solution Group, when the type is set to 0 the function return the Solution Group name, when is set to 1 it return the Solution group ID |
and return a string value.
If for a specific ticketFieldId the function return blank, send an email to the itmSUITE® Support to check if the specific field management is implemented
getTCFValue
Purpose of this function is given to Customer a simple way to view the information connected to Custom field valorized in a Ticket record.
Defnition
[dbo].[getTCFValue](@custiomFieldId int, @ticketId int) returns nvarchar(max)
The function expects three parameters:
Parameter Name | Type | Description |
---|---|---|
custiomFieldId | int | This is the Custom field id value. The list of id is visible in __STD_TICKET_FIELD_VIEW |
ticketId | int | This is the id of Ticket. Ticket id is visible using the __STD_TICKET_VIEW View |
If for a specific ticketFieldId the function return blank, send an email to the itmSUITE® Support to check if the specific field management is implemented