DBA Data[Home] [Help]

APPS.EGO_CHANGE_USER_ATTRS_PUB dependencies on ERROR_HANDLER

Line 16: /*** The following two variables are for Error_Handler ***/

12: G_API_VERSION NUMBER := 1.0;
13: G_ITEM_NAME VARCHAR2(20);
14: G_FUNCTION_NAME FND_FORM_FUNCTIONS.FUNCTION_NAME%TYPE := 'ENG_EDIT_CHANGE';
15:
16: /*** The following two variables are for Error_Handler ***/
17: G_ENTITY_ID NUMBER;
18: G_ENTITY_CODE CONSTANT VARCHAR2(30) := 'CHANGE_USER_ATTRS_ENTITY_CODE';
19: G_REQUEST_ID NUMBER := FND_GLOBAL.CONC_REQUEST_ID;
20: G_PROGAM_APPLICATION_ID NUMBER := FND_GLOBAL.PROG_APPL_ID;

Line 67: l_token_table ERROR_HANDLER.Token_Tbl_Type;

63: l_prev_loop_change_line_id NUMBER;
64: l_prev_loop_row_identifier NUMBER;
65: l_at_start_of_instance BOOLEAN;
66: l_can_edit_this_instance VARCHAR2(1);
67: l_token_table ERROR_HANDLER.Token_Tbl_Type;
68: l_could_edit_prev_instance VARCHAR2(1);
69: l_at_start_of_row BOOLEAN;
70: p_pk_column_name_value_pairs EGO_COL_NAME_VALUE_PAIR_ARRAY;
71: p_line_pk_col_name_value_pairs EGO_COL_NAME_VALUE_PAIR_ARRAY;

Line 215: -- ERROR_HANDLER SET-UP --

211:
212:
213:
214: --======================--
215: -- ERROR_HANDLER SET-UP --
216: --======================--
217:
218: ERROR_HANDLER.Initialize();
219: ERROR_HANDLER.Set_Bo_Identifier(EGO_USER_ATTRS_DATA_PVT.G_BO_IDENTIFIER);

Line 218: ERROR_HANDLER.Initialize();

214: --======================--
215: -- ERROR_HANDLER SET-UP --
216: --======================--
217:
218: ERROR_HANDLER.Initialize();
219: ERROR_HANDLER.Set_Bo_Identifier(EGO_USER_ATTRS_DATA_PVT.G_BO_IDENTIFIER);
220:
221: -----------------------------------------------------------
222: -- If we're debugging, we have to set up a Debug session --

Line 219: ERROR_HANDLER.Set_Bo_Identifier(EGO_USER_ATTRS_DATA_PVT.G_BO_IDENTIFIER);

215: -- ERROR_HANDLER SET-UP --
216: --======================--
217:
218: ERROR_HANDLER.Initialize();
219: ERROR_HANDLER.Set_Bo_Identifier(EGO_USER_ATTRS_DATA_PVT.G_BO_IDENTIFIER);
220:
221: -----------------------------------------------------------
222: -- If we're debugging, we have to set up a Debug session --
223: -----------------------------------------------------------

