Skuid Action "Deactive Filterable Conditions" deactivates Calendar Component added conditions

  • 1
  • Problem
  • Updated 1 year ago
  • In Progress
Then Apex Heap Size issues happen since the model's bring in everything for all time.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Pat,

Do you have a page sample that I can load up?  I tried replicating what you are seeing I could not get the action to de-activate the calendar component conditions.  I was testing in Millau.

Thanks,

Bill
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
This is on Skuid version 9.3.6.

The page would be pretty straightforward to test.
Photo of Conlan O'Rourke

Conlan O'Rourke

  • 3,280 Points 3k badge 2x thumb
Bill, 

The calendar component isn't respecting StartDateTime and EndDateTime boundary conditions that should be applied depending on the Month, Week, Day visible.

When trying to navigate from month to month, Apex Heap limit errors appear unless we apply manual date range conditions to all of the event source models...forcing us to have to use actions to activate/deactivate the event source models...and it's getting kind of complicated having all these activate/deactivate actions

Here's the XML for the page Pat is referring to:

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" showheader="true" theme="Modern">
    <models>
        <model id="MasterFilter" limit="1" query="false" createrowifnonefound="false" type="" sobject="Daily_Meal_Plan__c" orderby="" doclone="" datasource="salesforce" unloadwarningifunsavedchanges="false">
            <fields>
                <field id="Date__c"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Date__c" operator="gte" state="filterableoff" inactive="true" name="Start_Date__c"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Date__c" operator="lte" state="filterableoff" inactive="true" name="End_Date__c"/>
            </conditions>
            <actions>
                <action>
                    <actions>
                        <action type="blockUI"/>
                        <action type="branch" model="MasterFilter" label="StartDateActive">
                            <iftrueactions>
                                <action type="deactivateCondition" model="DMP1stWave" condition="THISQUARTER"/>
                                <action type="setCondition" model="DMPClosed" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="DMPGrab" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="DMP1stWave" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="EventHeadcountDone" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="EventDrafts" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="EventOther" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="EventClosed" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="deactivateCondition" model="DMPClosed" condition="EndDate"/>
                                <action type="deactivateCondition" model="DMPGrab" condition="EndDate"/>
                                <action type="deactivateCondition" model="DMP1stWave" condition="EndDate"/>
                                <action type="deactivateCondition" model="EventHeadcountDone" condition="EndDate"/>
                                <action type="deactivateCondition" model="EventOther" condition="EndDate"/>
                                <action type="deactivateCondition" model="EventDrafts" condition="EndDate"/>
                                <action type="deactivateCondition" model="EventClosed" condition="EndDate"/>
                                <action type="requeryModels" behavior="standard">
                                    <models>
                                        <model>DMPClosed</model>
                                        <model>DMPGrab</model>
                                        <model>DMP1stWave</model>
                                        <model>EventHeadcountDone</model>
                                        <model>EventOther</model>
                                        <model>EventDrafts</model>
                                        <model>EventClosed</model>
                                    </models>
                                    <onerroractions>
                                        <action type="blockUI" message="You are loading too much data. Please set a more restrictive EndDate." timeout="3000"/>
                                    </onerroractions>
                                </action>
                                <action type="updateRow" fieldmodel="DateRange" affectedrows="context" field="CurrentQuarter" enclosevalueinquotes="false" value="false"/>
                                <action type="unblockUI"/>
                            </iftrueactions>
                            <formula>{{$Model.MasterFilter.conditions.0.value}}
&amp;&amp;
!{{$Model.MasterFilter.conditions.1.value}}</formula>
                        </action>
                        <action type="branch" model="MasterFilter" label="EndDateActive">
                            <iftrueactions>
                                <action type="deactivateCondition" model="DMP1stWave" condition="THISQUARTER"/>
                                <action type="setCondition" model="DMPClosed" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="DMPGrab" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="DMP1stWave" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="EventHeadcountDone" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="EventDrafts" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="EventOther" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="EventClosed" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="deactivateCondition" model="DMPClosed" condition="StartDate"/>
                                <action type="deactivateCondition" model="DMPGrab" condition="StartDate"/>
                                <action type="deactivateCondition" model="DMP1stWave" condition="StartDate"/>
                                <action type="deactivateCondition" model="EventHeadcountDone" condition="StartDate"/>
                                <action type="deactivateCondition" model="EventOther" condition="StartDate"/>
                                <action type="deactivateCondition" model="EventDrafts" condition="StartDate"/>
                                <action type="deactivateCondition" model="EventClosed" condition="StartDate"/>
                                <action type="requeryModels" behavior="standard">
                                    <models>
                                        <model>DMPClosed</model>
                                        <model>DMPGrab</model>
                                        <model>DMP1stWave</model>
                                        <model>EventHeadcountDone</model>
                                        <model>EventOther</model>
                                        <model>EventDrafts</model>
                                        <model>EventClosed</model>
                                    </models>
                                    <onerroractions>
                                        <action type="blockUI" message="You are loading too much data. Please set a more restrictive StartDate." timeout="3000"/>
                                    </onerroractions>
                                </action>
                                <action type="updateRow" fieldmodel="DateRange" affectedrows="context" field="CurrentQuarter" enclosevalueinquotes="false" value="false"/>
                                <action type="unblockUI"/>
                            </iftrueactions>
                            <formula>!{{$Model.MasterFilter.conditions.0.value}}
&amp;&amp;
{{$Model.MasterFilter.conditions.1.value}}</formula>
                        </action>
                        <action type="branch" model="MasterFilter" label="BothActive">
                            <iftrueactions>
                                <action type="deactivateCondition" model="DMP1stWave" condition="THISQUARTER"/>
                                <action type="setCondition" model="DMPClosed" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="DMPGrab" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="DMP1stWave" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="EventHeadcountDone" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="EventDrafts" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="EventOther" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="EventClosed" condition="StartDate" value="{{$Model.MasterFilter.conditions.0.value}}"/>
                                <action type="setCondition" model="DMPClosed" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="DMPGrab" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="DMP1stWave" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="EventHeadcountDone" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="EventDrafts" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="EventOther" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="setCondition" model="EventClosed" condition="EndDate" value="{{$Model.MasterFilter.conditions.1.value}}"/>
                                <action type="requeryModels" behavior="standard">
                                    <models>
                                        <model>DMPClosed</model>
                                        <model>DMPGrab</model>
                                        <model>DMP1stWave</model>
                                        <model>EventHeadcountDone</model>
                                        <model>EventOther</model>
                                        <model>EventDrafts</model>
                                        <model>EventClosed</model>
                                    </models>
                                    <onerroractions>
                                        <action type="blockUI" message="There was an error" timeout="3000"/>
                                    </onerroractions>
                                </action>
                                <action type="updateRow" fieldmodel="DateRange" affectedrows="context" field="CurrentQuarter" enclosevalueinquotes="false"/>
                                <action type="unblockUI"/>
                            </iftrueactions>
                            <formula>{{$Model.MasterFilter.conditions.0.value}}
&amp;&amp;
{{$Model.MasterFilter.conditions.1.value}}</formula>
                        </action>
                        <action type="branch" label="NothingActive" model="MasterFilter">
                            <iftrueactions>
                                <action type="deactivateCondition" model="DMPClosed" condition="StartDate"/>
                                <action type="deactivateCondition" model="DMPGrab" condition="StartDate"/>
                                <action type="deactivateCondition" model="DMP1stWave" condition="StartDate"/>
                                <action type="deactivateCondition" model="EventHeadcountDone" condition="StartDate"/>
                                <action type="deactivateCondition" model="EventOther" condition="EndDate"/>
                                <action type="deactivateCondition" model="EventDrafts" condition="StartDate"/>
                                <action type="deactivateCondition" model="EventClosed" condition="StartDate"/>
                                <action type="deactivateCondition" model="DMPClosed" condition="EndDate"/>
                                <action type="deactivateCondition" model="DMPGrab" condition="EndDate"/>
                                <action type="deactivateCondition" model="DMP1stWave" condition="EndDate"/>
                                <action type="deactivateCondition" model="EventHeadcountDone" condition="EndDate"/>
                                <action type="deactivateCondition" model="EventOther" condition="EndDate"/>
                                <action type="deactivateCondition" model="EventDrafts" condition="EndDate"/>
                                <action type="deactivateCondition" model="EventClosed" condition="EndDate"/>
                                <action type="activateCondition" model="DMP1stWave" behavior="standard" condition="THISQUARTER"/>
                                <action type="requeryModels" behavior="standard">
                                    <models>
                                        <model>DMPClosed</model>
                                        <model>DMPGrab</model>
                                        <model>DMP1stWave</model>
                                        <model>EventHeadcountDone</model>
                                        <model>EventOther</model>
                                        <model>EventDrafts</model>
                                        <model>EventClosed</model>
                                    </models>
                                    <onerroractions>
                                        <action type="blockUI" message="There was an error" timeout="3000"/>
                                    </onerroractions>
                                </action>
                                <action type="updateRow" fieldmodel="DateRange" affectedrows="context" field="CurrentQuarter" enclosevalueinquotes="false" value="true"/>
                                <action type="unblockUI"/>
                            </iftrueactions>
                            <formula>!{{$Model.MasterFilter.conditions.0.value}}
