TreeDetailInNode

Mon 01 January 2018

Syntax

TreeDetailInNode(setID, tree, effdt, detail_value, node)

Description

Use the TreeDetailInNode function to determine whether a specific record field value is a descendant of a specified node in a specified tree.

Note: This function is not compatible with the PeopleSoft Pure Internet Architecture. However, this function is still available for use with the PeopleSoft Tree Manager Windows client, available in the 8.1 product line.

An equivalent PeopleCode tree class method or built-in function for PeopleSoft Pure Internet Architecture does not exist, however, you may achieve this same functionality using the tree classes.

Parameters

Field or Control

Definition

setID

SetID for the appropriate business unit. This parameter is required. If there is no SetID, you can pass a NULL string ("", not a blank) and a blank will be used.

tree

The tree name that contains the detail_value .

effdt

Effective date to be used in the search. You must use a valid date.

detail_value

The recordname.fieldname containing the value you are looking for.

node

The "owning" tree node name.

Returns

Returns a Boolean value, True if detail_value is a descendant of node in tree .