This graphic shows the Edit Custom Code dialog box after the Employee Fields node has been expanded and the Department field has been clicked. The method call $EmployeeEntityDetailArchetypeRecord.getValue('ref2Department') appears in the text area.