RECORD_IS_BOTTOMMOST

This variable allows to check whether the record is bottommost in the hierarchy.

Example

<constraint>
<name>Test for child/leaf node</name>
<description>To Check if this is the leaf node in a hierarchy of records</description>
<usefor>
<var>SHORTDESC</var>
</usefor>
<condition>
<and>
<eq>
<var>RECORD_TYPE</var>
<const type="string">CUST</const>
</eq>
<var>RECORD_IS_BOTTOMMOST</var>
</and>
</condition>
<action>
<assign>
<var>SHORTDESC</var>
<const type="string">Child Record</const>
</assign>
</action>
</constraint>