179: raise l_API_ERROR;
180: END IF;
181:
182: -- Get the translated message
183: FND_MESSAGE.SET_NAME('CS', 'CS_SR_ASSIGNED_TO');
184: FND_MESSAGE.Set_Token('OWNER', l_owner_name);
185: l_escalation_history := FND_MESSAGE.Get;
186:
187: -- Now append the date and the separator
180: END IF;
181:
182: -- Get the translated message
183: FND_MESSAGE.SET_NAME('CS', 'CS_SR_ASSIGNED_TO');
184: FND_MESSAGE.Set_Token('OWNER', l_owner_name);
185: l_escalation_history := FND_MESSAGE.Get;
186:
187: -- Now append the date and the separator
188: l_escalation_history := cs_separator ||'
181:
182: -- Get the translated message
183: FND_MESSAGE.SET_NAME('CS', 'CS_SR_ASSIGNED_TO');
184: FND_MESSAGE.Set_Token('OWNER', l_owner_name);
185: l_escalation_history := FND_MESSAGE.Get;
186:
187: -- Now append the date and the separator
188: l_escalation_history := cs_separator ||'
189: '|| to_char(sysdate, 'DD-MON-YYYY HH24:MI:SS') ||'
251: actid => actid,
252: aname => 'ESCALATED_TO' );
253:
254: -- Get the translated escalation message line
255: FND_MESSAGE.SET_NAME('CS', 'CS_SR_ESCALATED_TO');
256: FND_MESSAGE.Set_Token('OWNER', l_owner_name);
257: l_escalation_line := FND_MESSAGE.Get;
258:
259: -- Now append the date and the separator
252: aname => 'ESCALATED_TO' );
253:
254: -- Get the translated escalation message line
255: FND_MESSAGE.SET_NAME('CS', 'CS_SR_ESCALATED_TO');
256: FND_MESSAGE.Set_Token('OWNER', l_owner_name);
257: l_escalation_line := FND_MESSAGE.Get;
258:
259: -- Now append the date and the separator
260: IF (l_escalation_comment IS NULL) THEN
253:
254: -- Get the translated escalation message line
255: FND_MESSAGE.SET_NAME('CS', 'CS_SR_ESCALATED_TO');
256: FND_MESSAGE.Set_Token('OWNER', l_owner_name);
257: l_escalation_line := FND_MESSAGE.Get;
258:
259: -- Now append the date and the separator
260: IF (l_escalation_comment IS NULL) THEN
261: l_escalation_history := cs_separator ||'