DBA Data[Home] [Help]

APPS.INV_LABEL_PVT11 dependencies on FND_API

Line 251: x_return_status := fnd_api.g_ret_sts_success;

247: cursor c_get_mode_meaning is select meaning from fnd_lookups where lookup_type='GMO_DISPENSE_MODE' and lookup_code=l_mode;
248:
249: BEGIN
250: -- Initialize return status as success
251: x_return_status := fnd_api.g_ret_sts_success;
252: l_debug := inv_label.l_debug;
253: l_label_status := INV_LABEL.G_SUCCESS;
254:
255: IF (l_debug = 1) THEN

Line 580: p_init_msg_list => FND_API.G_FALSE,

576:
577:
578: GMO_LABEL_MGMT_GRP.GET_PRINT_COUNT(
579: p_api_version => 1.0,
580: p_init_msg_list => FND_API.G_FALSE,
581: x_return_status => l_return_status,
582: x_msg_count => l_msg_count,
583: x_msg_data => l_msg_data,
584: P_WMS_BUSINESS_FLOW_CODE => p_label_type_info.business_flow_code,

Line 716: l_custom_sql_ret_status := FND_API.G_RET_STS_SUCCESS;

712:
713: l_column_name_list := 'Set variables for ';
714:
715: -- CUSTOM SQL
716: l_custom_sql_ret_status := FND_API.G_RET_STS_SUCCESS;
717: l_CustSqlWarnFlagSet := FALSE;
718: l_CustSqlErrFlagSet := FALSE;
719: l_CustSqlWarnMsg := NULL;
720: l_CustSqlErrMsg := NULL;

Line 767: x_return_status := FND_API.G_RET_STS_SUCCESS;

763: EXIT WHEN c_sql_stmt%notfound OR c_sql_stmt%rowcount >=2;
764: END LOOP;
765:
766: IF (c_sql_stmt%rowcount=1 AND l_sql_stmt_result IS NULL) THEN
767: x_return_status := FND_API.G_RET_STS_SUCCESS;
768: l_custom_sql_ret_status := INV_LABEL.G_WARNING;
769: fnd_message.set_name('WMS','WMS_CS_NULL_VALUE_RETURNED');
770: fnd_msg_pub.ADD;
771: -- Fix for bug: 4179593 Start

Line 772: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);

768: l_custom_sql_ret_status := INV_LABEL.G_WARNING;
769: fnd_message.set_name('WMS','WMS_CS_NULL_VALUE_RETURNED');
770: fnd_msg_pub.ADD;
771: -- Fix for bug: 4179593 Start
772: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);
773: l_custom_sql_ret_msg := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);
774: l_CustSqlWarnMsg := l_custom_sql_ret_msg;
775: l_CustSqlWarnFlagSet := TRUE;
776: -- Fix for bug: 4179593 End

Line 773: l_custom_sql_ret_msg := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);

769: fnd_message.set_name('WMS','WMS_CS_NULL_VALUE_RETURNED');
770: fnd_msg_pub.ADD;
771: -- Fix for bug: 4179593 Start
772: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);
773: l_custom_sql_ret_msg := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);
774: l_CustSqlWarnMsg := l_custom_sql_ret_msg;
775: l_CustSqlWarnFlagSet := TRUE;
776: -- Fix for bug: 4179593 End
777: IF (l_debug = 1) THEN

Line 788: x_return_status := FND_API.G_RET_STS_SUCCESS;

784: IF (l_debug = 1) THEN
785: trace('Custom Labels Trace [INVLA11B.pls]: At Breadcrumb 3');
786: trace('Custom Labels Trace [INVLA11B.pls]: WARNING: No row returned by the Custom SQL query');
787: END IF;
788: x_return_status := FND_API.G_RET_STS_SUCCESS;
789: l_custom_sql_ret_status := INV_LABEL.G_WARNING;
790: fnd_message.set_name('WMS','WMS_CS_NO_DATA_FOUND');
791: fnd_msg_pub.ADD;
792: -- Fix for bug: 4179593 Start

Line 793: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);

789: l_custom_sql_ret_status := INV_LABEL.G_WARNING;
790: fnd_message.set_name('WMS','WMS_CS_NO_DATA_FOUND');
791: fnd_msg_pub.ADD;
792: -- Fix for bug: 4179593 Start
793: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);
794: l_custom_sql_ret_msg := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);
795: l_CustSqlWarnMsg := l_custom_sql_ret_msg;
796: l_CustSqlWarnFlagSet := TRUE;
797: -- Fix for bug: 4179593 End

Line 794: l_custom_sql_ret_msg := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);

