DBA Data[Home] [Help]

APPS.MRP_CREATE_SCHEDULE_ISO dependencies on OE_GLOBALS

Line 422: l_oe_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;

418: log_message('l_org_trans_rel_cur.load_type :'||l_org_trans_rel_cur.load_type);
419: IF (l_org_trans_rel_cur.load_type = DRP_REQ_LOAD) THEN
420: v_load_type := 'Release';
421:
422: l_oe_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
423: l_oe_header_rec.org_id := l_org_trans_rel_cur.src_operating_unit;
424: l_oe_header_rec.order_type_id := l_order_type_id;
425:
426: -- requisition number

Line 438: l_oe_line_rec.operation := OE_GLOBALS.G_OPR_CREATE;

434: l_oe_header_rec.shipping_method_code := l_org_trans_rel_cur.ship_method;
435:
436:
437: /* For the line */
438: l_oe_line_rec.operation := OE_GLOBALS.G_OPR_CREATE;
439: l_oe_line_rec.ORIG_SYS_DOCUMENT_REF := l_req_header_rec.segment1;
440: l_oe_line_rec.SOURCE_DOCUMENT_ID := l_req_header_rec.requisition_header_id;
441: l_oe_line_rec.source_document_type_id := l_order_source_id;
442: l_oe_line_rec.order_source_id := l_order_source_id;

Line 459: lv_action_rec.request_type := OE_GLOBALS.G_BOOK_ORDER;

455: l_org_trans_rel_cur.firm_demand_flag;
456: l_oe_line_rec.Earliest_ship_date := l_org_trans_rel_cur.Earliest_ship_date; -- Bug# 4306515
457:
458: l_oe_line_rec.shipping_method_code := l_org_trans_rel_cur.ship_method;
459: lv_action_rec.request_type := OE_GLOBALS.G_BOOK_ORDER;
460: lv_action_rec.entity_code := OE_GLOBALS.G_ENTITY_HEADER;
461:
462: If (l_org_trans_rel_cur.plan_type = 8) Then
463: l_oe_line_rec.subinventory := lv_Dest_subinv;

Line 460: lv_action_rec.entity_code := OE_GLOBALS.G_ENTITY_HEADER;

456: l_oe_line_rec.Earliest_ship_date := l_org_trans_rel_cur.Earliest_ship_date; -- Bug# 4306515
457:
458: l_oe_line_rec.shipping_method_code := l_org_trans_rel_cur.ship_method;
459: lv_action_rec.request_type := OE_GLOBALS.G_BOOK_ORDER;
460: lv_action_rec.entity_code := OE_GLOBALS.G_ENTITY_HEADER;
461:
462: If (l_org_trans_rel_cur.plan_type = 8) Then
463: l_oe_line_rec.subinventory := lv_Dest_subinv;
464: END IF;

Line 583: l_oe_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

579: l_sch_rec.line_id := l_line_tbl(1).line_id;
580:
581: ELSE /* For Re-Schedule ISO */
582: v_load_type := 'Reschedule';
583: l_oe_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
584:
585: OPEN c_header_id(l_org_trans_rel_cur.sales_order_number);
586: FETCH c_header_id INTO l_header_id;
587: CLOSE c_header_id;

Line 598: l_oe_line_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

594:
595: l_oe_header_rec.header_id := l_header_id;
596: l_oe_header_rec.order_number := l_org_trans_rel_cur.sales_order_number;
597:
598: l_oe_line_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
599: l_oe_line_rec.line_id := l_org_trans_rel_cur.sales_order_line_id;
600: l_oe_line_rec.ordered_quantity := l_org_trans_rel_cur.quantity;
601: l_oe_line_rec.schedule_ship_date := l_org_trans_rel_cur.ship_date;
602: l_oe_line_rec.change_reason := 'SYSTEM';