1) For all Modules
SELECT PATH.path_docid PERZ_DOC_ID,
jdr_mds_internal.Getdocumentname(PATH.path_docid) PERZ_DOC_PATH
FROM jdr_paths PATH
WHERE PATH.path_docid IN (SELECT DISTINCT comp_docid
FROM jdr_components
WHERE comp_seq = 0
AND comp_element = 'customization'
AND comp_id IS NULL)
ORDER BY perz_doc_path;
2) For iProcurement Module
SELECT PATH.path_docid PERZ_DOC_ID,
jdr_mds_internal.Getdocumentname(PATH.path_docid) PERZ_DOC_PATH
FROM jdr_paths PATH
WHERE PATH.path_docid IN (SELECT DISTINCT comp_docid
FROM jdr_components
WHERE comp_seq = 0
AND comp_element = 'customization'
AND comp_id IS NULL)
AND ( jdr_mds_internal.Getdocumentname(PATH.path_docid) ) LIKE '%icx%'
ORDER BY perz_doc_path;
Comments
Post a Comment