DBA Data[Home] [Help]

APPS.OE_DEFAULT_LINE_SCREDIT dependencies on OE_DEBUG_PUB

Line 14: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;

10: RETURN NUMBER
11: IS
12: l_id number;
13: --
14: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
15: --
16: BEGIN
17: select OE_SALES_CREDITS_S.nextval
18: into l_id

Line 29: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;

25: RETURN NUMBER
26: IS
27: l_id number;
28: --
29: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
30: --
31: BEGIN
32: IF g_line_scredit_rec.header_id IS NULL OR
33: g_line_scredit_rec.header_id = FND_API.G_MISS_NUM THEN

Line 59: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;

55: IS
56: --l_old_line_scredit_rec OE_AK_LINE_SCREDITS_V%ROWTYPE;
57: l_operation VARCHAR2(30);
58: --
59: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
60: --
61: BEGIN
62: IF l_debug_level > 0 THEN
63: oe_debug_pub.add( 'ENTER OE_DEFAULT_LINE_SCREDIT.ATTRIBUTES' ) ;

Line 63: oe_debug_pub.add( 'ENTER OE_DEFAULT_LINE_SCREDIT.ATTRIBUTES' ) ;

59: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
60: --
61: BEGIN
62: IF l_debug_level > 0 THEN
63: oe_debug_pub.add( 'ENTER OE_DEFAULT_LINE_SCREDIT.ATTRIBUTES' ) ;
64: END IF;
65:
66: -- Due to incompatibilities in the record type structure
67: -- Copy the data to a rowtype record format

Line 69: oe_debug_pub.add( 'DEFAULT ATTRIBUTES 1' ) ;

65:
66: -- Due to incompatibilities in the record type structure
67: -- Copy the data to a rowtype record format
68: IF l_debug_level > 0 THEN
69: oe_debug_pub.add( 'DEFAULT ATTRIBUTES 1' ) ;
70: END IF;
71:
72: /* Commented the following code to fix the bug 2044438
73:

Line 78: oe_debug_pub.add('Default attributes 1.1');

74: OE_Line_Scredit_UTIL.API_Rec_To_Rowtype_Rec
75: (p_line_scredit_rec => p_x_line_scredit_rec
76: ,x_rowtype_rec => g_line_scredit_rec);
77:
78: oe_debug_pub.add('Default attributes 1.1');
79: OE_Line_Scredit_UTIL.API_Rec_To_Rowtype_Rec
80: (p_line_scredit_rec => p_old_line_scredit_rec
81: ,x_rowtype_rec => l_old_line_scredit_rec);
82:

Line 83: oe_debug_pub.add('Default attributes 2');

79: OE_Line_Scredit_UTIL.API_Rec_To_Rowtype_Rec
80: (p_line_scredit_rec => p_old_line_scredit_rec
81: ,x_rowtype_rec => l_old_line_scredit_rec);
82:
83: oe_debug_pub.add('Default attributes 2');
84:
85: End Comment for bug 2044438 */
86:
87: g_line_scredit_rec := p_x_line_scredit_rec;

Line 92: oe_debug_pub.add( 'SALES_CREDIT_ID = '||G_LINE_SCREDIT_REC.SALES_CREDIT_ID ) ;

88:
89: IF g_line_scredit_rec.sales_credit_id = FND_API.G_MISS_NUM THEN
90: g_line_scredit_rec.sales_credit_id := Get_Sales_Credit;
91: IF l_debug_level > 0 THEN
92: oe_debug_pub.add( 'SALES_CREDIT_ID = '||G_LINE_SCREDIT_REC.SALES_CREDIT_ID ) ;
93: END IF;
94: END IF;
95:
96: IF g_line_scredit_rec.line_id IS NOT NULL AND

Line 102: oe_debug_pub.add( 'DEFAULT ATTRIBUTES 3' ) ;

98: g_line_scredit_rec.header_id := Get_Header;
99: END IF;
100:
101: IF l_debug_level > 0 THEN
102: oe_debug_pub.add( 'DEFAULT ATTRIBUTES 3' ) ;
103: END IF;
104:
105:
106: /* Commented the following code to fix the bug 2044438

Line 109: oe_debug_pub.add('Default attributes 4');

105:
106: /* Commented the following code to fix the bug 2044438
107:
108: -- Call the default handler framework to default the missing attributes
109: oe_debug_pub.add('Default attributes 4');
110: ONT_LINE_SCREDIT_Def_Hdlr.Default_Record
111: (p_x_rec => g_line_scredit_rec
112: ,p_in_old_rec => l_old_line_scredit_rec);
113:

Line 115: oe_debug_pub.add('Default attributes 5');

111: (p_x_rec => g_line_scredit_rec
112: ,p_in_old_rec => l_old_line_scredit_rec);
113:
114: -- copy the data back to a format that is compatible with the API architecture
115: oe_debug_pub.add('Default attributes 5');
116: OE_Line_Scredit_UTIL.RowType_Rec_to_API_Rec
117: (p_record => g_line_scredit_rec
118: ,x_api_rec => p_x_line_scredit_rec);
119:

Line 127: oe_debug_pub.add( 'CALL CONVERT_MISS_TO_NULL' ) ;

123:
124: p_x_line_scredit_rec := g_line_scredit_rec;
125:
126: IF l_debug_level > 0 THEN
127: oe_debug_pub.add( 'CALL CONVERT_MISS_TO_NULL' ) ;
128: END IF;
129: OE_LINE_SCREDIT_UTIL.Convert_Miss_To_Null
130: (p_x_line_scredit_rec);
131:

Line 142: oe_debug_pub.add( 'ORIG_SYS_CREDIT_REF = '||NVL ( P_X_LINE_SCREDIT_REC.ORIG_SYS_CREDIT_REF , 'G_MISS_CHAR' ) ) ;

138: p_x_Line_Scredit_rec.lock_control := NULL;
139: END IF;
140:
141: IF l_debug_level > 0 THEN
142: oe_debug_pub.add( 'ORIG_SYS_CREDIT_REF = '||NVL ( P_X_LINE_SCREDIT_REC.ORIG_SYS_CREDIT_REF , 'G_MISS_CHAR' ) ) ;
143: END IF;
144: IF (p_x_Line_Scredit_rec.orig_sys_credit_ref = FND_API.G_MISS_CHAR) THEN
145: p_x_Line_Scredit_rec.orig_sys_credit_ref := 'OE_SALES_CREDITS'||p_x_Line_Scredit_rec.sales_credit_id;
146: END IF;

Line 151: oe_debug_pub.add( 'DEFAULT ATTRIBUTES 6' ) ;

147:
148: /* 1581620 end */
149:
150: IF l_debug_level > 0 THEN
151: oe_debug_pub.add( 'DEFAULT ATTRIBUTES 6' ) ;
152: END IF;
153: IF l_debug_level > 0 THEN
154: oe_debug_pub.add( 'EXIT OE_DEFAULT_LINE_SCREDIT.ATTRIBUTES' ) ;
155: END IF;

Line 154: oe_debug_pub.add( 'EXIT OE_DEFAULT_LINE_SCREDIT.ATTRIBUTES' ) ;

150: IF l_debug_level > 0 THEN
151: oe_debug_pub.add( 'DEFAULT ATTRIBUTES 6' ) ;
152: END IF;
153: IF l_debug_level > 0 THEN
154: oe_debug_pub.add( 'EXIT OE_DEFAULT_LINE_SCREDIT.ATTRIBUTES' ) ;
155: END IF;
156:
157: EXCEPTION
158: