230: --SAVEPOINT get_workstation_enabled;
231:
232: IF p_init_msg_list IS NOT NULL AND FND_API.TO_BOOLEAN(p_init_msg_list)
233: THEN
234: FND_MSG_PUB.initialize;
235: END IF;
236:
237: x_return_status := FND_API.G_RET_STS_SUCCESS;
238: x_workstation_enabled := 'Y';
280: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
281: x_workstation_enabled := 'N';
282: ROLLBACK TO get_workstation_enabled;
283:
284: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
285: FND_MSG_PUB.Add_Exc_Msg ('flm_exe_pref' ,'get_workstation_enabled');
286: END IF;
287:
288: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count ,p_data => x_msg_data);
281: x_workstation_enabled := 'N';
282: ROLLBACK TO get_workstation_enabled;
283:
284: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
285: FND_MSG_PUB.Add_Exc_Msg ('flm_exe_pref' ,'get_workstation_enabled');
286: END IF;
287:
288: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count ,p_data => x_msg_data);
289:
284: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
285: FND_MSG_PUB.Add_Exc_Msg ('flm_exe_pref' ,'get_workstation_enabled');
286: END IF;
287:
288: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count ,p_data => x_msg_data);
289:
290: END get_workstation_enabled;
291:
292:
735:
736: x_return_status := FND_API.G_RET_STS_SUCCESS;
737:
738: -- Get message count and data
739: FND_MSG_PUB.Count_And_Get
740: ( p_count => x_msg_count,
741: p_data => x_msg_data
742: );
743:
745: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
746: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
747:
748: -- Get message count and data
749: FND_MSG_PUB.Count_And_Get
750: ( p_count => x_msg_count
751: , p_data => x_msg_data
752: );
753:
752: );
753:
754: WHEN OTHERS THEN
755: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
756: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
757: FND_MSG_PUB.Add_Exc_Msg
758: ( G_PKG_NAME
759: , 'Get_Attribute'
760: );
753:
754: WHEN OTHERS THEN
755: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
756: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
757: FND_MSG_PUB.Add_Exc_Msg
758: ( G_PKG_NAME
759: , 'Get_Attribute'
760: );
761: END IF;
760: );
761: END IF;
762:
763: -- Get message count and data
764: FND_MSG_PUB.Count_And_Get
765: ( p_count => x_msg_count
766: , p_data => x_msg_data
767: );
768: