Implemented 3 types of triggers. Each having their own business rules Implemented FAProperty script for re-usable properties like tables Created UI Macro to create new Fulfillment Plan from trigger
14 lines
1.7 KiB
XML
14 lines
1.7 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="true" label="Active" max_length="40" name="active" type="boolean"/>
|
|
<element default="/* * Trigger only populated if trigger record is different as current. * Example: Record Producers */ (function(current){ 	var answer = true; 	//Type your custom logic below. Make answer false to not run this Fulfillment Plan. 	return false; })(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:"run_on_table=" + current.getValue("condition_table")" type="reference" use_reference_qualifier="advanced"/>
|
|
<element attributes="show_condition_count=true,readable=true,condition_builder=v2,allow_related_list_query=true" 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>
|