handlers/kinetic_request_submission_update_status_v1/handler/init.rb
# Retrieve the ArsModels::Entry object for the KS_SRV_CustomerSuvey_base
# record associated to the specified instance id and include the specified
# fields.
#
# Raises an exception if a record associated to the specified instance id does
# not exist.
#
# ==== Parameters
# * id (String) - The instance Id of the KS_SRV_CustomerSurvey_base record
#   that should be retrieved.
# * field_identifiers (Array) - An array of field identifiers, typically field
#   ids (specified as numbers) or field names (specified as strings), that
#   should be returned with the requested submission.
#
# ==== Returns
# An ArsModels::Entry record that includes the field values of the located
# KS_SRV_CustomerSurvey_base record.
Retrieve the ArsModels::Entry object for the KS_SRV_CustomerSuvey_base
record associated to the specified instance id and include the specified
fields.

Raises an exception if a record associated to the specified instance id does
not exist.

Parameters
id (String) - The instance Id of the KS_SRV_CustomerSurvey_base record
that should be retrieved.
field_identifiers (Array) - An array of field identifiers, typically field
ids (specified as numbers) or field names (specified as strings), that
should be returned with the requested submission.

Returns
An ArsModels::Entry record that includes the field values of the located
KS_SRV_CustomerSurvey_base record.
Retrieve the ArsModels :: Entry object for the KS_SRV_CustomerSuvey_base record associated to the specified instance id and include the specified fields . Raises an exception if a record associated to the specified instance id does not exist . Parameters id ( String ) - The instance Id of the KS_SRV_CustomerSurvey_base record that should be retrieved . field_identifiers ( Array ) - An array of field identifiers typically field ids ( specified as numbers ) or field names ( specified as strings ) that should be returned with the requested submission . Returns An ArsModels :: Entry record that includes the field values of the located KS_SRV_CustomerSurvey_base record .
def retrieve_submission(id, field_identifiers=nil)
    entry = @@remedy_forms['KS_SRV_CustomerSurvey_base'].find_entries(
      :single, :fields => field_identifiers, :conditions => [%`'179' = "#{id}"`]
    )
    raise %|Unable to find the initial request record '#{id}'.| if entry.nil?
    entry
  end
def retrieve_submission ( id , field_identifiers = nil ) entry = @@remedy_forms [ 'KS_SRV_CustomerSurvey_base' ] . find_entries ( :single , :fields => field_identifiers , :conditions => [ %`'179' = "#{id}"` ] ) raise %|Unable to find the initial request record '#{id}'.| if entry . nil? entry end
Retrieve the ArsModels::Entry object for the KS_SRV_CustomerSuvey_base
record associated to the specified instance id and include the specified
fields.
Retrieve the ArsModels :: Entry object for the KS_SRV_CustomerSuvey_base record associated to the specified instance id and include the specified fields .
id
<not_specific>
field_identifiers
<not_specific>