DBA Data[Home] [Help]

APPS.MRP_PO_RESCHEDULE dependencies on MO_GLOBAL

Line 641: mo_global.init('PO'); -- MOAC Change

637: po_cursor type_cursor;
638:
639: BEGIN
640:
641: mo_global.init('PO'); -- MOAC Change
642:
643: IF( l_dblink IS NOT NULL ) THEN
644: sql_stmt:=
645: ' select '|| --?????

Line 721: mo_global.set_policy_context('S',l_po_operating_unit); -- MOAC Change

717: INTO l_po_operating_unit
718: FROM po_headers_all
719: WHERE po_header_id = v_po_header_id(i);
720:
721: mo_global.set_policy_context('S',l_po_operating_unit); -- MOAC Change
722:
723: l_po_line_id := v_po_line_id(i);
724: IF l_doc_type = 'RELEASE' THEN
725: l_pos_lbrace := instr(v_po_number(i),'(');

Line 864: mo_global.init('PO'); -- MOAC Change

860: where PO_HEADER_ID= l_po_header_id;
861:
862: change_operating_unit( l_po_operating_unit );
863:
864: mo_global.init('PO'); -- MOAC Change
865: mo_global.set_policy_context('S',l_po_operating_unit); -- MOAC Change
866:
867: debug_message('Changing to operating unit: ' || l_po_operating_unit );
868:

Line 865: mo_global.set_policy_context('S',l_po_operating_unit); -- MOAC Change

861:
862: change_operating_unit( l_po_operating_unit );
863:
864: mo_global.init('PO'); -- MOAC Change
865: mo_global.set_policy_context('S',l_po_operating_unit); -- MOAC Change
866:
867: debug_message('Changing to operating unit: ' || l_po_operating_unit );
868:
869: IF( l_distribution_ids.COUNT() > 0 ) THEN