2932:
2933:
2934: --Compatibility Changes
2935: l_cc_validate_result VARCHAR2(1);
2936: l_cc_failed_records WSH_FTE_COMP_CONSTRAINT_PKG.failed_line_tab_type;
2937: l_cc_group_info WSH_FTE_COMP_CONSTRAINT_PKG.cc_group_tab_type;
2938: l_cc_line_groups WSH_FTE_COMP_CONSTRAINT_PKG.line_group_tab_type;
2939:
2940: l_trip_info_tab WSH_TRIPS_PVT.Trip_Attr_Tbl_Type;
2933:
2934: --Compatibility Changes
2935: l_cc_validate_result VARCHAR2(1);
2936: l_cc_failed_records WSH_FTE_COMP_CONSTRAINT_PKG.failed_line_tab_type;
2937: l_cc_group_info WSH_FTE_COMP_CONSTRAINT_PKG.cc_group_tab_type;
2938: l_cc_line_groups WSH_FTE_COMP_CONSTRAINT_PKG.line_group_tab_type;
2939:
2940: l_trip_info_tab WSH_TRIPS_PVT.Trip_Attr_Tbl_Type;
2941: l_trip_id_tab_temp wsh_util_core.id_tab_type;
2934: --Compatibility Changes
2935: l_cc_validate_result VARCHAR2(1);
2936: l_cc_failed_records WSH_FTE_COMP_CONSTRAINT_PKG.failed_line_tab_type;
2937: l_cc_group_info WSH_FTE_COMP_CONSTRAINT_PKG.cc_group_tab_type;
2938: l_cc_line_groups WSH_FTE_COMP_CONSTRAINT_PKG.line_group_tab_type;
2939:
2940: l_trip_info_tab WSH_TRIPS_PVT.Trip_Attr_Tbl_Type;
2941: l_trip_id_tab_temp wsh_util_core.id_tab_type;
2942: l_cc_count_success NUMBER;
5690: --for autocreatetrip if no ship method is provided do the compatibility check to see if trip can be created for the delivery else if ship method is provided, do the compatibility check before update trip call
5691: --bug 2811489 : call should be made regardless of ship_method being null
5692: IF wsh_util_core.fte_is_installed='Y' THEN
5693:
5694: WSH_FTE_COMP_CONSTRAINT_PKG.validate_constraint_main(
5695: p_api_version_number => 1.0,
5696: p_init_msg_list => FND_API.G_FALSE,
5697: p_entity_type => 'D',
5698: p_target_id => l_target_trip_id,
5838:
5839:
5840: IF l_trip_info_tab.COUNT>0 THEN
5841:
5842: WSH_FTE_COMP_CONSTRAINT_PKG.validate_constraint_main(
5843: p_api_version_number => 1.0,
5844: p_init_msg_list => FND_API.G_FALSE,
5845: p_entity_type => 'T',
5846: p_target_id => l_target_trip_id,
6039: l_trip_info_tab(1).carrier_id :=l_trip_rec.carrier_id;
6040: l_trip_info_tab(1).mode_of_transport :=l_trip_rec.mode_of_transport;
6041: END IF;
6042:
6043: WSH_FTE_COMP_CONSTRAINT_PKG.validate_constraint_main(
6044: p_api_version_number => 1.0,
6045: p_init_msg_list => FND_API.G_FALSE,
6046: p_entity_type => 'T',
6047: p_target_id => l_target_trip_id,