1165: ------------------------------------------------*/
1166:
1167: IF C_sites%ROWCOUNT = 0 THEN
1168: FND_MESSAGE.SET_NAME( 'AR', 'AR_BFB_NO_RECORDS' );
1169: FND_MSG_PUB.ADD;
1170: FND_MSG_PUB.Reset;
1171:
1172: FOR i IN 1..FND_MSG_PUB.Count_Msg LOOP
1173: l_error_message := FND_MSG_PUB.Get(
1166:
1167: IF C_sites%ROWCOUNT = 0 THEN
1168: FND_MESSAGE.SET_NAME( 'AR', 'AR_BFB_NO_RECORDS' );
1169: FND_MSG_PUB.ADD;
1170: FND_MSG_PUB.Reset;
1171:
1172: FOR i IN 1..FND_MSG_PUB.Count_Msg LOOP
1173: l_error_message := FND_MSG_PUB.Get(
1174: p_msg_index => i,
1168: FND_MESSAGE.SET_NAME( 'AR', 'AR_BFB_NO_RECORDS' );
1169: FND_MSG_PUB.ADD;
1170: FND_MSG_PUB.Reset;
1171:
1172: FOR i IN 1..FND_MSG_PUB.Count_Msg LOOP
1173: l_error_message := FND_MSG_PUB.Get(
1174: p_msg_index => i,
1175: p_encoded => FND_API.G_FALSE);
1176: FND_FILE.PUT_LINE(FND_FILE.OUTPUT, l_error_message );
1169: FND_MSG_PUB.ADD;
1170: FND_MSG_PUB.Reset;
1171:
1172: FOR i IN 1..FND_MSG_PUB.Count_Msg LOOP
1173: l_error_message := FND_MSG_PUB.Get(
1174: p_msg_index => i,
1175: p_encoded => FND_API.G_FALSE);
1176: FND_FILE.PUT_LINE(FND_FILE.OUTPUT, l_error_message );
1177: FND_FILE.PUT_LINE(FND_FILE.log, l_error_message );