Line 515: ERROR_HANDLER.Add_Error_Message(

511: END IF;
512:
513: -- Bug 2779881 Changed Application EGO to ENG
514:
515: ERROR_HANDLER.Add_Error_Message(
516: p_message_name => l_error_message_name
517: ,p_application_id => 'ENG'
518: ,p_token_tbl => l_token_table
519: ,p_message_type => FND_API.G_RET_STS_ERROR

Line 639: ERROR_HANDLER.Add_Error_Message(

635: l_token_table(2).TOKEN_VALUE := attr_rec.CHANGE_NUMBER;
636: l_token_table(3).TOKEN_NAME := 'ORG_CODE';
637: l_token_table(3).TOKEN_VALUE := attr_rec.ORGANIZATION_CODE;
638:
639: ERROR_HANDLER.Add_Error_Message(
640: p_message_name => l_error_message_name
641: ,p_application_id => 'ENG'
642: ,p_token_tbl => l_token_table
643: ,p_message_type => FND_API.G_RET_STS_ERROR

Line 936: ERROR_HANDLER.Add_Error_Message(

932: l_token_table(2).TOKEN_VALUE := attr_rec.CHANGE_NUMBER;
933: l_token_table(3).TOKEN_NAME := 'ORG_CODE';
934: l_token_table(3).TOKEN_VALUE := attr_rec.ORGANIZATION_CODE;
935:
936: ERROR_HANDLER.Add_Error_Message(
937: p_message_name => l_error_message_name
938: ,p_application_id => 'ENG'
939: ,p_token_tbl => l_token_table
940: ,p_message_type => FND_API.G_RET_STS_ERROR

Line 1207: ERROR_HANDLER.Log_Error(

1203: -- Finally, we log any errors that we've accumulated throughout --
1204: -- our conversions and looping (including all errors encountered --
1205: -- within our Business Object's processing) --
1206: -------------------------------------------------------------------
1207: ERROR_HANDLER.Log_Error(
1208: p_write_err_to_inttable => 'Y'
1209: ,p_write_err_to_conclog => 'Y'
1210: ,p_write_err_to_debugfile => ERROR_HANDLER.Get_Debug()
1211: );

Line 1210: ,p_write_err_to_debugfile => ERROR_HANDLER.Get_Debug()

1206: -------------------------------------------------------------------
1207: ERROR_HANDLER.Log_Error(
1208: p_write_err_to_inttable => 'Y'
1209: ,p_write_err_to_conclog => 'Y'
1210: ,p_write_err_to_debugfile => ERROR_HANDLER.Get_Debug()
1211: );
1212:
1213: COMMIT WORK;
1214:

Line 1218: ERROR_HANDLER.Add_Error_Message(

1214:
1215: EXCEPTION
1216: WHEN G_NO_USER_NAME_TO_VALIDATE THEN
1217:
1218: ERROR_HANDLER.Add_Error_Message(
1219: p_message_name => 'EGO_EF_NO_NAME_TO_VALIDATE'
1220: ,p_application_id => 'EGO'
1221: ,p_message_type => FND_API.G_RET_STS_ERROR
1222: ,p_entity_id => G_ENTITY_ID

Line 1230: ERROR_HANDLER.Log_Error(

1226: ---------------------------------------------------------------
1227: -- No matter what the error, we want to make sure everything --
1228: -- we've logged gets to the appropriate error locations --
1229: ---------------------------------------------------------------
1230: ERROR_HANDLER.Log_Error(
1231: p_write_err_to_inttable => 'Y'
1232: ,p_write_err_to_conclog => 'Y'
1233: ,p_write_err_to_debugfile => ERROR_HANDLER.Get_Debug()
1234: );

Line 1233: ,p_write_err_to_debugfile => ERROR_HANDLER.Get_Debug()

1229: ---------------------------------------------------------------
1230: ERROR_HANDLER.Log_Error(
1231: p_write_err_to_inttable => 'Y'
1232: ,p_write_err_to_conclog => 'Y'
1233: ,p_write_err_to_debugfile => ERROR_HANDLER.Get_Debug()
1234: );
1235:
1236: WHEN OTHERS THEN
1237:

Line 1238: ERROR_HANDLER.Add_Error_Message(

1234: );
1235:
1236: WHEN OTHERS THEN
1237:
1238: ERROR_HANDLER.Add_Error_Message(
1239: p_message_text => 'Unexpected error in '||G_PKG_NAME||'.Process_Change_User_Attrs_Data: '||SQLERRM
1240: ,p_application_id => 'EGO'
1241: ,p_message_type => FND_API.G_RET_STS_ERROR
1242: ,p_entity_id => G_ENTITY_ID

Line 1249: ERROR_HANDLER.Log_Error(

1245: ---------------------------------------------------------------
1246: -- No matter what the error, we want to make sure everything --
1247: -- we've logged gets to the appropriate error locations --
1248: ---------------------------------------------------------------
1249: ERROR_HANDLER.Log_Error(
1250: p_write_err_to_inttable => 'Y'
1251: ,p_write_err_to_conclog => 'Y'
1252: ,p_write_err_to_debugfile => ERROR_HANDLER.Get_Debug());
1253:

Line 1252: ,p_write_err_to_debugfile => ERROR_HANDLER.Get_Debug());

1248: ---------------------------------------------------------------
1249: ERROR_HANDLER.Log_Error(
1250: p_write_err_to_inttable => 'Y'
1251: ,p_write_err_to_conclog => 'Y'
1252: ,p_write_err_to_debugfile => ERROR_HANDLER.Get_Debug());
1253:
1254: END Process_Change_User_Attrs_Data;
1255:
1256: ----------------------------------------------------------------------

Line 1301: l_token_table ERROR_HANDLER.Token_Tbl_Type;

1297: l_entity_index_counter NUMBER := 1;
1298: l_change_id NUMBER;
1299: l_change_type_id NUMBER;
1300: l_can_edit_this_instance VARCHAR2(1);
1301: l_token_table ERROR_HANDLER.Token_Tbl_Type;
1302: p_pk_column_name_value_pairs EGO_COL_NAME_VALUE_PAIR_ARRAY;
1303: p_class_code_name_value_pairs EGO_COL_NAME_VALUE_PAIR_ARRAY;
1304: l_failed_row_id_buffer VARCHAR2(32767);
1305: l_failed_row_id_list VARCHAR2(32767);

Line 1341: -- ERROR_HANDLER SET-UP --

1337:
1338: END IF;
1339: END IF;
1340: --======================--
1341: -- ERROR_HANDLER SET-UP --
1342: --======================--
1343:
1344: ERROR_HANDLER.Initialize();
1345: ERROR_HANDLER.Set_Bo_Identifier(p_bo_identifier);

Line 1344: ERROR_HANDLER.Initialize();

1340: --======================--
1341: -- ERROR_HANDLER SET-UP --
1342: --======================--
1343:
1344: ERROR_HANDLER.Initialize();
1345: ERROR_HANDLER.Set_Bo_Identifier(p_bo_identifier);
1346:
1347:
1348: -----------------------------------------------------------

Line 1345: ERROR_HANDLER.Set_Bo_Identifier(p_bo_identifier);

1341: -- ERROR_HANDLER SET-UP --
1342: --======================--
1343:
1344: ERROR_HANDLER.Initialize();
1345: ERROR_HANDLER.Set_Bo_Identifier(p_bo_identifier);
1346:
1347:
1348: -----------------------------------------------------------
1349: -- If we're debugging, we have to set up a Debug session --

Line 1441: l_token_table ERROR_HANDLER.Token_Tbl_Type;

1437:
1438: l_entity_index_counter NUMBER := 1;
1439: l_change_line_id NUMBER;
1440: l_change_type_id NUMBER;
1441: l_token_table ERROR_HANDLER.Token_Tbl_Type;
1442: l_can_edit_this_instance VARCHAR2(1);
1443: p_pk_column_name_value_pairs EGO_COL_NAME_VALUE_PAIR_ARRAY;
1444: p_class_code_name_value_pairs EGO_COL_NAME_VALUE_PAIR_ARRAY;
1445: l_failed_row_id_buffer VARCHAR2(32767);

Line 1482: -- ERROR_HANDLER SET-UP --

1478:
1479: END IF;
1480: END IF;
1481: --======================--
1482: -- ERROR_HANDLER SET-UP --
1483: --======================--
1484:
1485: ERROR_HANDLER.Initialize();
1486: ERROR_HANDLER.Set_Bo_Identifier(p_bo_identifier);

Line 1485: ERROR_HANDLER.Initialize();

1481: --======================--
1482: -- ERROR_HANDLER SET-UP --
1483: --======================--
1484:
1485: ERROR_HANDLER.Initialize();
1486: ERROR_HANDLER.Set_Bo_Identifier(p_bo_identifier);
1487:
1488:
1489: -----------------------------------------------------------

Line 1486: ERROR_HANDLER.Set_Bo_Identifier(p_bo_identifier);

1482: -- ERROR_HANDLER SET-UP --
1483: --======================--
1484:
1485: ERROR_HANDLER.Initialize();
1486: ERROR_HANDLER.Set_Bo_Identifier(p_bo_identifier);
1487:
1488:
1489: -----------------------------------------------------------
1490: -- If we're debugging, we have to set up a Debug session --