41: x_return_status := FND_API.G_RET_STS_SUCCESS;
42:
43: -- Get message count and data
44:
45: FND_MSG_PUB.Count_And_Get
46: ( p_count => x_msg_count
47: , p_data => x_msg_data
48: );
49:
54: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
55:
56: -- Get message count and data
57:
58: FND_MSG_PUB.Count_And_Get
59: ( p_count => x_msg_count
60: , p_data => x_msg_data
61: );
62:
63: WHEN OTHERS THEN
64:
65: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
66:
67: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
68: THEN
69: FND_MSG_PUB.Add_Exc_Msg
70: ( G_PKG_NAME
71: , 'Custom_Schedule'
65: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
66:
67: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
68: THEN
69: FND_MSG_PUB.Add_Exc_Msg
70: ( G_PKG_NAME
71: , 'Custom_Schedule'
72: );
73: END IF;
73: END IF;
74:
75: -- Get message count and data
76:
77: FND_MSG_PUB.Count_And_Get
78: ( p_count => x_msg_count
79: , p_data => x_msg_data
80: );
81:
131: x_return_status := FND_API.G_RET_STS_SUCCESS;
132:
133: -- Get message count and data
134:
135: FND_MSG_PUB.Count_And_Get
136: ( p_count => x_msg_count
137: , p_data => x_msg_data
138: );
139:
144: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
145:
146: -- Get message count and data
147:
148: FND_MSG_PUB.Count_And_Get
149: ( p_count => x_msg_count
150: , p_data => x_msg_data
151: );
152:
153: WHEN OTHERS THEN
154:
155: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
156:
157: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
158: THEN
159: FND_MSG_PUB.Add_Exc_Msg
160: ( G_PKG_NAME
161: , 'Is_Valid_Demand'
155: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
156:
157: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
158: THEN
159: FND_MSG_PUB.Add_Exc_Msg
160: ( G_PKG_NAME
161: , 'Is_Valid_Demand'
162: );
163: END IF;
163: END IF;
164:
165: -- Get message count and data
166:
167: FND_MSG_PUB.Count_And_Get
168: ( p_count => x_msg_count
169: , p_data => x_msg_data
170: );
171: