Commit 5041c11f authored by Guillaume Michon's avatar Guillaume Michon

Added isDivergent and replaced delivery_uid by explanation_uid


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2889 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 245f2d7f
...@@ -9,7 +9,7 @@ class_file: ...@@ -9,7 +9,7 @@ class_file:
</dtml-comment> </dtml-comment>
<params>isMovement <params>isMovement
uid uid
getDeliveryUid getExplanationUid
getSourceUid getSourceUid
getDestinationUid getDestinationUid
getResourceUid getResourceUid
...@@ -26,11 +26,12 @@ hasCellContent ...@@ -26,11 +26,12 @@ hasCellContent
isAccountable isAccountable
isOrderable isOrderable
isDeliverable isDeliverable
isDivergent
getVariationText</params> getVariationText</params>
<dtml-if isMovement> <dtml-if isMovement>
INSERT INTO movement VALUES ( INSERT INTO movement VALUES (
<dtml-sqlvar uid type="int">, <dtml-sqlvar uid type="int">,
<dtml-if getDeliveryUid><dtml-sqlvar getDeliveryUid type="int"><dtml-else>NULL</dtml-if>, <dtml-if getExplanationUid><dtml-sqlvar getExplanationUid type="int"><dtml-else>NULL</dtml-if>,
<dtml-if getSourceUid><dtml-sqlvar getSourceUid type="int"><dtml-else>NULL</dtml-if>, <dtml-if getSourceUid><dtml-sqlvar getSourceUid type="int"><dtml-else>NULL</dtml-if>,
<dtml-if getDestinationUid ><dtml-sqlvar getDestinationUid type="int"><dtml-else>NULL</dtml-if>, <dtml-if getDestinationUid ><dtml-sqlvar getDestinationUid type="int"><dtml-else>NULL</dtml-if>,
<dtml-if getResourceUid><dtml-sqlvar getResourceUid type="int"><dtml-else>NULL</dtml-if>, <dtml-if getResourceUid><dtml-sqlvar getResourceUid type="int"><dtml-else>NULL</dtml-if>,
...@@ -48,6 +49,7 @@ INSERT INTO movement VALUES ( ...@@ -48,6 +49,7 @@ INSERT INTO movement VALUES (
<dtml-if "isAccountable is not None"><dtml-sqlvar isAccountable type="int"><dtml-else>NULL</dtml-if>, <dtml-if "isAccountable is not None"><dtml-sqlvar isAccountable type="int"><dtml-else>NULL</dtml-if>,
<dtml-if "isOrderable is not None"><dtml-sqlvar isOrderable type="int"><dtml-else>NULL</dtml-if>, <dtml-if "isOrderable is not None"><dtml-sqlvar isOrderable type="int"><dtml-else>NULL</dtml-if>,
<dtml-if "isDeliverable is not None"><dtml-sqlvar isDeliverable type="int"><dtml-else>NULL</dtml-if>, <dtml-if "isDeliverable is not None"><dtml-sqlvar isDeliverable type="int"><dtml-else>NULL</dtml-if>,
<dtml-if "isDivergent is not None"><dtml-sqlvar isDivergent type="int"><dtml-else>NULL</dtml-if>,
<dtml-if "getVariationText is not None"><dtml-sqlvar getVariationText type="string"><dtml-else>NULL</dtml-if> <dtml-if "getVariationText is not None"><dtml-sqlvar getVariationText type="string"><dtml-else>NULL</dtml-if>
); );
</dtml-if> </dtml-if>
\ 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