790: fnd_message.set_name('WMS','WMS_CS_NO_DATA_FOUND');
791: fnd_msg_pub.ADD;
792: -- Fix for bug: 4179593 Start
793: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);
794: l_custom_sql_ret_msg := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);
795: l_CustSqlWarnMsg := l_custom_sql_ret_msg;
796: l_CustSqlWarnFlagSet := TRUE;
797: -- Fix for bug: 4179593 End
798: ELSIF c_sql_stmt%rowcount>=2 THEN

Line 804: x_return_status := FND_API.G_RET_STS_SUCCESS;

800: trace('Custom Labels Trace [INVLA11B.pls]: At Breadcrumb 4');
801: trace('Custom Labels Trace [INVLA11B.pls]: ERROR: Multiple values returned by the Custom SQL query');
802: END IF;
803: l_sql_stmt_result := NULL;
804: x_return_status := FND_API.G_RET_STS_SUCCESS;
805: l_custom_sql_ret_status := FND_API.G_RET_STS_ERROR;
806: fnd_message.set_name('WMS','WMS_CS_MULTIPLE_VALUES_RETURN');
807: fnd_msg_pub.ADD;
808: -- Fix for bug: 4179593 Start

Line 805: l_custom_sql_ret_status := FND_API.G_RET_STS_ERROR;

801: trace('Custom Labels Trace [INVLA11B.pls]: ERROR: Multiple values returned by the Custom SQL query');
802: END IF;
803: l_sql_stmt_result := NULL;
804: x_return_status := FND_API.G_RET_STS_SUCCESS;
805: l_custom_sql_ret_status := FND_API.G_RET_STS_ERROR;
806: fnd_message.set_name('WMS','WMS_CS_MULTIPLE_VALUES_RETURN');
807: fnd_msg_pub.ADD;
808: -- Fix for bug: 4179593 Start
809: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);

Line 809: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);

805: l_custom_sql_ret_status := FND_API.G_RET_STS_ERROR;
806: fnd_message.set_name('WMS','WMS_CS_MULTIPLE_VALUES_RETURN');
807: fnd_msg_pub.ADD;
808: -- Fix for bug: 4179593 Start
809: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);
810: l_custom_sql_ret_msg := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);
811: l_CustSqlErrMsg := l_custom_sql_ret_msg;
812: l_CustSqlErrFlagSet := TRUE;
813: -- Fix for bug: 4179593 End

Line 810: l_custom_sql_ret_msg := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);

806: fnd_message.set_name('WMS','WMS_CS_MULTIPLE_VALUES_RETURN');
807: fnd_msg_pub.ADD;
808: -- Fix for bug: 4179593 Start
809: --fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => l_custom_sql_ret_msg);
810: l_custom_sql_ret_msg := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);
811: l_CustSqlErrMsg := l_custom_sql_ret_msg;
812: l_CustSqlErrFlagSet := TRUE;
813: -- Fix for bug: 4179593 End
814: END IF;

Line 827: x_return_status := FND_API.G_RET_STS_ERROR;

823: IF (l_debug = 1) THEN
824: trace('Custom Labels Trace [INVLA11B.pls]: At Breadcrumb 5');
825: trace('Custom Labels Trace [INVLA11B.pls]: Unexpected Error has occured in GET_VARIABLES_DATA');
826: END IF;
827: x_return_status := FND_API.G_RET_STS_ERROR;
828: fnd_message.set_name('WMS','WMS_CS_WRONG_SQL_CONSTRUCT');
829: fnd_msg_pub.ADD;
830: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
831: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 830: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);

826: END IF;
827: x_return_status := FND_API.G_RET_STS_ERROR;
828: fnd_message.set_name('WMS','WMS_CS_WRONG_SQL_CONSTRUCT');
829: fnd_msg_pub.ADD;
830: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
831: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
832: END;
833: IF (l_debug = 1) THEN
834: trace('Custom Labels Trace [INVLA11B.pls]: At Breadcrumb 6');

Line 831: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

827: x_return_status := FND_API.G_RET_STS_ERROR;
828: fnd_message.set_name('WMS','WMS_CS_WRONG_SQL_CONSTRUCT');
829: fnd_msg_pub.ADD;
830: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
831: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
832: END;
833: IF (l_debug = 1) THEN
834: trace('Custom Labels Trace [INVLA11B.pls]: At Breadcrumb 6');
835: trace('Custom Labels Trace [INVLA11B.pls]: Before assigning it to l_content_item_data');

Line 1177: l_custom_sql_ret_status := FND_API.G_RET_STS_ERROR;

1173: l_custom_sql_ret_msg := l_CustSqlWarnMsg;
1174: END IF;
1175:
1176: IF (l_CustSqlErrFlagSet) THEN
1177: l_custom_sql_ret_status := FND_API.G_RET_STS_ERROR;
1178: l_custom_sql_ret_msg := l_CustSqlErrMsg;
1179: END IF;
1180: -- Fix for bug: 4179593 End
1181: