DBA Data[Home] [Help]

APPS.AHL_UC_UNITCONFIG_PVT dependencies on AHL_UTIL_UC_PKG

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

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

Line 823: AHL_UTIL_UC_PKG.getcsi_attribute_value(p_x_uc_header_rec.instance_id,

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

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

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

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

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

Line 985: 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

981: ': after convert_attributes');
982: END IF;
983:
984: -- ACL :: Changes for R12
985: 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
986: FND_MESSAGE.set_name( 'AHL','AHL_UC_INVALID_Q_ACTION' );
987: FND_MSG_PUB.add;
988: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
989: END IF;

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

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

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

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

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

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

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

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