My Oracle Support Banner

Service Request API: Need To Add Line Feed or Carriage Return In Text When Creating Notes (Doc ID 2014135.1)

Last updated on JULY 21, 2020

Applies to:

Oracle Teleservice - Version 12.1.3 and later
Information in this document applies to any platform.

Goal

While creating a service request using cs_servicerequest_pub.create_servicerequest and adding Notes to the SR created, how can a break (Enter) can be added withing the Note?

Values passed to the API:

  l_notes_table (1).note := p_sr_notes;
  l_notes_table (1).note_detail := p_sr_notes;
  l_notes_table (1).note_type := 'EXAMPLE_NOTE_TYPE';

Data from custom table as passed to the code (p_sr_notes) is as below:
---------------------------------------------------------------------------------------
XYZ line 1
This is line 2...

Data as Visible on the Service Request created by the API:
-----------------------------------------------------------------------
XYZ line 1This is line 2...
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.