<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <global name="SQL" module="Products.ZSQLMethods.SQL"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>arguments_src</string> </key>
            <value> <string>table_0\r\n
table_1\r\n
table_2\r\n
table_3</string> </value>
        </item>
        <item>
            <key> <string>connection_id</string> </key>
            <value> <string>erp5_sql_connection</string> </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>z_related_aggregate_aggregate_uid</string> </value>
        </item>
        <item>
            <key> <string>src</string> </key>
            <value> <string encoding="cdata"><![CDATA[

<dtml-comment> <dtml-var table_0> related_catalog used to fetch movements </dtml-comment>\n
<dtml-comment> <dtml-var table_1> resource category linked to movement </dtml-comment>\n
<dtml-comment> <dtml-var table_2> inner category used to remap found movements</dtml-comment>\n
<dtml-comment> <dtml-var table_3> passed category </dtml-comment>\n
\n
<dtml-var table_0>.uid = <dtml-var table_3>.uid AND\n
<dtml-var table_3>.base_category_uid = <dtml-var "portal_categories.aggregate.getUid()"> AND\n
<dtml-var table_2>.base_category_uid = <dtml-var "portal_categories.aggregate.getUid()"> AND\n
<dtml-var table_2>.uid = <dtml-var table_0>.uid AND\n
catalog.uid = <dtml-var table_2>.category_uid AND\n
\n
<dtml-var table_1>.base_category_uid = <dtml-var "portal_categories.resource.getUid()"> AND\n
<dtml-var table_0>.uid = <dtml-var table_1>.uid AND\n
<dtml-var table_1>.category_uid = <dtml-var "portal_categories.restrictedTraverse(portal_categories.portal_preferences.getPreferredSoftwareSetupResource()).getUid()">

]]></string> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <string></string> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
