DBA Data[Home] [Help]

APPS.POS_BULKLOAD_ENTITIES dependencies on ERROR_HANDLER

Line 100: -- Opens Error_Handler debug session, only if Debug session is not already open.

96: ----------------------------------------------------------------
97: IF (G_DEBUG = 1) THEN
98:
99: ----------------------------------------------------------------------------------
100: -- Opens Error_Handler debug session, only if Debug session is not already open.
101: ----------------------------------------------------------------------------------
102: IF (Error_Handler.Get_Debug <> 'Y') THEN
103: Open_Debug_Session_Internal;
104: END IF;

Line 102: IF (Error_Handler.Get_Debug <> 'Y') THEN

98:
99: ----------------------------------------------------------------------------------
100: -- Opens Error_Handler debug session, only if Debug session is not already open.
101: ----------------------------------------------------------------------------------
102: IF (Error_Handler.Get_Debug <> 'Y') THEN
103: Open_Debug_Session_Internal;
104: END IF;
105: END IF;
106: END Open_Debug_Session;

Line 121: Error_Handler.initialize();

117: l_log_output_dir VARCHAR2(512);
118: l_log_return_status VARCHAR2(99);
119: l_errbuff VARCHAR2(999);
120: BEGIN
121: Error_Handler.initialize();
122: Error_Handler.set_bo_identifier(G_BO_IDENTIFIER);
123:
124: OPEN c_get_utl_file_dir;
125: FETCH c_get_utl_file_dir INTO l_log_output_dir;

Line 122: Error_Handler.set_bo_identifier(G_BO_IDENTIFIER);

118: l_log_return_status VARCHAR2(99);
119: l_errbuff VARCHAR2(999);
120: BEGIN
121: Error_Handler.initialize();
122: Error_Handler.set_bo_identifier(G_BO_IDENTIFIER);
123:
124: OPEN c_get_utl_file_dir;
125: FETCH c_get_utl_file_dir INTO l_log_output_dir;
126: IF c_get_utl_file_dir%FOUND THEN

Line 138: -- This sets Debug value so that Error_Handler.Get_Debug returns 'Y' --

