RECORD_IS_TOPMOST
This variable allows you to check whether the record is the topmost in the hierarchy.
Example
<constraint> <name>Test for parent</name> <description>To Check if this is the parent</description> <usefor> <var>SHORTDESC</var> </usefor> <condition> <and> <eq> <var>RECORD_TYPE</var> <const type="string">CUST</const> </eq> <var>RECORD_IS_TOPMOST</var> </and> </condition> <action> <assign> <var>SHORTDESC</var> <const type="string">Parent Record</const> </assign> </action> </constraint>
Copyright © Cloud Software Group, Inc. All rights reserved.