Commit 1be35ed4 authored by Nicolas Dumazet's avatar Nicolas Dumazet

Add a simple ZSQLMethod to retrieve the quantity change due to a Transformation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33554 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b6664a46
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="SQL" module="Products.ZSQLMethods.SQL"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_arg</string> </key>
<value>
<object>
<klass>
<global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_data</string> </key>
<value>
<dictionary>
<item>
<key> <string>transformed_uid</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>transformed_variation_text</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>variation_text</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>_keys</string> </key>
<value>
<list>
<string>uid</string>
<string>variation_text</string>
<string>transformed_uid</string>
<string>transformed_variation_text</string>
</list>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>uid\r\n
variation_text\r\n
transformed_uid\r\n
transformed_variation_text</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>Resource_zGetTransformedResourceRatio</string> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
select transformation.quantity from transformation\n
where\n
<dtml-sqltest uid type="int">\n
and <dtml-sqltest variation_text type="string">\n
and <dtml-sqltest transformed_uid type="int">\n
and <dtml-sqltest transformed_variation_text type="string">
]]></string> </value>
</item>
<item>
<key> <string>template</string> </key>
<value>
<object>
<klass>
<global name="__newobj__" module="copy_reg"/>
</klass>
<tuple>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string encoding="cdata"><![CDATA[
<string>
]]></string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>raw</string> </key>
<value> <string encoding="cdata"><![CDATA[
select transformation.quantity from transformation\n
where\n
<dtml-sqltest uid type="int">\n
and <dtml-sqltest variation_text type="string">\n
and <dtml-sqltest transformed_uid type="int">\n
and <dtml-sqltest transformed_variation_text type="string">
]]></string> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
461
\ No newline at end of file
462
\ 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