DBA Data[Home] [Help]

APPS.OE_HEADER_UTIL dependencies on OE_DELAYED_REQUESTS_PVT

Line 1820: OE_delayed_requests_Pvt.log_request

1816: oe_debug_pub.add('Payment_type code in invoice to '||p_x_header_rec.payment_type_code);
1817: oe_debug_pub.add('Delete Payment Count count'||l_delete_payment_count);
1818: oe_debug_pub.add('Log delete payment req Flag'||l_log_delete_payment_req);
1819: IF l_log_delete_payment_req = 'Y' THEN
1820: OE_delayed_requests_Pvt.log_request
1821: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER_PAYMENT,
1822: p_entity_id => p_x_Header_rec.header_id,
1823: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
1824: p_requesting_entity_id => p_x_Header_rec.header_id,

Line 1924: OE_delayed_requests_Pvt.log_request

1920: IF NOT (nvl(p_x_header_rec.source_document_type_id,-99) = 2 AND
1921: p_x_header_rec.operation = oe_globals.g_opr_create)THEN
1922: IF p_x_header_rec.salesrep_id IS NOT NULL THEN
1923: IF OE_Validate_Header_Scredit.G_Create_Auto_Sales_Credit = 'Y' THEN
1924: OE_delayed_requests_Pvt.log_request
1925: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
1926: p_entity_id => p_x_header_rec.header_id,
1927: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
1928: p_requesting_entity_id => p_x_header_rec.header_id,

Line 1938: OE_DELAYED_REQUESTS_PVT.Delete_Request

