DBA Data[Home] [Help]

APPS.AHL_UC_UNITCONFIG_PVT dependencies on AHL_UTIL_UC_PKG

Line 796: ahl_util_uc_pkg.copy_uc_header_to_history(p_x_uc_header_rec.uc_header_id, l_return_status);

792: p_x_uc_header_rec.attribute14,
793: p_x_uc_header_rec.attribute15);
794:
795: -- Insert into the exactly same record into ahl_unit_config_headers_h
796: ahl_util_uc_pkg.copy_uc_header_to_history(p_x_uc_header_rec.uc_header_id, l_return_status);
797: --IF history copy failed, then don't raise exception, just add the message to the message stack
798: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
799: FND_MESSAGE.set_name('AHL', 'AHL_UC_HISTORY_COPY_FAILED');
800: FND_MSG_PUB.add;

Line 821: AHL_UTIL_UC_PKG.getcsi_attribute_value(p_x_uc_header_rec.instance_id,

817: END IF;
818:
819: IF l_serial_number IS NOT NULL THEN
820: --Retrieve existing value of serial_number_tag if present.
821: AHL_UTIL_UC_PKG.getcsi_attribute_value(p_x_uc_header_rec.instance_id,
822: 'AHL_TEMP_SERIAL_NUM',
823: l_attribute_value,
824: l_attribute_value_id,
825: l_object_version_number,

Line 834: AHL_Util_UC_Pkg.getcsi_transaction_id('UC_UPDATE', l_transaction_type_id, l_return_val);

830: ELSE
831: l_serial_number_tag := 'TEMPORARY';
832: END IF;
833: --Build CSI transaction record, first get transaction_type_id
834: AHL_Util_UC_Pkg.getcsi_transaction_id('UC_UPDATE', l_transaction_type_id, l_return_val);
835: IF NOT(l_return_val) THEN
836: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
837: END IF;
838:

Line 841: AHL_Util_UC_Pkg.getcsi_attribute_id('AHL_TEMP_SERIAL_NUM', l_attribute_id,l_return_val);

837: END IF;
838:
839: l_csi_transaction_rec.source_transaction_date := SYSDATE;
840: l_csi_transaction_rec.transaction_type_id := l_transaction_type_id;
841: AHL_Util_UC_Pkg.getcsi_attribute_id('AHL_TEMP_SERIAL_NUM', l_attribute_id,l_return_val);
842: IF NOT(l_return_val) THEN
843: FND_MESSAGE.set_name('AHL','AHL_UC_ATTRIB_CODE_MISSING');
844: FND_MESSAGE.set_token('CODE', 'AHL_TEMP_SERIAL_NUM');
845: FND_MSG_PUB.add;

Line 983: IF (ahl_util_uc_pkg.IS_UNIT_QUARANTINED(p_unit_header_id => p_x_uc_header_rec.uc_header_id , p_instance_id => null) = FND_API.G_TRUE) THEN

979: ': after convert_attributes');
980: END IF;
981:
982: -- ACL :: Changes for R12
983: IF (ahl_util_uc_pkg.IS_UNIT_QUARANTINED(p_unit_header_id => p_x_uc_header_rec.uc_header_id , p_instance_id => null) = FND_API.G_TRUE) THEN
984: FND_MESSAGE.set_name( 'AHL','AHL_UC_INVALID_Q_ACTION' );
985: FND_MSG_PUB.add;
986: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
987: END IF;

Line 1047: ahl_util_uc_pkg.copy_uc_header_to_history(p_x_uc_header_rec.uc_header_id, l_return_status);

1043: x_return_status := FND_API.G_RET_STS_ERROR;
1044: RAISE FND_API.G_EXC_ERROR;
1045: END IF;
1046:
1047: ahl_util_uc_pkg.copy_uc_header_to_history(p_x_uc_header_rec.uc_header_id, l_return_status);
1048: --IF history copy failed, then don't raise exception, just add the message to the message stack
1049: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1050: FND_MESSAGE.set_name('AHL', 'AHL_UC_HISTORY_COPY_FAILED');
1051: FND_MSG_PUB.add;

Line 1307: ahl_util_uc_pkg.copy_uc_header_to_history(p_uc_header_id, l_return_status);

1303: x_return_status := FND_API.G_RET_STS_ERROR;
1304: RAISE FND_API.G_EXC_ERROR;
1305: END IF;
1306:
1307: ahl_util_uc_pkg.copy_uc_header_to_history(p_uc_header_id, l_return_status);
1308: --IF history copy failed, then don't raise exception, just add the message tothe message stack
1309: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1310: FND_MESSAGE.set_name('AHL', 'AHL_UC_HISTORY_COPY_FAILED');
1311: FND_MSG_PUB.add;

Line 1318: AHL_UTIL_UC_PKG.getcsi_transaction_id('UC_UPDATE',l_transaction_type_id, l_return_value);

1314: --The following lines are used to expire all the instances and subunits installed in this
1315: --draft UC, the relationship between the subunit with its immediate parent is expired but
1316: --the relationship below the subunit are not expired.
1317: --First, get transaction_type_id.
1318: AHL_UTIL_UC_PKG.getcsi_transaction_id('UC_UPDATE',l_transaction_type_id, l_return_value);
1319: IF NOT l_return_value THEN
1320: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1321: END IF;
1322: --Set the CSI transaction record

Line 1415: ahl_util_uc_pkg.copy_uc_header_to_history(l_subunits.unit_config_header_id,l_return_status);

1411: last_update_login = fnd_global.login_id
1412: WHERE unit_config_header_id = l_subunits.unit_config_header_id;
1413: --here no object_version_number check
1414:
1415: ahl_util_uc_pkg.copy_uc_header_to_history(l_subunits.unit_config_header_id,l_return_status);
1416: --IF history copy failed, then don't raise exception, just add the messageto the message stack
1417: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1418: FND_MESSAGE.set_name('AHL', 'AHL_UC_HISTORY_COPY_FAILED');
1419: FND_MSG_PUB.add;