DBA Data[Home] [Help]

APPS.WMS_ENGINE_PVT dependencies on WMS_RULE_PVT

Line 1733: --the following cursors get information used in wms_rule_pvt.apply to

1729: l_sec_uom_class VARCHAR2(10);
1730: l_txn_uom_class VARCHAR2(10);
1731:
1732: ---
1733: --the following cursors get information used in wms_rule_pvt.apply to
1734: --compare src sub/loc and dest sub/loc. The information is queried here
1735: --and stored in global variables to prevent multiple queries for the
1736: --same info (which would happen if we queried for data in apply)
1737:

Line 1837: wms_rule_pvt.g_allow_expired_lot_txn := 'Y';

1833: --8809951 Clean up all the rules in the cahce.
1834:
1835: --10182554 Start
1836: IF check_exp_lot_txn_allowed (p_transaction_temp_id) THEN
1837: wms_rule_pvt.g_allow_expired_lot_txn := 'Y';
1838: IF (l_debug = 1) THEN
1839: log_event( l_api_name, 'g_allow_expired_lot_txn in WMS ENGINE','Setting value for allow expired lots to be transacted as True');
1840: END IF;
1841: ELSE

Line 1842: wms_rule_pvt.g_allow_expired_lot_txn := 'N';

1838: IF (l_debug = 1) THEN
1839: log_event( l_api_name, 'g_allow_expired_lot_txn in WMS ENGINE','Setting value for allow expired lots to be transacted as True');
1840: END IF;
1841: ELSE
1842: wms_rule_pvt.g_allow_expired_lot_txn := 'N';
1843: IF (l_debug = 1) THEN
1844: log_event( l_api_name, 'g_allow_expired_lot_txn in WMS ENGINE','Setting value for allow expired lots to be transacted as FALSE');
1845: END IF;
1846: END IF;

Line 2048: --setting global variables used in wms_rule_pvt.

2044: l_request_context.transfer_flag := FALSE;
2045: l_request_context.type_code := 2;
2046: END IF;
2047:
2048: --setting global variables used in wms_rule_pvt.
2049: If l_debug = 1 THEN
2050: log_event(l_api_name, 'Create Suggestions', 'before fetching move order type '||l_move_order_type);
2051: END IF;
2052: --8809951 start, Removed code to fetch from cursor and fetched it from INV.CACHE

Line 2128: --set a global variable here, and reference it in WMS_RULE_PVT

2124: --8809951 end
2125:
2126: --bug 2589499 -- if reservation exists for WIP putaway, do not putaway
2127: -- to non-reservable sub.
2128: --set a global variable here, and reference it in WMS_RULE_PVT
2129: g_reservable_putaway_sub_only := FALSE;
2130: l_wip_rsv_exists := 0;
2131:
2132: -- log_event(l_api_name, 'Create Suggestions', 'after all the item check');

Line 2163: wms_rule_pvt.get_wms_sys_task_type(

2159: --log_event(l_api_name, 'Create Suggestions', 'before sys_task_type');
2160: /* Get the wms system task type
2161: changed the call to add 2 new paramters p_transaction_Action_id
2162: and p_transaction_source_type_id for patchset H changes */
2163: wms_rule_pvt.get_wms_sys_task_type(
2164: p_move_order_type => l_move_order_type
2165: , p_transaction_action_id => l_request_context.transaction_action_id
2166: , p_transaction_source_type_id => l_request_context.transaction_source_type_id
2167: , x_wms_sys_task_type => l_request_context.wms_task_type

Line 2483: IF (wms_rule_pvt.isruledebugon(l_simulation_mode)

2479: );
2480: END IF;
2481: -- end LG convergence
2482: --
2483: IF (wms_rule_pvt.isruledebugon(l_simulation_mode)
2484: and l_simulation_mode <> g_available_inventory) THEN
2485: IF l_debug = 1 THEN
2486: log_procedure(l_api_name, 'insert_trace_header', 'Calling insert_trace_header ');
2487: END IF;

Line 2829: wms_rule_pvt.rollback_capacity_update(

2825: 'calling rollback_capacity for item '
2826: || l_request_line_rec.inventory_item_id);
2827: END IF;
2828:
2829: wms_rule_pvt.rollback_capacity_update(
2830: x_return_status => l_return_status
2831: , x_msg_count => l_msg_count
2832: , x_msg_data => l_msg_data
2833: , p_organization_id => l_request_line_rec.organization_id

Line 2871: AND wms_rule_pvt.isruledebugon(l_simulation_mode) THEN

2867: RAISE fnd_api.g_exc_error;
2868: END IF;
2869:
2870: IF l_simulation_mode = g_no_simulation
2871: AND wms_rule_pvt.isruledebugon(l_simulation_mode) THEN
2872: --call insert run time trace lines
2873:
2874: IF l_debug = 1 THEN
2875: log_procedure(l_api_name, 'insert_txn_trace_rows',