1934:
1935: /* Else added for bug 4139105 */
1936: ELSE
1937: IF OE_Validate_Header_Scredit.G_Create_Auto_Sales_Credit = 'Y' THEN
1938: OE_DELAYED_REQUESTS_PVT.Delete_Request
1939: (
1940: p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
1941: p_entity_id => p_x_header_rec.header_id,
1942: p_request_type => OE_GLOBALS.G_DFLT_HSCREDIT_FOR_SREP,

Line 1973: OE_delayed_requests_Pvt.log_request

1969: -- Log request to evaluate Holds.
1970: oe_debug_pub.ADD('Customer update: logging request for eval_hold_source',1);
1971: oe_debug_pub.ADD('Header ID:' || to_char(p_x_header_rec.header_id) ||
1972: 'Entity ID:' || to_char(p_x_header_rec.sold_to_org_id),1);
1973: OE_delayed_requests_Pvt.log_request
1974: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
1975: p_entity_id => p_x_header_rec.header_id,
1976: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
1977: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2165: OE_delayed_requests_Pvt.log_request(

2161: -- bug 6697401
2162: -- Log a request to copy Freight Charges to the copied order.
2163: oe_debug_pub.add('Log Delayed Request To Copy Charges in SRC Doc Type Id',3);
2164:
2165: OE_delayed_requests_Pvt.log_request(
2166: p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2167: p_entity_id => p_x_header_rec.header_id,
2168: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2169: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2193: OE_delayed_requests_Pvt.log_request(

2189: --
2190:
2191: IF OE_ORDER_COPY_UTIL.G_COPY_REC.line_price_mode IN (OE_ORDER_COPY_UTIL.G_CPY_ORIG_PRICE,OE_ORDER_COPY_UTIL.G_CPY_REPRICE_PARTIAL) THEN
2192: oe_debug_pub.add(' Copy as original price');
2193: OE_delayed_requests_Pvt.log_request(
2194: p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2195: p_entity_id => p_x_header_rec.header_id,
2196: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2197: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2216: OE_delayed_requests_Pvt.log_request(

2212: THEN
2213: IF p_x_header_rec.operation = OE_GLOBALS.G_OPR_UPDATE
2214: THEN
2215: If nvl(p_x_header_rec.booked_flag, 'N') <> 'Y' Then
2216: OE_delayed_requests_Pvt.log_request(
2217: p_entity_code => OE_GLOBALS.G_ENTITY_ALL,
2218: p_entity_id => p_x_header_rec.header_id,
2219: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_ALL,
2220: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2228: OE_delayed_requests_Pvt.log_request(

2224: p_param3 => 'PRICE_ORDER',
2225: p_request_type => OE_GLOBALS.G_PRICE_ORDER,
2226: x_return_status => l_return_status);
2227: Else
2228: OE_delayed_requests_Pvt.log_request(
2229: p_entity_code => OE_GLOBALS.G_ENTITY_ALL,
2230: p_entity_id => p_x_header_rec.header_id,
2231: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_ALL,
2232: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2252: OE_delayed_requests_Pvt.log_request

2248: OE_Holds_PUB.G_HDR_PAYMENT := 'Y';
2249: oe_debug_pub.ADD('payment type update: logging request for eval_hold_source',1);
2250: oe_debug_pub.ADD('Header ID:' || to_char(p_x_header_rec.header_id) ||
2251: 'Entity ID:' || to_char(p_x_header_rec.payment_type_code),1);
2252: OE_delayed_requests_Pvt.log_request
2253: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2254: p_entity_id => p_x_header_rec.header_id,
2255: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2256: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2272: OE_delayed_requests_Pvt.log_request

2268: THEN
2269: oe_debug_pub.ADD('Currency update: logging request for eval_hold_source',1);
2270: oe_debug_pub.ADD('Header ID:' || to_char(p_x_header_rec.header_id) ||
2271: 'Entity ID:' || to_char(p_x_header_rec.transactional_curr_code),1);
2272: OE_delayed_requests_Pvt.log_request
2273: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2274: p_entity_id => p_x_header_rec.header_id,
2275: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2276: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2292: OE_delayed_requests_Pvt.log_request

2288: THEN
2289: oe_debug_pub.ADD('sales channel update: logging request for eval_hold_source',1);
2290: oe_debug_pub.ADD('Header ID:' || to_char(p_x_header_rec.header_id) ||
2291: 'Entity ID:' || to_char(p_x_header_rec.sales_channel_code),1);
2292: OE_delayed_requests_Pvt.log_request
2293: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2294: p_entity_id => p_x_header_rec.header_id,
2295: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2296: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2312: OE_delayed_requests_Pvt.log_request

2308: THEN
2309: oe_debug_pub.ADD('price list update: logging request for eval_hold_source',1);
2310: oe_debug_pub.ADD('Header ID:' || to_char(p_x_header_rec.header_id) ||
2311: 'Entity ID:' || to_char(p_x_header_rec.price_list_id),1);
2312: OE_delayed_requests_Pvt.log_request
2313: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2314: p_entity_id => p_x_header_rec.header_id,
2315: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2316: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2332: OE_delayed_requests_Pvt.log_request

2328: THEN
2329: oe_debug_pub.ADD('Order type update: logging request for eval_hold_source',1);
2330: oe_debug_pub.ADD('Header ID:' || to_char(p_x_header_rec.header_id) ||
2331: 'Entity ID:' || to_char(p_x_header_rec.order_type_id),1);
2332: OE_delayed_requests_Pvt.log_request
2333: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2334: p_entity_id => p_x_header_rec.header_id,
2335: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2336: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2352: OE_delayed_requests_Pvt.log_request

2348:
2349: -- Log a request for Verify Payment
2350: oe_debug_pub.add('Logging Delayed Request for Verify Payment',3);
2351: --
2352: OE_delayed_requests_Pvt.log_request
2353: (p_entity_code => OE_GLOBALS.G_ENTITY_ALL,
2354: p_entity_id => p_x_header_rec.header_id,
2355: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2356: p_requesting_entity_id => p_x_header_rec.header_id,

Line 2384: OE_delayed_requests_Pvt.log_request

2380: and l_payment_count > 0 then --modified for bug 3733877
2381:
2382: oe_debug_pub.add('logging synch payment delayed request', 1);
2383:
2384: OE_delayed_requests_Pvt.log_request
2385: (p_entity_code => OE_GLOBALS.G_ENTITY_ALL,
2386: p_entity_id => p_x_header_rec.header_id,
2387: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
2388: p_requesting_entity_id => p_x_header_rec.header_id,

Line 4619: OE_Delayed_Requests_Pvt.Delete_Reqs_for_deleted_entity(

4615: OE_Order_WF_Util.delete_row(p_type=>'NEGOTIATE', p_id => p_header_id);
4616: END IF;
4617: OE_Holds_PUB.Delete_Holds(p_header_id => p_header_id);
4618:
4619: OE_Delayed_Requests_Pvt.Delete_Reqs_for_deleted_entity(
4620: p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
4621: p_entity_id => p_header_id,
4622: x_return_status => l_return_status
4623: );

Line 8204: OE_delayed_requests_Pvt.log_request

8200: IF l_debug_level > 0 THEN
8201: oe_debug_pub.add(' Header level cancellation. Log the IR ISO update delayed request',5);
8202: END IF;
8203:
8204: OE_delayed_requests_Pvt.log_request
8205: ( p_entity_code => OE_GLOBALS.G_ENTITY_HEADER
8206: , p_entity_id => p_x_header_rec.header_id
8207: , p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER
8208: , p_requesting_entity_id => p_x_header_rec.header_id

Line 8396: OE_DELAYED_REQUESTS_PVT.Log_Request

8392: 6896311*/
8393: IF (p_x_header_rec.operation = OE_GLOBALS.G_OPR_CREATE ) AND --6896311
8394: l_apply_automatic_atchmt = 'Y' THEN
8395: oe_debug_pub.add('log request to apply atcmt');
8396: OE_DELAYED_REQUESTS_PVT.Log_Request
8397: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
8398: p_entity_id => p_x_header_rec.header_id,
8399: p_request_type => OE_GLOBALS.G_APPLY_AUTOMATIC_ATCHMT,
8400: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,

Line 8431: OE_delayed_requests_Pvt.Log_Request

8427:
8428: END IF;
8429:
8430: IF l_attr_attach_change THEN
8431: OE_delayed_requests_Pvt.Log_Request
8432: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
8433: p_entity_id => p_x_header_rec.header_id,
8434: p_request_type => OE_GLOBALS.G_APPLY_AUTOMATIC_ATCHMT,
8435: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,

Line 8486: OE_delayed_requests_Pvt.Log_Request

8482: p_x_header_rec.Source_Document_Type_id = 10 AND
8483: p_x_header_rec.Source_Document_id is null AND
8484: p_x_header_rec.Orig_sys_document_ref is null THEN
8485: oe_debug_pub.add('log request to create internal Req for ISO');
8486: OE_delayed_requests_Pvt.Log_Request
8487: (p_entity_code => OE_GLOBALS.G_ENTITY_ALL,
8488: p_entity_id => p_x_header_rec.header_id,
8489: p_request_type => OE_GLOBALS.G_CREATE_INTERNAL_REQ,
8490: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,

Line 8583: OE_Delayed_Requests_Pvt.Log_Request(p_entity_code => OE_GLOBALS.G_ENTITY_ALL,

8579: END IF;
8580:
8581: --log delayed request
8582: oe_debug_pub.add('log versioning request',1);
8583: OE_Delayed_Requests_Pvt.Log_Request(p_entity_code => OE_GLOBALS.G_ENTITY_ALL,
8584: p_entity_id => p_x_header_rec.header_id,
8585: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
8586: p_requesting_entity_id => p_x_header_rec.header_id,
8587: p_request_type => OE_GLOBALS.G_VERSION_AUDIT,

Line 8602: OE_Delayed_Requests_Pvt.Log_Request(p_entity_code => OE_GLOBALS.G_ENTITY_ALL,

8598: OE_Versioning_Util.Capture_Audit_Info(p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
8599: p_entity_id => p_x_header_rec.header_id,
8600: p_hist_type_code => 'UPDATE');
8601: --log delayed request
8602: OE_Delayed_Requests_Pvt.Log_Request(p_entity_code => OE_GLOBALS.G_ENTITY_ALL,
8603: p_entity_id => p_x_header_rec.header_id,
8604: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
8605: p_requesting_entity_id => p_x_header_rec.header_id,
8606: p_request_type => OE_GLOBALS.G_VERSION_AUDIT,

Line 8743: OE_DELAYED_REQUESTS_PVT.Process_Request_for_ReqType

8739: -- QUOTING changes - moved this call within another create loop
8740: -- later as holds should be applied only to orders in fulfillment phase.
8741:
8742: --Fix bug 1649402
8743: OE_DELAYED_REQUESTS_PVT.Process_Request_for_ReqType
8744: (p_request_type => OE_GLOBALS.G_DFLT_HSCREDIT_FOR_SREP
8745: ,p_delete => FND_API.G_TRUE
8746: ,x_return_status=> l_return_status
8747: );

Line 8878: OE_delayed_requests_Pvt.log_request

8874: -- Log a request to cancel the workflow.
8875: /*
8876: -- commented to take care of P1 issues in configuration
8877:
8878: OE_delayed_requests_Pvt.log_request
8879: (p_entity_code => OE_GLOBALS.G_ENTITY_ALL,
8880: p_entity_id => p_x_header_rec.header_id,
8881: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_ALL,
8882: p_requesting_entity_id => p_x_header_rec.header_id,

Line 8898: OE_delayed_requests_Pvt.log_request(

8894:
8895: -- OE_GLOBALS.G_RECURSION_MODE := l_recursion_mode;
8896: -- BUG 2013611 - Increment promotional balance in response to cancellation
8897: oe_debug_pub.add('log request to Reverse_Limits for CANCEL in HEADER Post Write',1);
8898: OE_delayed_requests_Pvt.log_request(
8899: p_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
8900: p_entity_id => p_x_header_rec.header_id,
8901: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER,
8902: p_requesting_entity_id => p_x_header_rec.header_id,

Line 9581: OE_Delayed_Requests_Pvt.Log_Request

9577: -- , log delayed requests to update amounts based on the new currency
9578: FOR c IN lines LOOP
9579:
9580: -- Request to decrement amounts based on old currency code
9581: OE_Delayed_Requests_Pvt.Log_Request
9582: (p_entity_code => OE_GLOBALS.G_ENTITY_ALL
9583: ,p_entity_id => c.line_id
9584: ,p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER
9585: ,p_requesting_entity_id => p_header_rec.header_id

Line 9615: OE_Delayed_Requests_Pvt.Log_Request

9611: --For bug 3563983
9612: IF p_header_rec.operation = OE_GLOBALS.G_OPR_UPDATE
9613: THEN
9614: -- Request to increment amounts based on new currency code
9615: OE_Delayed_Requests_Pvt.Log_Request
9616: (p_entity_code => OE_GLOBALS.G_ENTITY_ALL
9617: ,p_entity_id => c.line_id
9618: ,p_requesting_entity_code => OE_GLOBALS.G_ENTITY_HEADER
9619: ,p_requesting_entity_id => p_header_rec.header_id

Line 9652: OE_Delayed_Requests_Pvt.Log_Request

9648: -- sum of amounts across all shipments in the line set are
9649: -- within release min/max limits set on blanket line
9650: IF c.line_set_id IS NOT NULL THEN
9651:
9652: OE_Delayed_Requests_Pvt.Log_Request
9653: (p_entity_code => OE_GLOBALS.G_ENTITY_ALL
9654: ,p_entity_id => c.line_set_id
9655: ,p_requesting_entity_code => OE_GLOBALS.G_ENTITY_LINE
9656: ,p_requesting_entity_id => c.line_id