10:
11:
12: /******************************************************************************
13: Name : msg
14: Purpose : Log a message, either using fnd_file, or hr_utility.trace
15: ******************************************************************************/
16:
17: PROCEDURE msg(p_text VARCHAR2)
18: IS
18: IS
19: --
20: BEGIN
21: -- Write to the concurrent request log
22: fnd_file.put_line(fnd_file.log, p_text);
23:
24: END msg;
25:
26: /******************************************************************************
24: END msg;
25:
26: /******************************************************************************
27: Name : dbg
28: Purpose : Log a message, either using fnd_file, or hr_utility.trace
29: if debuggging is enabled
30: ******************************************************************************/
31: PROCEDURE dbg(p_text VARCHAR2) IS
32:
34:
35: IF (g_debug_flag = 'Y') THEN
36: IF (g_concurrent_flag = 'Y') THEN
37: -- Write to the concurrent request log
38: fnd_file.put_line(fnd_file.log, p_text);
39: ELSE
40: -- Use HR trace
41: hr_utility.trace(p_text);
42: END IF;