DBA Data[Home] [Help]

APPS.OE_NEGOTIATE_WF dependencies on OE_MSG_PUB

Line 24: OE_MSG_PUB.set_msg_context(

20: END IF;
21: OE_STANDARD_WF.Set_Msg_Context(actid);
22: IF (funcmode = 'RUN') then
23:
24: OE_MSG_PUB.set_msg_context(
25: p_entity_code => 'HEADER'
26: ,p_entity_id => to_number(itemkey)
27: ,p_header_id => to_number(itemkey));
28:

Line 81: OE_MSG_PUB.set_msg_context(

77: END IF;
78: OE_STANDARD_WF.Set_Msg_Context(actid);
79: IF (funcmode = 'RUN') then
80:
81: OE_MSG_PUB.set_msg_context(
82: p_entity_code => 'HEADER'
83: ,p_entity_id => to_number(itemkey)
84: ,p_header_id => to_number(itemkey));
85:

Line 155: OE_MSG_PUB.set_msg_context(

151: OE_STANDARD_WF.Set_Msg_Context(actid);
152:
153: IF (funcmode = 'RUN') then
154:
155: OE_MSG_PUB.set_msg_context(
156: p_entity_code => 'HEADER'
157: ,p_entity_id => to_number(itemkey)
158: ,p_header_id => to_number(itemkey));
159:

Line 211: oe_msg_pub.add;

207: l_sales_document_type := fnd_message.get;
208:
209: FND_MESSAGE.SET_NAME('ONT', 'OE_ZERO_QUANTITY');
210: FND_MESSAGE.SET_TOKEN('SALES_DOCUMENT_TYPE', l_sales_document_type);
211: oe_msg_pub.add;
212: resultout := 'COMPLETE:INCOMPLETE';
213: OE_STANDARD_WF.Save_Messages;
214: OE_STANDARD_WF.Clear_Msg_Context;
215: return;

Line 302: OE_MSG_PUB.set_msg_context(

298: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Customer_Acceptance:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
299: END IF;
300: OE_STANDARD_WF.Set_Msg_Context(actid);
301: IF (funcmode = 'RUN') then
302: OE_MSG_PUB.set_msg_context(
303: p_entity_code => 'HEADER'
304: ,p_entity_id => to_number(itemkey)
305: ,p_header_id => to_number(itemkey));
306:

Line 354: OE_MSG_PUB.set_msg_context(

350: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Update_Customer_Accepted:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
351: END IF;
352: OE_STANDARD_WF.Set_Msg_Context(actid);
353: IF (funcmode = 'RUN') then
354: OE_MSG_PUB.set_msg_context(
355: p_entity_code => 'HEADER'
356: ,p_entity_id => to_number(itemkey)
357: ,p_header_id => to_number(itemkey));
358:

Line 408: OE_MSG_PUB.set_msg_context(

404: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Update_Customer_Rejected:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
405: END IF;
406: OE_STANDARD_WF.Set_Msg_Context(actid);
407: IF (funcmode = 'RUN') then
408: OE_MSG_PUB.set_msg_context(
409: p_entity_code => 'HEADER'
410: ,p_entity_id => to_number(itemkey)
411: ,p_header_id => to_number(itemkey));
412:

Line 466: OE_MSG_PUB.set_msg_context(

462: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Check_Expiration_Date:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
463: END IF;
464: OE_STANDARD_WF.Set_Msg_Context(actid);
465: IF (funcmode = 'RUN') then
466: OE_MSG_PUB.set_msg_context(
467: p_entity_code => 'HEADER'
468: ,p_entity_id => to_number(itemkey)
469: ,p_header_id => to_number(itemkey));
470:

Line 606: OE_MSG_PUB.set_msg_context(

602: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Offer_Expired:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
603: END IF;
604: OE_STANDARD_WF.Set_Msg_Context(actid);
605: IF (funcmode = 'RUN') then
606: OE_MSG_PUB.set_msg_context(
607: p_entity_code => 'HEADER'
608: ,p_entity_id => to_number(itemkey)
609: ,p_header_id => to_number(itemkey));
610:

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

737: END IF;
738:
739: EXCEPTION
740: WHEN OTHERS THEN
741: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
742: THEN
743: OE_MSG_PUB.Add_Exc_Msg
744: (G_PKG_NAME
745: , 'Set_Negotiate_Hdr_Descriptor'

Line 743: OE_MSG_PUB.Add_Exc_Msg

739: EXCEPTION
740: WHEN OTHERS THEN
741: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
742: THEN
743: OE_MSG_PUB.Add_Exc_Msg
744: (G_PKG_NAME
745: , 'Set_Negotiate_Hdr_Descriptor'
746: );
747: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 771: OE_MSG_PUB.initialize;

767: l_return_status VARCHAR2(240);
768:
769: --
770: BEGIN
771: OE_MSG_PUB.initialize;
772: x_return_status := FND_API.G_RET_STS_SUCCESS;
773: IF l_debug_level > 0 THEN
774: oe_debug_pub.add('ENTERING OE_Negotiate_WF.Lost: '|| TO_CHAR (p_header_id) ,1) ;
775: END IF;

Line 776: OE_MSG_PUB.set_msg_context(

772: x_return_status := FND_API.G_RET_STS_SUCCESS;
773: IF l_debug_level > 0 THEN
774: oe_debug_pub.add('ENTERING OE_Negotiate_WF.Lost: '|| TO_CHAR (p_header_id) ,1) ;
775: END IF;
776: OE_MSG_PUB.set_msg_context(
777: p_entity_code => 'HEADER'
778: ,p_entity_id => p_header_id
779: ,p_header_id => p_header_id);
780:

Line 803: oe_msg_pub.add;

799: l_sales_document_type := fnd_message.get;
800:
801: fnd_message.set_name('ONT', 'OE_WF_NO_LOST'); --flow not at notified state
802: fnd_message.set_token('SALES_DOCUMENT_TYPE', l_sales_document_type);
803: oe_msg_pub.add;
804: x_return_status := FND_API.G_RET_STS_ERROR;
805: IF l_debug_level > 0 THEN
806: oe_debug_pub.add('EXITING OE_Negotiate_WF.Lost WITH STATUS: '||X_RETURN_STATUS ,1);
807: END IF;

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

829: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
830: IF l_debug_level > 0 THEN
831: oe_debug_pub.add('EXITING OE_Negotiate_WF.Lost WITH STATUS: '||X_RETURN_STATUS ,1);
832: END IF;
833: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
834: THEN
835: OE_MSG_PUB.Add_Exc_Msg
836: ( G_PKG_NAME,
837: 'Lost'

Line 835: OE_MSG_PUB.Add_Exc_Msg

831: oe_debug_pub.add('EXITING OE_Negotiate_WF.Lost WITH STATUS: '||X_RETURN_STATUS ,1);
832: END IF;
833: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
834: THEN
835: OE_MSG_PUB.Add_Exc_Msg
836: ( G_PKG_NAME,
837: 'Lost'
838: );
839: END IF;

Line 861: OE_MSG_PUB.initialize;

857: l_bsa_count NUMBER;
858: --
859: l_customer_acceptance VARCHAR2(30) := 'CUSTOMER_ACCEPTANCE';
860: BEGIN
861: OE_MSG_PUB.initialize;
862: x_return_status := FND_API.G_RET_STS_SUCCESS;
863: IF l_debug_level > 0 THEN
864: oe_debug_pub.add('ENTERING OE_Negotiate_WF.Customer_Accepted: '|| TO_CHAR (p_header_id) ,1) ;
865: END IF;

Line 867: OE_MSG_PUB.set_msg_context(

863: IF l_debug_level > 0 THEN
864: oe_debug_pub.add('ENTERING OE_Negotiate_WF.Customer_Accepted: '|| TO_CHAR (p_header_id) ,1) ;
865: END IF;
866:
867: OE_MSG_PUB.set_msg_context(
868: p_entity_code => 'HEADER'
869: ,p_entity_id => p_header_id
870: ,p_header_id => p_header_id);
871:

Line 925: oe_msg_pub.add;

921: l_sales_document_type := fnd_message.get;
922:
923: fnd_message.set_name('ONT', 'OE_WF_NO_CUST_ACCEPTED'); --flow not at right state
924: fnd_message.set_token('SALES_DOCUMENT_TYPE', l_sales_document_type);
925: oe_msg_pub.add;
926: x_return_status := FND_API.G_RET_STS_ERROR;
927: IF l_debug_level > 0 THEN
928: oe_debug_pub.add('EXITING OE_Negotiate_WF.Customer_Accepted WITH STATUS: '||X_RETURN_STATUS ,1);
929: END IF;

Line 939: OE_MSG_PUB.set_msg_context(

935: ELSE
936: l_entity_code := 'BLANKET_HEADER';
937: END IF;
938:
939: OE_MSG_PUB.set_msg_context(
940: p_entity_code => l_entity_code
941: ,p_entity_id => p_header_id
942: ,p_header_id => p_header_id
943: ,p_line_id => null

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

963: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
964: IF l_debug_level > 0 THEN
965: oe_debug_pub.add('EXITING OE_Negotiate_WF.Customer_Accepted WITH STATUS: '||X_RETURN_STATUS ,1);
966: END IF;
967: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
968: THEN
969: OE_MSG_PUB.Add_Exc_Msg
970: ( G_PKG_NAME,
971: 'Customer_Accepted'

Line 969: OE_MSG_PUB.Add_Exc_Msg

965: oe_debug_pub.add('EXITING OE_Negotiate_WF.Customer_Accepted WITH STATUS: '||X_RETURN_STATUS ,1);
966: END IF;
967: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
968: THEN
969: OE_MSG_PUB.Add_Exc_Msg
970: ( G_PKG_NAME,
971: 'Customer_Accepted'
972: );
973: END IF;

Line 999: OE_MSG_PUB.initialize;

995: --
996: l_customer_acceptance VARCHAR2(30) := 'CUSTOMER_ACCEPTANCE';
997: --
998: BEGIN
999: OE_MSG_PUB.initialize;
1000: x_return_status := FND_API.G_RET_STS_SUCCESS;
1001: IF l_debug_level > 0 THEN
1002: oe_debug_pub.add('ENTERING OE_Negotiate_WF.Customer_Rejected: '|| TO_CHAR (p_header_id) ,1) ;
1003: END IF;

Line 1004: OE_MSG_PUB.set_msg_context(

1000: x_return_status := FND_API.G_RET_STS_SUCCESS;
1001: IF l_debug_level > 0 THEN
1002: oe_debug_pub.add('ENTERING OE_Negotiate_WF.Customer_Rejected: '|| TO_CHAR (p_header_id) ,1) ;
1003: END IF;
1004: OE_MSG_PUB.set_msg_context(
1005: p_entity_code => 'HEADER'
1006: ,p_entity_id => p_header_id
1007: ,p_header_id => p_header_id);
1008:

Line 1031: oe_msg_pub.add;

1027: l_sales_document_type := fnd_message.get;
1028:
1029: fnd_message.set_name('ONT', 'OE_WF_NO_CUST_REJECTED'); --flow not at right state
1030: fnd_message.set_token('SALES_DOCUMENT_TYPE', l_sales_document_type);
1031: oe_msg_pub.add;
1032: x_return_status := FND_API.G_RET_STS_ERROR;
1033: IF l_debug_level > 0 THEN
1034: oe_debug_pub.add('EXITING OE_Negotiate_WF.Customer_Rejected WITH STATUS: '||X_RETURN_STATUS ,1);
1035: END IF;

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

1056: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1057: IF l_debug_level > 0 THEN
1058: oe_debug_pub.add('EXITING OE_Negotiate_WF.Customer_Rejected WITH STATUS: '||X_RETURN_STATUS ,1);
1059: END IF;
1060: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1061: THEN
1062: OE_MSG_PUB.Add_Exc_Msg
1063: ( G_PKG_NAME,
1064: 'Customer_Rejected'

Line 1062: OE_MSG_PUB.Add_Exc_Msg

1058: oe_debug_pub.add('EXITING OE_Negotiate_WF.Customer_Rejected WITH STATUS: '||X_RETURN_STATUS ,1);
1059: END IF;
1060: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1061: THEN
1062: OE_MSG_PUB.Add_Exc_Msg
1063: ( G_PKG_NAME,
1064: 'Customer_Rejected'
1065: );
1066: END IF;

Line 1082: OE_MSG_PUB.initialize;

1078: l_sales_document_type_code VARCHAR2(1);
1079: l_sales_document_type VARCHAR2(30);
1080: --
1081: BEGIN
1082: OE_MSG_PUB.initialize;
1083: x_return_status := FND_API.G_RET_STS_SUCCESS;
1084: IF l_debug_level > 0 THEN
1085: oe_debug_pub.add('ENTERING OE_Negotiate_WF.Offer_Date_Changed: '|| TO_CHAR (p_header_id) ,1) ;
1086: END IF;

Line 1087: OE_MSG_PUB.set_msg_context(

1083: x_return_status := FND_API.G_RET_STS_SUCCESS;
1084: IF l_debug_level > 0 THEN
1085: oe_debug_pub.add('ENTERING OE_Negotiate_WF.Offer_Date_Changed: '|| TO_CHAR (p_header_id) ,1) ;
1086: END IF;
1087: OE_MSG_PUB.set_msg_context(
1088: p_entity_code => 'HEADER'
1089: ,p_entity_id => p_header_id
1090: ,p_header_id => p_header_id);
1091:

Line 1113: oe_msg_pub.add;

1109: END IF;
1110: l_sales_document_type := fnd_message.get;
1111: fnd_message.set_name('ONT', 'OE_WF_NO_OFFER_DATE_CHANGE'); --flow not at right state
1112: fnd_message.set_token('SALES_DOCUMENT_TYPE', l_sales_document_type);
1113: oe_msg_pub.add;
1114: x_return_status := FND_API.G_RET_STS_ERROR;
1115: IF l_debug_level > 0 THEN
1116: oe_debug_pub.add('EXITING OE_Negotiate_WF.Offer_Date_Changed WITH STATUS: '||X_RETURN_STATUS ,1);
1117: END IF;

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

1130: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1131: IF l_debug_level > 0 THEN
1132: oe_debug_pub.add('EXITING OE_Negotiate_WF.Offer_Date_Changed WITH STATUS: '||X_RETURN_STATUS ,1);
1133: END IF;
1134: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1135: THEN
1136: OE_MSG_PUB.Add_Exc_Msg
1137: ( G_PKG_NAME,
1138: 'Offer_Date_Changed'

Line 1136: OE_MSG_PUB.Add_Exc_Msg

1132: oe_debug_pub.add('EXITING OE_Negotiate_WF.Offer_Date_Changed WITH STATUS: '||X_RETURN_STATUS ,1);
1133: END IF;
1134: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1135: THEN
1136: OE_MSG_PUB.Add_Exc_Msg
1137: ( G_PKG_NAME,
1138: 'Offer_Date_Changed'
1139: );
1140: END IF;

Line 1162: -- OE_MSG_PUB.initialize; commented out for 4671489

1158: l_submit_draft_eligible VARCHAR2(30) := 'SUBMIT_DRAFT_ELIGIBLE';
1159:
1160: --
1161: BEGIN
1162: -- OE_MSG_PUB.initialize; commented out for 4671489
1163: x_return_status := FND_API.G_RET_STS_SUCCESS;
1164: IF l_debug_level > 0 THEN
1165: oe_debug_pub.add('ENTERING OE_Negotiate_WF.Submit_Draft: '|| TO_CHAR (p_header_id) ,1) ;
1166: END IF;

Line 1208: OE_MSG_PUB.set_msg_context(

1204: ELSE
1205: l_entity_code := 'BLANKET_HEADER';
1206: END IF;
1207:
1208: OE_MSG_PUB.set_msg_context(
1209: p_entity_code => l_entity_code
1210: ,p_entity_id => p_header_id
1211: ,p_header_id => p_header_id
1212: ,p_line_id => null

Line 1241: oe_msg_pub.add;

1237: l_sales_document_type := fnd_message.get;
1238:
1239: fnd_message.set_name('ONT', 'OE_WF_NO_SUBMIT_DRAFT'); --flow not at right state
1240: fnd_message.set_token('SALES_DOCUMENT_TYPE', l_sales_document_type);
1241: oe_msg_pub.add;
1242: x_return_status := FND_API.G_RET_STS_ERROR;
1243: IF l_debug_level > 0 THEN
1244: oe_debug_pub.add('EXITING OE_Negotiate_WF.Submit_Draft WITH STATUS: '||X_RETURN_STATUS ,1);
1245: END IF;

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

1258: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1259: IF l_debug_level > 0 THEN
1260: oe_debug_pub.add('EXITING OE_Negotiate_WF.Submit_Draft WITH STATUS: '||X_RETURN_STATUS ,1);
1261: END IF;
1262: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1263: THEN
1264: OE_MSG_PUB.Add_Exc_Msg
1265: ( G_PKG_NAME,
1266: 'Submit_Draft'

Line 1264: OE_MSG_PUB.Add_Exc_Msg

1260: oe_debug_pub.add('EXITING OE_Negotiate_WF.Submit_Draft WITH STATUS: '||X_RETURN_STATUS ,1);
1261: END IF;
1262: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1263: THEN
1264: OE_MSG_PUB.Add_Exc_Msg
1265: ( G_PKG_NAME,
1266: 'Submit_Draft'
1267: );
1268: END IF;

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

1320:
1321: -- end setting item attribute for WF header attributes
1322: EXCEPTION
1323: WHEN OTHERS THEN
1324: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1325: THEN
1326: OE_MSG_PUB.Add_Exc_Msg
1327: (G_PKG_NAME
1328: , 'Set_Header_Attributes_Internal'

Line 1326: OE_MSG_PUB.Add_Exc_Msg

1322: EXCEPTION
1323: WHEN OTHERS THEN
1324: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1325: THEN
1326: OE_MSG_PUB.Add_Exc_Msg
1327: (G_PKG_NAME
1328: , 'Set_Header_Attributes_Internal'
1329: );
1330: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 1387: OE_MSG_PUB.set_msg_context(

1383: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Set_Final_Expiration_Date:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
1384: END IF;
1385: OE_STANDARD_WF.Set_Msg_Context(actid);
1386: IF (funcmode = 'RUN') then
1387: OE_MSG_PUB.set_msg_context(
1388: p_entity_code => 'HEADER'
1389: ,p_entity_id => to_number(itemkey)
1390: ,p_header_id => to_number(itemkey));
1391: