DBA Data[Home] [Help]

APPS.OE_ATCHMT_UTIL dependencies on OE_MSG_PUB

Line 61: OE_MSG_PUB.initialize;

57: x_return_status := FND_API.G_RET_STS_SUCCESS;
58:
59: -- Initialize message list.
60: IF FND_API.to_Boolean(p_init_msg_list) THEN
61: OE_MSG_PUB.initialize;
62: END IF;
63:
64:
65: -- is_user_action is 'N' therefore check the profile option value

Line 106: OE_MSG_PUB.ADD;

102:
103: IF p_entity_code = OE_GLOBALS.G_ENTITY_HEADER THEN
104: FND_MESSAGE.SET_NAME('ONT','OE_ORDER_ATTACHMENTS_APPLIED');
105: FND_MESSAGE.SET_TOKEN('ORDER_COUNT',to_char(x_attachment_count));
106: OE_MSG_PUB.ADD;
107: ELSIF p_entity_code = OE_GLOBALS.G_ENTITY_LINE THEN
108: SELECT line_number
109: INTO l_line_number
110: FROM oe_order_lines

Line 115: OE_MSG_PUB.ADD;

111: WHERE line_id = p_entity_id;
112: FND_MESSAGE.SET_NAME('ONT','OE_LINE_ATTACHMENTS_APPLIED');
113: FND_MESSAGE.SET_TOKEN('LINE_COUNT',to_char(x_attachment_count));
114: FND_MESSAGE.SET_TOKEN('LINE_NUMBER',to_char(l_line_number));
115: OE_MSG_PUB.ADD;
116: END IF;
117:
118: ELSIF x_attachment_count = 0 THEN
119:

Line 122: OE_MSG_PUB.ADD;

118: ELSIF x_attachment_count = 0 THEN
119:
120: IF p_entity_code = OE_GLOBALS.G_ENTITY_HEADER THEN
121: FND_MESSAGE.SET_NAME('ONT','OE_NO_ORDER_ATCHMT_APPLIED');
122: OE_MSG_PUB.ADD;
123: ELSIF p_entity_code = OE_GLOBALS.G_ENTITY_LINE THEN
124: FND_MESSAGE.SET_NAME('ONT','OE_NO_LINE_ATCHMT_APPLIED');
125: OE_MSG_PUB.ADD;
126: END IF;

Line 125: OE_MSG_PUB.ADD;

121: FND_MESSAGE.SET_NAME('ONT','OE_NO_ORDER_ATCHMT_APPLIED');
122: OE_MSG_PUB.ADD;
123: ELSIF p_entity_code = OE_GLOBALS.G_ENTITY_LINE THEN
124: FND_MESSAGE.SET_NAME('ONT','OE_NO_LINE_ATCHMT_APPLIED');
125: OE_MSG_PUB.ADD;
126: END IF;
127:
128: END IF;
129:

Line 132: OE_MSG_PUB.Count_And_Get

128: END IF;
129:
130: END IF;
131:
132: OE_MSG_PUB.Count_And_Get
133: ( p_count => x_msg_count
134: , p_data => x_msg_data
135: );
136:

Line 140: OE_MSG_PUB.Count_And_Get

136:
137: EXCEPTION
138: WHEN FND_API.G_EXC_ERROR THEN
139: x_return_status := FND_API.G_RET_STS_ERROR;
140: OE_MSG_PUB.Count_And_Get
141: ( p_count => x_msg_count
142: , p_data => x_msg_data
143: );
144: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 146: OE_MSG_PUB.Count_And_Get

142: , p_data => x_msg_data
143: );
144: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
145: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
146: OE_MSG_PUB.Count_And_Get
147: ( p_count => x_msg_count
148: , p_data => x_msg_data
149: );
150: WHEN OTHERS THEN

Line 152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

148: , p_data => x_msg_data
149: );
150: WHEN OTHERS THEN
151: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
153: THEN
154: OE_MSG_PUB.Add_Exc_Msg
155: ( G_PKG_NAME
156: , 'Apply_Automatic_Attachments'

Line 154: OE_MSG_PUB.Add_Exc_Msg

150: WHEN OTHERS THEN
151: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
153: THEN
154: OE_MSG_PUB.Add_Exc_Msg
155: ( G_PKG_NAME
156: , 'Apply_Automatic_Attachments'
157: );
158: END IF;

Line 159: OE_MSG_PUB.Count_And_Get

155: ( G_PKG_NAME
156: , 'Apply_Automatic_Attachments'
157: );
158: END IF;
159: OE_MSG_PUB.Count_And_Get
160: ( p_count => x_msg_count
161: , p_data => x_msg_data
162: );
163: END Apply_Automatic_Attachments;

Line 207: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

203: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
204: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
205: WHEN OTHERS THEN
206: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
207: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
208: THEN
209: OE_MSG_PUB.Add_Exc_Msg
210: ( G_PKG_NAME
211: , 'Delete_Attachments'

Line 209: OE_MSG_PUB.Add_Exc_Msg

205: WHEN OTHERS THEN
206: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
207: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
208: THEN
209: OE_MSG_PUB.Add_Exc_Msg
210: ( G_PKG_NAME
211: , 'Delete_Attachments'
212: );
213: END IF;

Line 283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

279: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
280: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
281: WHEN OTHERS THEN
282: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
284: THEN
285: OE_MSG_PUB.Add_Exc_Msg
286: ( G_PKG_NAME
287: , 'Copy_Attachments'

Line 285: OE_MSG_PUB.Add_Exc_Msg

281: WHEN OTHERS THEN
282: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
284: THEN
285: OE_MSG_PUB.Add_Exc_Msg
286: ( G_PKG_NAME
287: , 'Copy_Attachments'
288: );
289: END IF;