Service Request API: Need To Add Line Feed or Carriage Return In Text When Creating Notes

(Doc ID 2014135.1)

Last updated on MARCH 08, 2017

Applies to:

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

Goal

We are creating Service Request using cs_servicerequest_pub.create_servicerequest and adding Notes to the SR created.
We need to add a break (Enter) within the Notes.

Way we pass values 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 := 'ROC_INTERNAL NOTES';

Data from Custom table as passed to the code (p_sr_notes) is as below:
---------------------------------------------------------------------------------------
No Problem Found Units: Always contact me when a unit is deemed a NPF (No Problem Found)
Unrepairable Units: Always contact me when a unit is deemed Unrepairable
Contact: John Smith; Phone Number: 800-123-4567
Additional note by Mary

Data as Visible on the Service Request created by the API:
-----------------------------------------------------------------------
No Problem Found Units: Always contact me when a unit is deemed a NPF (No Problem Found)Unrepairable Units: Always contact me when a unit is deemed UnrepairableContact: John Smith; Phone Number: 800-123-4567Additional note by Mary
 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms