255: --
256: FETCH C INTO Recinfo;
257: IF (C%NOTFOUND) then
258: CLOSE C;
259: FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_DELETED');
260: FND_MSG_PUB.Add;
261: RAISE FND_API.G_EXC_ERROR ;
262: END IF;
263: CLOSE C;
319: )
320: THEN
321: Null;
322: ELSE
323: FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_CHANGED');
324: FND_MSG_PUB.Add;
325: RAISE FND_API.G_EXC_ERROR ;
326: END IF;
327:
870: IF l_first_time_flag = 'Y' THEN
871: --
872: l_first_time_flag := 'N' ;
873: --
874: FND_MESSAGE.SET_NAME ('PSB', 'PSB_GL_BUDGET_NAME_FOR_OVERLAP');
875: FND_MESSAGE.SET_TOKEN('BUDGET_NAME' ,
876: l_gl_budget_rec.gl_budget_name);
877: FND_MSG_PUB.Add;
878: END IF;
871: --
872: l_first_time_flag := 'N' ;
873: --
874: FND_MESSAGE.SET_NAME ('PSB', 'PSB_GL_BUDGET_NAME_FOR_OVERLAP');
875: FND_MESSAGE.SET_TOKEN('BUDGET_NAME' ,
876: l_gl_budget_rec.gl_budget_name);
877: FND_MSG_PUB.Add;
878: END IF;
879:
877: FND_MSG_PUB.Add;
878: END IF;
879:
880: -- Setup the error message for the current code_combination_id.
881: FND_MESSAGE.SET_NAME ('PSB', 'PSB_GBS_OVERLAP_ACCOUNTS');
882: FND_MESSAGE.SET_TOKEN('CCID' ,
883: l_ccid_rec.code_combination_id);
884: FND_MESSAGE.SET_TOKEN('ACCOUNT_SET' ,
885: l_ccid_rec.account_position_set_id);
878: END IF;
879:
880: -- Setup the error message for the current code_combination_id.
881: FND_MESSAGE.SET_NAME ('PSB', 'PSB_GBS_OVERLAP_ACCOUNTS');
882: FND_MESSAGE.SET_TOKEN('CCID' ,
883: l_ccid_rec.code_combination_id);
884: FND_MESSAGE.SET_TOKEN('ACCOUNT_SET' ,
885: l_ccid_rec.account_position_set_id);
886: FND_MESSAGE.SET_TOKEN('BUDGET_NAME' ,
880: -- Setup the error message for the current code_combination_id.
881: FND_MESSAGE.SET_NAME ('PSB', 'PSB_GBS_OVERLAP_ACCOUNTS');
882: FND_MESSAGE.SET_TOKEN('CCID' ,
883: l_ccid_rec.code_combination_id);
884: FND_MESSAGE.SET_TOKEN('ACCOUNT_SET' ,
885: l_ccid_rec.account_position_set_id);
886: FND_MESSAGE.SET_TOKEN('BUDGET_NAME' ,
887: l_dup_gl_budget_id.gl_budget_name);
888: FND_MSG_PUB.Add;
882: FND_MESSAGE.SET_TOKEN('CCID' ,
883: l_ccid_rec.code_combination_id);
884: FND_MESSAGE.SET_TOKEN('ACCOUNT_SET' ,
885: l_ccid_rec.account_position_set_id);
886: FND_MESSAGE.SET_TOKEN('BUDGET_NAME' ,
887: l_dup_gl_budget_id.gl_budget_name);
888: FND_MSG_PUB.Add;
889:
890: pd('CCID ' || l_ccid_rec.code_combination_id || ' found ' ||