Created Trigger table including extension tables

Created function to run trigger script
Created logic to pull table from catalog items / record producers
Created interceptors for Fulfillment Steps and Triggers
Cleaned forms and created policies to keep them clean
This commit is contained in:
admin
2023-01-31 09:19:12 -08:00
parent c06bff3f50
commit fa5fc665c1
142 changed files with 5461 additions and 2 deletions

View File

@ -0,0 +1,12 @@
<?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" label="Condition Table" max_length="80" name="condition_table" type="table_name"/>
<element label="Fulfillment Plan" mandatory="true" max_length="32" name="fulfillment_plan" reference="x_355681_fa_fulfillment_plan" type="reference"/>
<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>