Commit 1ab4fb5b authored by Tatuya Kamada's avatar Tatuya Kamada

Add related keys so that we can find Inventory Line, Inventory Cell via catalog.

Inventory movements are not indexed into stock table every time, and
inventory_stock table no longer exists. Thus we use movement table instead.
parent 167e4417
<?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</string> </value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>cmf_activity_sql_connection</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>z_related_explanation_destination_section</string> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
<dtml-var table_0>.uid = catalog.uid\n
AND <dtml-var table_0>.explanation_uid = <dtml-var table_1>.uid\n
AND <dtml-var table_1>.base_category_uid = <dtml-var "portal_categories.destination_section.getUid()">\n
AND <dtml-var table_1>.category_uid = <dtml-var table_2>.uid\n
]]></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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</string> </value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>cmf_activity_sql_connection</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>z_related_explanation_source_section</string> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
<dtml-var table_0>.uid = catalog.uid\n
AND <dtml-var table_0>.explanation_uid = <dtml-var table_1>.uid\n
AND <dtml-var table_1>.base_category_uid = <dtml-var "portal_categories.source_section.getUid()">\n
AND <dtml-var table_1>.category_uid = <dtml-var table_2>.uid\n
]]></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<key_list>
<key>explanation_destination_section_uid | movement,category,catalog/uid/z_related_explanation_destination_section</key>
<key>explanation_portal_type | movement,catalog/portal_type/z_related_explanation</key>
<key>explanation_simulation_state | movement,catalog/simulation_state/z_related_explanation</key>
<key>explanation_source_section_uid | movement,category,catalog/uid/z_related_explanation_destination_section</key>
</key_list>
\ No newline at end of file
2013-04-02 Tatuya
* Add related keys so that we can find Inventory Line, Cell via portal_catalog
\ No newline at end of file
3
\ No newline at end of file
4
\ No newline at end of file
erp5_mysql_innodb/z0_drop_movement
erp5_mysql_innodb/z0_uncatalog_movement
erp5_mysql_innodb/z_catalog_movement_list
erp5_mysql_innodb/z_create_movement
\ No newline at end of file
erp5_mysql_innodb/z_create_movement
erp5_mysql_innodb/z_related_explanation_destination_section
erp5_mysql_innodb/z_related_explanation_source_section
\ No newline at end of file
explanation_portal_type | movement,catalog/portal_type/z_related_explanation
explanation_simulation_state | movement,catalog/simulation_state/z_related_explanation
\ No newline at end of file
explanation_simulation_state | movement,catalog/simulation_state/z_related_explanation
explanation_destination_section_uid | movement,category,catalog/uid/z_related_explanation_destination_section
explanation_source_section_uid | movement,category,catalog/uid/z_related_explanation_destination_section
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment