Before standard EXISTS function was used.
According to standard EXISTS requires input value to be NOT empty.
Before EXISTS was used in the following way
Code: Select all
doc_rel_list := get_representing_product_relationship('urn:plcs:rdl:missing-std:Document_dependency_relationship', relating_doc.doc, related_doc.doc);
IF EXISTS(doc_rel_list) AND (EXISTS(doc_rel_list) > 0) THEN
...Code: Select all
IF xpfSizeOf(doc_rel_list) > 0 THEN
...