&amp;&amp;
!{{$Model.MasterFilter.conditions.1.value}}</formula>
                        </action>
                    </actions>
                    <events>
                        <event>models.loaded</event>
                    </events>
                    <conditions>
                        <condition>Start_Date__c</condition>
                    </conditions>
                </action>
            </actions>
        </model>
        <model id="AllSchoolAgreements" limit="" query="true" createrowifnonefound="false" type="" sobject="School_Agreement__c" orderby="Name" datasource="salesforce" doclone="">
            <fields>
                <field id="Name"/>
                <field id="Short_Name__c"/>
            </fields>
            <conditions>
                <condition type="multiple" value="" field="Program_Status__c" operator="not in" enclosevalueinquotes="true">
                    <values>
                        <value>Prospect</value>
                        <value>InActive</value>
                    </values>
                </condition>
            </conditions>
            <actions/>
        </model>
        <model id="SchoolAgreement" limit="10" query="true" createrowifnonefound="false" type="" sobject="School_Agreement__c" doclone="" datasource="salesforce">
            <fields>
                <field id="Name"/>
                <field id="Short_Name__c"/>
                <field id="Id"/>
                <field id="Delivery_Address_Link__c"/>
                <field id="School_Notes__c"/>
                <field id="Delivery_Contact_Name__c"/>
                <field id="Delivery_Contact_Phone__c"/>
                <field id="Delivery_Contact_2nd_Name__c"/>
                <field id="Delivery_Contact_2nd_Phone__c"/>
                <field id="Delivery_Notes__c"/>
                <field id="Send_Email_To__c"/>
                <field id="Month__c"/>
                <field id="Start__c"/>
                <field id="School_Name__c"/>
                <field id="End__c"/>
                <field id="Pink_Sheets__c"/>
            </fields>
            <conditions>
                <condition type="param" value="id" field="Name" operator="=" novaluebehavior="" state="filterableon" inactive="false" name="urlname" enclosevalueinquotes="true"/>
            </conditions>
            <actions>
                <action>
                    <actions>
                        <action type="requeryModels" behavior="standard">
                            <models>
                                <model>DMPClosed</model>
                                <model>DMPGrab</model>
                                <model>DMP1stWave</model>
                                <model>EventHeadcountDone</model>
                                <model>EventOther</model>
                                <model>EventDrafts</model>
                                <model>EventsList</model>
                                <model>DMPDailyMenu</model>
                                <model>EventClosed</model>
                            </models>
                        </action>
                        <action type="activateCondition" model="DMP1stWave" condition="THISQUARTER"/>
                        <action type="deactivateCondition" model="DMP1stWave" condition="Start_Date__c"/>
                        <action type="deactivateCondition" model="DMP1stWave" condition="End_Date__c"/>
                        <action type="updateRow" fieldmodel="DateRange" affectedrows="context" field="CurrentQuarter" enclosevalueinquotes="false" value="true"/>
                    </actions>
                    <events>
                        <event>models.loaded</event>
                    </events>
                </action>
            </actions>
        </model>
        <model id="DateRange" query="true" createrowifnonefound="true" datasource="Ui-Only" processonclient="true">
            <fields>
                <field id="CurrentQuarter" displaytype="BOOLEAN" label="CurrentQuarter" ogdisplaytype="TEXT"/>
            </fields>
            <conditions/>
            <actions/>
        </model>
        <model id="DMPClosed" limit="" query="false" createrowifnonefound="false" type="" sobject="Daily_Meal_Plan__c" orderby="" datasource="salesforce">
            <fields>
                <field id="School_Agreement__c"/>
                <field id="School_Agreement__r.Name"/>
                <field id="School_Name__c"/>
                <field id="Open__c"/>
                <field id="Date__c" overridemetadata="false" ogdisplaytype="DATE" displaytype="DATE" label="Date" readonly="true" returntype="DATETIME"/>
                <field id="Breakfast_or_2nd_Snack_Mealtime__c"/>
                <field id="Grab_Go_Mealtime__c"/>
                <field id="Lunch_Mealtime__c"/>
                <field id="Snack_Mealtime__c"/>
                <field id="X2nd_Snack_Active__c"/>
                <field id="Breakfast_Active__c"/>
                <field id="Breakfast_or_2nd_Wave_Active__c"/>
                <field id="Grab_Go_Active__c"/>
                <field id="Lunch_Active__c"/>
                <field id="Snack_Active__c"/>
                <field id="DMPStartDateTime" uionly="true" displaytype="FORMULA" label="DMPStartDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{DMPDateText}}+" 04:00:00"</formula>
                </field>
                <field id="DMPEndDateTime" uionly="true" displaytype="FORMULA" label="DMPEndDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{DMPDateText}}+" 04:30:00"</formula>
                </field>
                <field id="DMP_Index__c"/>
                <field id="DMPDateText" uionly="true" displaytype="FORMULA" label="DMPDateText" readonly="true" returntype="TEXT">
                    <formula>{{Date__c}}</formula>
                </field>
                <field id="Short_Name__c"/>
                <field id="Log_History__c"/>
                <field id="DoTW_Text__c"/>
            </fields>
            <conditions>
                <condition type="modelmerge" value="" field="School_Name__c" operator="=" novaluebehavior="noquery" state="" model="SchoolAgreement" enclosevalueinquotes="true" mergefield="Name"/>
                <condition type="fieldvalue" value="false" enclosevalueinquotes="false" field="Open__c"/>
                <condition type="fieldvalue" value="2017-06-01" enclosevalueinquotes="false" field="Date__c" operator="gte"/>
                <condition type="fieldvalue" value="2018-06-30" enclosevalueinquotes="false" field="Date__c" operator="lte"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Date__c" operator="gte" state="filterableoff" inactive="true" name="StartDate"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Date__c" operator="lte" state="filterableoff" inactive="true" name="EndDate"/>
            </conditions>
            <actions/>
        </model>
        <model id="DMPGrab" limit="" query="false" createrowifnonefound="false" type="" sobject="Daily_Meal_Plan__c" orderby="" doclone="" datasource="salesforce">
            <fields>
                <field id="School_Agreement__c"/>
                <field id="School_Agreement__r.Name"/>
                <field id="School_Name__c"/>
                <field id="Open__c"/>
                <field id="Date__c" overridemetadata="false" ogdisplaytype="DATE" displaytype="DATE" label="Date" readonly="true" returntype="DATETIME"/>
                <field id="Breakfast_or_2nd_Snack_Mealtime__c"/>
                <field id="Grab_Go_Mealtime__c"/>
                <field id="Lunch_Mealtime__c"/>
                <field id="Snack_Mealtime__c"/>
                <field id="X2nd_Snack_Active__c"/>
                <field id="Breakfast_Active__c"/>
                <field id="Breakfast_or_2nd_Wave_Active__c"/>
                <field id="Grab_Go_Active__c"/>
                <field id="Lunch_Active__c"/>
                <field id="Snack_Active__c"/>
                <field id="DMPStartDateTime" uionly="true" displaytype="FORMULA" label="DMPStartDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{DMPDateText}}+" 05:00:00"</formula>
                </field>
                <field id="DMPEndDateTime" uionly="true" displaytype="FORMULA" label="DMPEndDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{DMPDateText}}+" 05:30:00"</formula>
                </field>
                <field id="DMP_Index__c"/>
                <field id="DMPDateText" uionly="true" displaytype="FORMULA" label="DMPDateText" readonly="true" returntype="TEXT">
                    <formula>{{Date__c}}</formula>
                </field>
                <field id="Short_Name__c"/>
            </fields>
            <conditions>
                <condition type="modelmerge" value="" field="School_Name__c" operator="=" novaluebehavior="noquery" state="" model="SchoolAgreement" enclosevalueinquotes="true" mergefield="Name"/>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Open__c"/>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Grab_Go_Active__c"/>
                <condition type="fieldvalue" value="2017-06-01" enclosevalueinquotes="false" field="Date__c" operator="gte"/>
                <condition type="fieldvalue" value="2018-06-30" enclosevalueinquotes="false" field="Date__c" operator="lte"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Date__c" operator="gte" state="filterableoff" inactive="true" name="StartDate"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Date__c" operator="lte" state="filterableoff" inactive="true" name="EndDate"/>
            </conditions>
            <actions/>
        </model>
        <model id="DMP1stWave" limit="" query="false" createrowifnonefound="false" type="" sobject="Daily_Meal_Plan__c" orderby="" doclone="" datasource="salesforce">
            <fields>
                <field id="School_Agreement__c"/>
                <field id="School_Agreement__r.Name"/>
                <field id="School_Name__c"/>
                <field id="Open__c"/>
                <field id="Date__c" overridemetadata="false" ogdisplaytype="DATE" displaytype="DATE" label="Date" readonly="true" returntype="DATETIME"/>
                <field id="Breakfast_or_2nd_Snack_Mealtime__c"/>
                <field id="Grab_Go_Mealtime__c"/>
                <field id="Lunch_Mealtime__c"/>
                <field id="Snack_Mealtime__c"/>
                <field id="X2nd_Snack_Active__c"/>
                <field id="Breakfast_Active__c"/>
                <field id="Breakfast_or_2nd_Wave_Active__c"/>
                <field id="Grab_Go_Active__c"/>
                <field id="Lunch_Active__c"/>
                <field id="Snack_Active__c"/>
                <field id="DMPStartDateTime" uionly="true" displaytype="FORMULA" label="DMPStartDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{DMPDateText}}+" 07:00:00"</formula>
                </field>
                <field id="DMPEndDateTime" uionly="true" displaytype="FORMULA" label="DMPEndDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{DMPDateText}}+" 08:30:00"</formula>
                </field>
                <field id="DMP_Index__c"/>
                <field id="DMPDateText" uionly="true" displaytype="FORMULA" label="DMPDateText" readonly="true" returntype="TEXT">
                    <formula>{{Date__c}}</formula>
                </field>
                <field id="Short_Name__c"/>
                <field id="X2nd_Snack_HC_Classic_Final__c"/>
                <field id="X2nd_Snack_HC_Egg_Dairy_Free_Final__c"/>
                <field id="X2nd_Snack_HC_Gluten_Free_Final__c"/>
                <field id="X2nd_Snack_HC_Total__c"/>
                <field id="Breakfast_HC_Classic_Final__c"/>
                <field id="Breakfast_HC_Egg_Dairy_Free_Final__c"/>
                <field id="Breakfast_HC_Gluten_Free_Final__c"/>
                <field id="Breakfast_HC_Total__c"/>
                <field id="Grab_Go_HC_Basic_Final__c"/>
                <field id="Grab_Go_HC_Egg_Dairy_Free_Final__c"/>
                <field id="Grab_Go_HC_Gluten_Free_Final__c"/>
                <field id="Grab_Go_HC_Total__c"/>
                <field id="Grab_Go_HC_Vegetarian_Free_Final__c"/>
                <field id="Lunch_HC_Classic_Final__c"/>
                <field id="Lunch_HC_Egg_Dairy_Free_Final__c"/>
                <field id="Lunch_HC_Gluten_Free_Final__c"/>
                <field id="Lunch_HC_Vegetarian_Final__c"/>
                <field id="Lunch_HC_Total__c"/>
                <field id="Snack_HC_Classic_Final__c"/>
                <field id="Snack_HC_Egg_Dairy_Free_Final__c"/>
                <field id="Snack_HC_Gluten_Free_Final__c"/>
                <field id="Snack_HC_Total__c"/>
                <field id="DoTW_Text__c"/>
                <field id="Has_1st_Wave_Route__c"/>
                <field id="Has_1st_Wave_Pans__c"/>
                <field id="Has_2nd_Wave_Route__c"/>
                <field id="Has_2nd_Wave_Pans__c"/>
                <field id="Breakfast_or_2nd_Snack_HC_Total__c"/>
                <field id="Breakfast_or_2nd_Snack_HC_Classic_Final__c"/>
                <field id="Breakfast_or_2nd_Snack_Gluten_Final__c"/>
                <field id="Breakfast_or_2nd_Snack_ED_Final__c"/>
                <field id="Breakfast_or_2nd_Snack_is_2nd_Wave__c"/>
                <field id="Grab_Go_is_2nd_Wave__c"/>
                <field id="Snack_is_2nd_Wave__c"/>
                <field id="Lunch_is_2nd_Wave_OR_Peak_Delivery__c"/>
                <field id="X1st_Wave_Route_Time__c"/>
                <field id="X1st_Wave_Routing__c"/>
                <field id="X2nd_Wave_Route_Time__c"/>
                <field id="X2nd_Wave_Routing__c"/>
                <field id="Grab_Go_HC_By_Classroom__c"/>
                <field id="Lunch_HC_By_Classroom__c"/>
                <field id="Snack_HC_By_Classroom__c"/>
                <field id="Breakfast_or_2nd_Snack_by_Classroom__c"/>
                <field id="DS_Has_Milk__c"/>
                <field id="DS_Has_Supplies__c"/>
                <field id="DS_Bulk_1_Qts__c"/>
                <field id="DS_Bulk_Organic_Qts__c"/>
                <field id="DS_Bulk_Whole_Qts__c"/>
                <field id="DS_Indv_1_Case__c"/>
                <field id="DS_Indv_Skim_Case__c"/>
                <field id="DS_Indv_Whole_Case__c"/>
                <field id="DS_Lactaid_Case__c"/>
                <field id="DS_Soy_MIlk_Qts__c"/>
                <field id="DS_Water_Indv__c"/>
                <field id="Slot_09__c"/>
                <field id="Slot_09__r.Name"/>
                <field id="Slot_10__c"/>
                <field id="Slot_10__r.Name"/>
                <field id="Slot_11__c"/>
                <field id="Slot_11__r.Name"/>
                <field id="Slot_12__c"/>
                <field id="Slot_12__r.Name"/>
                <field id="Slot_13__c"/>
                <field id="Slot_13__r.Name"/>
                <field id="Slot_14__c"/>
                <field id="Slot_14__r.Name"/>
                <field id="Slot_15__c"/>
                <field id="Slot_15__r.Name"/>
                <field id="Slot_16__c"/>
                <field id="Slot_16__r.Name"/>
                <field id="Slot_17__c"/>
                <field id="Slot_17__r.Name"/>
                <field id="Slot_18__c"/>
                <field id="Slot_18__r.Name"/>
                <field id="Slot_19__c"/>
                <field id="Slot_19__r.Name"/>
                <field id="Pan_Sm_Slot_09__c"/>
                <field id="Pan_Sm_Slot_10__c"/>
                <field id="Pan_Sm_Slot_11__c"/>
                <field id="Pan_Sm_Slot_12__c"/>
                <field id="Pan_Sm_Slot_13__c"/>
                <field id="Pan_Sm_Slot_14__c"/>
                <field id="Pan_Sm_Slot_15__c"/>
                <field id="Pan_Sm_Slot_16__c"/>
                <field id="Pan_Sm_Slot_17__c"/>
                <field id="Pan_Sm_Slot_18__c"/>
                <field id="Pan_Sm_Slot_19__c"/>
                <field id="Pan_Sm_Slot_20__c"/>
                <field id="Pan_Lg_Slot_09__c"/>
                <field id="Pan_Lg_Slot_10__c"/>
                <field id="Pan_Lg_Slot_11__c"/>
                <field id="Pan_Lg_Slot_12__c"/>
                <field id="Pan_Lg_Slot_13__c"/>
                <field id="Pan_Lg_Slot_14__c"/>
                <field id="Pan_Lg_Slot_15__c"/>
                <field id="Pan_Lg_Slot_16__c"/>
                <field id="Pan_Lg_Slot_17__c"/>
                <field id="Pan_Lg_Slot_18__c"/>
                <field id="Pan_Lg_Slot_19__c"/>
                <field id="Pan_Lg_Slot_20__c"/>
                <field id="Breakfast_or_2nd_Snack_Slot_01__c"/>
                <field id="Breakfast_or_2nd_Snack_Slot_02__c"/>
                <field id="Breakfast_or_2nd_Snack_Slot_03__c"/>
                <field id="Breakfast_or_2nd_Snack_Slot_04__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Lg_Slot_01__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Lg_Slot_02__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Lg_Slot_03__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Lg_Slot_04__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Sm_Slot_01__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Sm_Slot_02__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Sm_Slot_03__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Sm_Slot_04__c"/>
                <field id="Log_History__c"/>
                <field id="DS_Bowl_Case__c"/>
                <field id="DS_Bowl_Sleeve__c"/>
                <field id="DS_Fork_Case__c"/>
                <field id="DS_Fork_Sleeve__c"/>
                <field id="DS_Lg_Cup_Sleeve__c"/>
                <field id="DS_Lg_Plate_Case__c"/>
                <field id="DS_Lg_Plate_Sleeve__c"/>
                <field id="DS_Napkin_Case__c"/>
                <field id="DS_Napkin_Sleeve__c"/>
                <field id="DS_Sm_Cup_Sleeve__c"/>
                <field id="DS_Sm_Plate_Case__c"/>
                <field id="DS_Sm_Plate_Sleeve__c"/>
                <field id="DS_Spoon_Case__c"/>
                <field id="DS_Spoon_Sleeve__c"/>
                <field id="School_Agreement__r.Id"/>
                <field id="Id"/>
                <field id="Breakfast_HC_By_Classroom__c"/>
                <field id="X2nd_Snack_HC_By_Classroom__c"/>
            </fields>
            <conditions>
                <condition type="modelmerge" value="" field="School_Name__c" operator="=" novaluebehavior="noquery" state="" model="SchoolAgreement" enclosevalueinquotes="true" mergefield="Name"/>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Open__c"/>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Has_1st_Wave_Route__c" state="filterableoff" inactive="true" name="Has_1st_Wave_Route__c"/>
                <condition type="fieldvalue" value="" field="Date__c" operator="gte" state="filterableoff" inactive="true" name="StartDate" mergefield="Id" novaluebehavior="deactivate" enclosevalueinquotes="false"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Date__c" operator="lte" state="filterableoff" inactive="true" name="EndDate"/>
                <condition type="fieldvalue" value="THIS_QUARTER" enclosevalueinquotes="false" field="Date__c" state="filterableon" inactive="false" name="THISQUARTER"/>
            </conditions>
            <actions/>
        </model>
        <model id="EventHeadcountDone" limit="" query="false" createrowifnonefound="false" type="" sobject="School_Event__c" orderby="" datasource="salesforce">
            <fields>
                <field id="Start_Date__c"/>
                <field id="Start_DateTime__c"/>
                <field id="End_Date__c"/>
                <field id="End_DateTime__c"/>
                <field id="Multiple_Days__c"/>
                <field id="Apply_to_All_Future_Dates__c"/>
                <field id="StartDateText" uionly="true" displaytype="FORMULA" label="StartDateText" readonly="true" returntype="TEXT">
                    <formula>{{Start_Date__c}}</formula>
                </field>
                <field id="EndDateText" uionly="true" displaytype="FORMULA" label="EndDateText" readonly="true" returntype="TEXT">
                    <formula>IF({{Apply_to_All_Future_Dates__c}}, {{Start_Date__c}},{{End_Date_Formula__c}})</formula>
                </field>
                <field id="EventStartDateTime" uionly="true" displaytype="FORMULA" label="EventStartDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{StartDateText}}+" 04:30:00"</formula>
                </field>
                <field id="EventEndDateTime" uionly="true" displaytype="FORMULA" label="EventEndDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{EndDateText}}+" 05:00:00"</formula>
                </field>
                <field id="End_Date_Formula__c"/>
                <field id="Subject__c"/>
                <field id="Notes__c"/>
                <field id="Submitted_By__c"/>
                <field id="Entered_by_Data__c"/>
                <field id="Update_Grab_Go__c"/>
                <field id="CreatedDate"/>
                <field id="LastModifiedDate"/>
                <field id="Event_Type__c"/>
                <field id="Is_Event__c"/>
                <field id="Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Is_Event__c"/>
                <condition type="fieldvalue" value="2016-06-01" enclosevalueinquotes="false" field="Start_Date__c" operator="gte"/>
                <condition type="modelmerge" value="" field="School_Agreement__c" operator="=" model="SchoolAgreement" enclosevalueinquotes="true" mergefield="Id" novaluebehavior="noquery"/>
                <condition type="multiple" value="" field="Event_Type__c" operator="in" enclosevalueinquotes="true">
                    <values>
                        <value>Headcount Change</value>
                        <value>Grab &amp; Go</value>
                    </values>
                </condition>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Entered_by_Data__c"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Start_Date__c" operator="gte" state="filterableoff" inactive="true" name="StartDate"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Start_Date__c" operator="lte" state="filterableoff" inactive="true" name="EndDate"/>
            </conditions>
            <actions/>
        </model>
        <model id="EventOther" limit="" query="false" createrowifnonefound="false" type="" sobject="School_Event__c" orderby="" datasource="salesforce">
            <fields>
                <field id="Start_Date__c"/>
                <field id="Start_DateTime__c"/>
                <field id="End_Date__c"/>
                <field id="End_DateTime__c"/>
                <field id="Multiple_Days__c"/>
                <field id="Apply_to_All_Future_Dates__c"/>
                <field id="StartDateText" uionly="true" displaytype="FORMULA" label="StartDateText" readonly="true" returntype="TEXT">
                    <formula>{{Start_Date__c}}</formula>
                </field>
                <field id="EndDateText" uionly="true" displaytype="FORMULA" label="EndDateText" readonly="true" returntype="TEXT">
                    <formula>IF({{Apply_to_All_Future_Dates__c}}, {{Start_Date__c}},{{End_Date_Formula__c}})</formula>
                </field>
                <field id="EventStartDateTime" uionly="true" displaytype="FORMULA" label="EventStartDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{StartDateText}}+" 06:00:00"</formula>
                </field>
                <field id="EventEndDateTime" uionly="true" displaytype="FORMULA" label="EventEndDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{EndDateText}}+" 06:30:00"</formula>
                </field>
                <field id="End_Date_Formula__c"/>
                <field id="Subject__c"/>
                <field id="Notes__c"/>
                <field id="Submitted_By__c"/>
                <field id="Entered_by_Data__c"/>
                <field id="Event_Type__c"/>
                <field id="School_Agreement__c"/>
                <field id="School_Agreement__r.Name"/>
                <field id="DOTW" uionly="true" displaytype="FORMULA" label="DOTW" readonly="true" returntype="TEXT">
                    <formula>DAY_OF_WEEK({{Start_Date__c}})</formula>
                </field>
                <field id="LastModifiedDate"/>
                <field id="CreatedDate"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Is_Event__c"/>
                <condition type="fieldvalue" value="2016-06-01" enclosevalueinquotes="false" field="Start_Date__c" operator="gte"/>
                <condition type="modelmerge" value="" field="School_Agreement__c" operator="=" model="SchoolAgreement" enclosevalueinquotes="true" mergefield="Id" novaluebehavior="noquery"/>
                <condition type="multiple" value="" field="Event_Type__c" operator="not in" enclosevalueinquotes="true">
                    <values>
                        <value>Headcount Change</value>
                        <value>Grab &amp; Go</value>
                        <value>Holiday/Closings</value>
                    </values>
                </condition>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Entered_by_Data__c"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Start_Date__c" operator="gte" state="filterableoff" inactive="true" name="StartDate"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Start_Date__c" operator="lte" state="filterableoff" inactive="true" name="EndDate"/>
            </conditions>
            <actions/>
        </model>
        <model id="EventDrafts" limit="" query="false" createrowifnonefound="false" type="" sobject="School_Event__c" orderby="" datasource="salesforce">
            <fields>
                <field id="Start_Date__c"/>
                <field id="Start_DateTime__c"/>
                <field id="End_Date__c"/>
                <field id="End_DateTime__c"/>
                <field id="Multiple_Days__c"/>
                <field id="Apply_to_All_Future_Dates__c"/>
                <field id="StartDateText" uionly="true" displaytype="FORMULA" label="StartDateText" readonly="true" returntype="TEXT">
                    <formula>{{Start_Date__c}}</formula>
                </field>
                <field id="EndDateText" uionly="true" displaytype="FORMULA" label="EndDateText" readonly="true" returntype="TEXT">
                    <formula>IF({{Apply_to_All_Future_Dates__c}}, {{Start_Date__c}},{{End_Date_Formula__c}})</formula>
                </field>
                <field id="EventStartDateTime" uionly="true" displaytype="FORMULA" label="EventStartDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{StartDateText}}+" 04:30:00"</formula>
                </field>
                <field id="EventEndDateTime" uionly="true" displaytype="FORMULA" label="EventEndDateTime" readonly="true" returntype="DATETIME">
                    <formula>{{EndDateText}}+" 05:00:00"</formula>
                </field>
                <field id="End_Date_Formula__c"/>
                <field id="Subject__c"/>
                <field id="Notes__c"/>
                <field id="Submitted_By__c"/>
                <field id="Event_Type__c"/>
                <field id="Entered_by_Data__c"/>
                <field id="LastModifiedDate"/>
                <field id="CreatedDate"/>
                <field id="HC_Lunch_Classic__c"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Is_Event__c"/>
                <condition type="fieldvalue" value="2016-06-01" enclosevalueinquotes="false" field="Start_Date__c" operator="gte"/>
                <condition type="modelmerge" value="" field="School_Agreement__c" operator="=" model="SchoolAgreement" enclosevalueinquotes="true" mergefield="Id" novaluebehavior="noquery"/>
                <condition type="fieldvalue" value="false" enclosevalueinquotes="false" field="Entered_by_Data__c"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Start_Date__c" operator="gte" state="filterableoff" inactive="true" name="StartDate"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Start_Date__c" operator="lte" state="filterableoff" inactive="true" name="EndDate"/>
            </conditions>
            <actions/>
        </model>
        <model id="EventsList" limit="" query="false" createrowifnonefound="false" type="" sobject="School_Event__c" orderby="" datasource="salesforce">
            <fields>
                <field id="Start_Date__c"/>
                <field id="End_Date_Formula__c"/>
                <field id="Event_Type__c"/>
                <field id="Subject__c"/>
                <field id="Submitted_By__c"/>
                <field id="Notes__c"/>
                <field id="Entered_by_Data__c"/>
                <field id="Entered_by_Data_Date_and_Time__c"/>
                <field id="Name"/>
            </fields>
            <conditions>
                <condition type="modelmerge" value="" field="School_Agreement__c" state="" operator="=" model="SchoolAgreement" enclosevalueinquotes="true" mergefield="Id" novaluebehavior="noquery"/>
                <condition type="fieldvalue" value="LAST_MONTH" enclosevalueinquotes="false" field="Start_Date__c" operator="gte" state="filterableon" inactive="false" name="Start_Date__c"/>
                <condition type="fieldvalue" value="true" enclosevalueinquotes="false" field="Is_Event__c" state=""/>
                <condition type="fieldvalue" value="false" enclosevalueinquotes="false" field="Entered_by_Data__c" state="filterableon" inactive="false" name="Entered_by_Data__c"/>
            </conditions>
            <actions/>
        </model>
        <model id="DMPDailyMenu" limit="" query="false" createrowifnonefound="false" type="" sobject="Daily_Meal_Plan__c" datasource="salesforce">
            <fields>
                <field id="School_Name__c"/>
                <field id="Short_Name__c"/>
                <field id="Slot_09__c"/>
                <field id="Slot_09__r.Name"/>
                <field id="Slot_10__c"/>
                <field id="Slot_10__r.Name"/>
                <field id="Slot_11__c"/>
                <field id="Slot_11__r.Name"/>
                <field id="Slot_12__c"/>
                <field id="Slot_12__r.Name"/>
                <field id="Slot_13__c"/>
                <field id="Slot_13__r.Name"/>
                <field id="Slot_14__c"/>
                <field id="Slot_14__r.Name"/>
                <field id="Slot_15__c"/>
                <field id="Slot_15__r.Name"/>
                <field id="Slot_16__c"/>
                <field id="Slot_16__r.Name"/>
                <field id="Slot_17__c"/>
                <field id="Slot_17__r.Name"/>
                <field id="Slot_18__c"/>
                <field id="Slot_18__r.Name"/>
                <field id="Slot_19__c"/>
                <field id="Slot_19__r.Name"/>
                <field id="Slot_20__c"/>
                <field id="Slot_20__r.Name"/>
                <field id="Pan_Sm_Slot_09__c"/>
                <field id="Pan_Sm_Slot_10__c"/>
                <field id="Pan_Sm_Slot_11__c"/>
                <field id="Pan_Sm_Slot_12__c"/>
                <field id="Pan_Sm_Slot_13__c"/>
                <field id="Pan_Sm_Slot_14__c"/>
                <field id="Pan_Sm_Slot_15__c"/>
                <field id="Pan_Sm_Slot_16__c"/>
                <field id="Pan_Sm_Slot_17__c"/>
                <field id="Pan_Sm_Slot_18__c"/>
                <field id="Pan_Sm_Slot_19__c"/>
                <field id="Pan_Sm_Slot_20__c"/>
                <field id="Pan_Lg_Slot_09__c"/>
                <field id="Pan_Lg_Slot_10__c"/>
                <field id="Pan_Lg_Slot_11__c"/>
                <field id="Pan_Lg_Slot_12__c"/>
                <field id="Pan_Lg_Slot_13__c"/>
                <field id="Pan_Lg_Slot_14__c"/>
                <field id="Pan_Lg_Slot_15__c"/>
                <field id="Pan_Lg_Slot_16__c"/>
                <field id="Pan_Lg_Slot_17__c"/>
                <field id="Pan_Lg_Slot_18__c"/>
                <field id="Pan_Lg_Slot_19__c"/>
                <field id="Pan_Lg_Slot_20__c"/>
                <field id="Pan_Indv_Lg_Slot_09__c"/>
                <field id="Pan_Indv_Lg_Slot_10__c"/>
                <field id="Pan_Indv_Lg_Slot_11__c"/>
                <field id="Pan_Indv_Lg_Slot_12__c"/>
                <field id="Pan_Indv_Lg_Slot_13__c"/>
                <field id="Pan_Indv_Lg_Slot_14__c"/>
                <field id="Pan_Indv_Lg_Slot_15__c"/>
                <field id="Pan_Indv_Lg_Slot_16__c"/>
                <field id="Pan_Indv_Lg_Slot_17__c"/>
                <field id="Pan_Indv_Lg_Slot_18__c"/>
                <field id="Pan_Indv_Lg_Slot_19__c"/>
                <field id="Pan_Indv_Lg_Slot_20__c"/>
                <field id="Pan_Indv_Sm_Slot_09__c"/>
                <field id="Pan_Indv_Sm_Slot_10__c"/>
                <field id="Pan_Indv_Sm_Slot_11__c"/>
                <field id="Pan_Indv_Sm_Slot_12__c"/>
                <field id="Pan_Indv_Sm_Slot_13__c"/>
                <field id="Pan_Indv_Sm_Slot_14__c"/>
                <field id="Pan_Indv_Sm_Slot_15__c"/>
                <field id="Pan_Indv_Sm_Slot_16__c"/>
                <field id="Pan_Indv_Sm_Slot_17__c"/>
                <field id="Pan_Indv_Sm_Slot_18__c"/>
                <field id="Pan_Indv_Sm_Slot_19__c"/>
                <field id="Pan_Indv_Sm_Slot_20__c"/>
                <field id="Breakfast_or_2nd_Snack_Slot_01__c"/>
                <field id="Breakfast_or_2nd_Snack_Slot_02__c"/>
                <field id="Breakfast_or_2nd_Snack_Slot_03__c"/>
                <field id="Breakfast_or_2nd_Snack_Slot_04__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Lg_Slot_01__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Lg_Slot_02__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Lg_Slot_03__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Lg_Slot_04__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Sm_Slot_01__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Sm_Slot_02__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Sm_Slot_03__c"/>
                <field id="Breakfast_or_2nd_Snack_Pan_Sm_Slot_04__c"/>
                <field id="DoTW_Text__c"/>
                <field id="Date__c"/>
                <field id="Breakfast_or_2nd_Wave_Active__c"/>
                <field id="Lunch_Active__c"/>
                <field id="Grab_Go_Active__c"/>
                <field id="Snack_Active__c"/>
                <field id="Breakfast_or_2nd_Snack_HC_Classic_Final__c"/>
                <field id="Breakfast_or_2nd_Snack_Gluten_Final__c"/>
                <field id="Breakfast_or_2nd_Snack_ED_Final__c"/>
                <field id="Lunch_HC_Classic_Final__c"/>
                <field id="Lunch_HC_Egg_Dairy_Free_Final__c"/>
                <field id="Lunch_HC_Gluten_Free_Final__c"/>
                <field id="Lunch_HC_Vegetarian_Final__c"/>
                <field id="Snack_HC_Classic_Final__c"/>
                <field id="Snack_HC_Egg_Dairy_Free_Final__c"/>
                <field id="Snack_HC_Gluten_Free_Final__c"/>
                <field id="Pan_Lg_Class_Slot_09__c"/>
                <field id="Open__c"/>
            </fields>
            <conditions>
                <condition type="modelmerge" value="" field="School_Name__c" operator="=" model="SchoolAgreement" enclosevalueinquotes="true" mergefield="Name" novaluebehavior="noquery" state=""/>
                <condition type="fieldvalue" value="TODAY" enclosevalueinquotes="false" field="Date__c" state="filterableon" inactive="false" name="Date__c"/>
            </conditions>
            <actions/>
        </model>
        <model id="SchoolAgreementMenu" limit="1" query="true" createrowifnonefound="false" type="" sobject="School_Agreement__c" datasource="salesforce">
            <fields>
                <field id="School_Name__c"/>
                <field id="Month__c"/>
                <field id="Start__c"/>
                <field id="End__c"/>
                <field id="Menu__c"/>
                <field id="Menu_Start_Date__c"/>
                <field id="Menu_End_Date__c"/>
                <field id="Short_Name_Webmerge__c"/>
                <field id="Id"/>
                <field id="SingleMenu__c"/>
                <field id="Menu_Name_Online__c"/>
                <field id="School_Network_Webmerge__c"/>
                <field id="BR_F01__c"/>
                <field id="BR_F02__c"/>
                <field id="BR_F03__c"/>
                <field id="BR_F04__c"/>
                <field id="BR_M01__c"/>
                <field id="BR_M02__c"/>
                <field id="BR_M03__c"/>
                <field id="BR_M04__c"/>
                <field id="BR_R01__c"/>
                <field id="BR_R02__c"/>
                <field id="BR_R03__c"/>
                <field id="BR_R04__c"/>
                <field id="BR_T01__c"/>
                <field id="BR_T02__c"/>
                <field id="BR_T03__c"/>
                <field id="BR_T04__c"/>
                <field id="BR_W01__c"/>
                <field id="BR_W02__c"/>
                <field id="BR_W03__c"/>
                <field id="BR_W04__c"/>
                <field id="LN_F01__c"/>
                <field id="LN_F02__c"/>
                <field id="LN_F03__c"/>
                <field id="LN_F04__c"/>
                <field id="LN_F05__c"/>
                <field id="LN_F06__c"/>
                <field id="LN_F07__c"/>
                <field id="LN_F08__c"/>
                <field id="LN_M01__c"/>
                <field id="LN_M02__c"/>
                <field id="LN_M03__c"/>
                <field id="LN_M04__c"/>
                <field id="LN_M05__c"/>
                <field id="LN_M06__c"/>
                <field id="LN_M07__c"/>
                <field id="LN_M08__c"/>
                <field id="LN_R01__c"/>
                <field id="LN_R02__c"/>
                <field id="LN_R03__c"/>
                <field id="LN_R04__c"/>
                <field id="LN_R05__c"/>
                <field id="LN_R06__c"/>
                <field id="LN_R07__c"/>
                <field id="LN_R08__c"/>
                <field id="LN_T01__c"/>
                <field id="LN_T02__c"/>
                <field id="LN_T03__c"/>
                <field id="LN_T04__c"/>
                <field id="LN_T05__c"/>
                <field id="LN_T06__c"/>
                <field id="LN_T07__c"/>
                <field id="LN_T08__c"/>
                <field id="LN_W01__c"/>
                <field id="LN_W02__c"/>
                <field id="LN_W03__c"/>
                <field id="LN_W04__c"/>
                <field id="LN_W05__c"/>
                <field id="LN_W06__c"/>
                <field id="LN_W07__c"/>
                <field id="LN_W08__c"/>
                <field id="SN_F01__c"/>
                <field id="SN_F02__c"/>
                <field id="SN_F03__c"/>
                <field id="SN_M01__c"/>
                <field id="SN_M02__c"/>
                <field id="SN_M03__c"/>
                <field id="SN_R01__c"/>
                <field id="SN_R02__c"/>
                <field id="SN_R03__c"/>
                <field id="SN_T01__c"/>
                <field id="SN_T02__c"/>
                <field id="SN_T03__c"/>
                <field id="SN_W01__c"/>
                <field id="SN_W02__c"/>
                <field id="SN_W03__c"/>
                <field id="DR_FBR__c"/>
                <field id="DR_FLU__c"/>
                <field id="DR_FSN__c"/>
                <field id="DR_MBR__c"/>
                <field id="DR_MLU__c"/>
                <field id="DR_MSN__c"/>
                <field id="DR_RBR__c"/>
                <field id="DR_RLU__c"/>
                <field id="DR_RSN__c"/>
                <field id="DR_TBR__c"/>
                <field id="DR_TLU__c"/>
                <field id="DR_TSN__c"/>
                <field id="DR_WBR__c"/>
                <field id="DR_WLU__c"/>
                <field id="DR_WSN__c"/>
            </fields>
            <conditions>
                <condition type="modelmerge" value="" field="Name" operator="=" model="SchoolAgreement" enclosevalueinquotes="true" mergefield="Name" novaluebehavior="noquery"/>
                <condition type="fieldvalue" value="goobldiegook" enclosevalueinquotes="true" field="Name" state="filterableon" inactive="false" name="Name"/>
            </conditions>
            <actions/>
        </model>
        <model id="DMPMenuGen" limit="1" query="true" createrowifnonefound="false" type="" sobject="Daily_Meal_Plan__c" orderby="" datasource="salesforce">
            <fields>
                <field id="DoTW_Number__c"/>
                <field id="Open__c"/>
                <field id="Date__c"/>
                <field id="X2nd_Snack_Active__c"/>
                <field id="Breakfast_Active__c"/>
                <field id="Lunch_Active__c"/>
                <field id="Snack_Active__c"/>
                <field id="Grab_Go_Active__c"/>
                <field id="Breakfast_or_2nd_Snack_Menu_Drink__c"/>
                <field id="Lunch_Menu_Drink__c"/>
                <field id="Snack_Menu_Drink__c"/>
                <field id="School_Name__c"/>
                <field id="Slot_01__c"/>
                <field id="Slot_01__r.Name"/>
                <field id="Slot_01__r.Printed_Name__c"/>
                <field id="Slot_02__c"/>
                <field id="Slot_02__r.Name"/>
                <field id="Slot_02__r.Printed_Name__c"/>
                <field id="Slot_03__c"/>
                <field id="Slot_03__r.Name"/>
                <field id="Slot_03__r.Printed_Name__c"/>
                <field id="Slot_04__c"/>
                <field id="Slot_04__r.Name"/>
                <field id="Slot_04__r.Printed_Name__c"/>
                <field id="Slot_05__c"/>
                <field id="Slot_05__r.Name"/>
                <field id="Slot_05__r.Printed_Name__c"/>
                <field id="Slot_06__c"/>
                <field id="Slot_06__r.Name"/>
                <field id="Slot_06__r.Printed_Name__c"/>
                <field id="Slot_07__c"/>
                <field id="Slot_07__r.Name"/>
                <field id="Slot_07__r.Printed_Name__c"/>
                <field id="Slot_08__c"/>
                <field id="Slot_08__r.Name"/>
                <field id="Slot_08__r.Printed_Name__c"/>