1128: close l_cvm_csr;
1129:
1130: -- Delete any attachments assiciated
1131: If (x_return_status = OKC_API.G_RET_STS_SUCCESS) Then
1132: If (fnd_attachment_util_pkg.get_atchmt_exists (
1133: l_entity_name => 'OKC_K_HEADERS_B',
1134: l_pkey1 => p_chrv_rec.id,
1135: l_pkey2 => l_major_version) = 'Y')
1136:
1997: close l_cvm_csr;
1998:
1999: -- Delete any attachments assiciated with this line
2000: If (x_return_status = OKC_API.G_RET_STS_SUCCESS) Then
2001: If (fnd_attachment_util_pkg.get_atchmt_exists (
2002: l_entity_name => 'OKC_K_LINES_B',
2003: l_pkey1 => p_clev_rec.id,
2004: l_pkey2 => l_major_version) = 'Y')
2005: