Files
sn/c04afa629713111093a8337e6253af6d/dictionary/x_355681_fa_trigger.xml
admin dc8bc52dae Implemented trigger logic to create correct fulfillment plans
Implemented ui macro for trigger table field fulfillment plan
Implemented quick actions for Task table
Updated admin settings to introduce quick settings.
2023-02-03 12:49:13 -08:00

13 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><database>
<element attributes="update_synch=true" db_object_id="5c23333f97e461105838bfb3f153affa" extends="sys_metadata" label="Trigger" max_length="40" name="x_355681_fa_trigger" type="collection">
<element default="/* &#13;&#10; * Trigger only populated if trigger record is different as current.&#13;&#10; * Example: Record Producers&#13;&#10; */&#13;&#10;(function(current){&#13;&#10;&#9;var answer = true;&#13;&#10;&#13;&#10;&#9;//Type your custom logic below. Make answer false to not run this Fulfillment Plan.&#13;&#10;&#13;&#10;&#9;return false;&#13;&#10;})(current);" label="Condition Script" max_length="8000" name="condition_script" type="script"/>
<element attributes="allow_public=true,base_table=task" label="Condition Table" max_length="80" name="condition_table" type="table_name"/>
<element attributes="ref_contributions=x_355681_fa_create_new_fp" label="Fulfillment Plan" max_length="32" name="fulfillment_plan" reference="x_355681_fa_fulfillment_plan" reference_qual="javascript:&quot;run_on_table=&quot; + current.getValue(&quot;condition_table&quot;)" type="reference" use_reference_qualifier="advanced"/>
<element dependent="condition_table" dependent_on_field="condition_table" label="Run if" max_length="4000" name="run_if" type="conditions" use_dependent_field="true"/>
<element label="Script Condition" max_length="40" name="script_condition" type="boolean"/>
<index name="index">
<element name="fulfillment_plan"/>
</index>
</element>
</database>