134: G_ERROR_FILE_NAME := G_ERROR_TABLE_NAME||'_'||to_char(sysdate, 'DDMONYYYY_HH24MISS')||'.err';
135:
136: -----------------------------------------------------------------------
137: -- To open the Debug Session to write the Debug Log. --
138: -- This sets Debug value so that Error_Handler.Get_Debug returns 'Y' --
139: -----------------------------------------------------------------------
140: Error_Handler.Open_Debug_Session(
141: p_debug_filename => G_ERROR_FILE_NAME
142: ,p_output_dir => l_log_output_dir

Line 140: Error_Handler.Open_Debug_Session(

136: -----------------------------------------------------------------------
137: -- To open the Debug Session to write the Debug Log. --
138: -- This sets Debug value so that Error_Handler.Get_Debug returns 'Y' --
139: -----------------------------------------------------------------------
140: Error_Handler.Open_Debug_Session(
141: p_debug_filename => G_ERROR_FILE_NAME
142: ,p_output_dir => l_log_output_dir
143: ,x_return_status => l_log_return_status
144: ,x_error_mesg => l_errbuff

Line 165: Error_Handler.Write_debug(p_msg);

161:
162: PROCEDURE Developer_Debug(p_msg IN VARCHAR2) IS
163: l_err_msg VARCHAR2(240);
164: BEGIN
165: Error_Handler.Write_debug(p_msg);
166: EXCEPTION
167: WHEN OTHERS THEN
168: l_err_msg := SUBSTRB(SQLERRM, 1,240);
169: FND_FILE.put_line(FND_FILE.LOG, 'LOGGING SQL ERROR => '||l_err_msg);

Line 179: -- Close Error_Handler debug session, only if Debug session is already open.

175: PROCEDURE Close_Debug_Session IS
176:
177: BEGIN
178: -----------------------------------------------------------------------------
179: -- Close Error_Handler debug session, only if Debug session is already open.
180: -----------------------------------------------------------------------------
181: IF (Error_Handler.Get_Debug = 'Y') THEN
182: Error_Handler.Close_Debug_Session;
183: END IF;

Line 181: IF (Error_Handler.Get_Debug = 'Y') THEN

177: BEGIN
178: -----------------------------------------------------------------------------
179: -- Close Error_Handler debug session, only if Debug session is already open.
180: -----------------------------------------------------------------------------
181: IF (Error_Handler.Get_Debug = 'Y') THEN
182: Error_Handler.Close_Debug_Session;
183: END IF;
184:
185: END Close_Debug_Session;

Line 182: Error_Handler.Close_Debug_Session;

178: -----------------------------------------------------------------------------
179: -- Close Error_Handler debug session, only if Debug session is already open.
180: -----------------------------------------------------------------------------
181: IF (Error_Handler.Get_Debug = 'Y') THEN
182: Error_Handler.Close_Debug_Session;
183: END IF;
184:
185: END Close_Debug_Session;
186: -----------------------------------------------

Line 523: -- Token tables to log errors, through Error_Handler

519: -- To Number the Attribute Group Data Rows Uniquely.
520: ---------------------------------------------------------
521: L_ATTR_GRP_ROW_IDENT NUMBER(5) ;
522: ---------------------------------------------------------
523: -- Token tables to log errors, through Error_Handler
524: ---------------------------------------------------------
525: l_token_tbl_two Error_Handler.Token_Tbl_Type;
526: l_token_tbl_one Error_Handler.Token_Tbl_Type;
527: l_attr_group_type VARCHAR2(30);

Line 525: l_token_tbl_two Error_Handler.Token_Tbl_Type;

521: L_ATTR_GRP_ROW_IDENT NUMBER(5) ;
522: ---------------------------------------------------------
523: -- Token tables to log errors, through Error_Handler
524: ---------------------------------------------------------
525: l_token_tbl_two Error_Handler.Token_Tbl_Type;
526: l_token_tbl_one Error_Handler.Token_Tbl_Type;
527: l_attr_group_type VARCHAR2(30);
528:
529: l_userattr_indx_adj NUMBER(15); -- To adjust the index according to Data_levels

Line 526: l_token_tbl_one Error_Handler.Token_Tbl_Type;

522: ---------------------------------------------------------
523: -- Token tables to log errors, through Error_Handler
524: ---------------------------------------------------------
525: l_token_tbl_two Error_Handler.Token_Tbl_Type;
526: l_token_tbl_one Error_Handler.Token_Tbl_Type;
527: l_attr_group_type VARCHAR2(30);
528:
529: l_userattr_indx_adj NUMBER(15); -- To adjust the index according to Data_levels
530: BEGIN

Line 1043: IF (Error_Handler.Get_Debug = 'Y') THEN

1039: BEGIN
1040:
1041: Write_Conclog('Processing the User Defined Attributes ' );
1042:
1043: IF (Error_Handler.Get_Debug = 'Y') THEN
1044: l_debug_level := 3; --continue writing to the Debug Log opened.
1045: ELSE
1046: l_debug_level := 0; --Since Debug log is not opened, donot open Debug log for User-Attrs also.
1047: END IF;

Line 1098: ,p_init_error_handler => FND_API.G_FALSE --IN VARCHAR2

1094: ,p_entity_id => 0 --G_ENTITY_ID --IN NUMBER
1095: ,p_entity_index => 0 --l_entity_index_counter --IN NUMBER
1096: ,p_entity_code => 'HZ_PARTIES' --IN VARCHAR2
1097: ,p_debug_level => l_debug_level --IN NUMBER
1098: ,p_init_error_handler => FND_API.G_FALSE --IN VARCHAR2
1099: ,p_init_fnd_msg_list => FND_API.G_FALSE --IN VARCHAR2
1100: ,p_log_errors => FND_API.G_TRUE --IN VARCHAR2
1101: ,p_add_errors_to_fnd_stack => FND_API.G_TRUE --IN VARCHAR2
1102: ,p_commit => FND_API.G_FALSE --IN VARCHAR2

Line 1160: ERROR_HANDLER.Log_Error(

1156: -- within our Business Object's processing) --
1157: -------------------------------------------------------------------
1158: Write_Conclog('****Dumping the List of Error messages into the Concurrent Log***');
1159:
1160: ERROR_HANDLER.Log_Error(
1161: p_write_err_to_inttable => 'N'
1162: ,p_write_err_to_conclog => 'Y'
1163: ,p_write_err_to_debugfile => 'Y'
1164: );