You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "youssef khaye (Created) (JIRA)" <ji...@apache.org> on 2011/11/18 23:42:52 UTC

[jira] [Created] (OFBIZ-4573) complexe-alias does not allow to do (discountPercent * 100) as stated in xsd.

complexe-alias does not allow to do  (discountPercent * 100) as stated in xsd.
------------------------------------------------------------------------------

                 Key: OFBIZ-4573
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4573
             Project: OFBiz
          Issue Type: Bug
          Components: ALL COMPONENTS
    Affects Versions: SVN trunk
            Reporter: youssef khaye


I can not do some thing like (discountPercent * 100) in complexe alias. there is no way to specify a constant as operand.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OFBIZ-4573) complexe-alias does not allow to do (discountPercent * 100) as stated in xsd.

Posted by "youssef khaye (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

youssef khaye updated OFBIZ-4573:
---------------------------------

    Attachment: jira-complexe-alisa.patch

this can be achieved by adding a new attribute on complex-alias-field as in this patch 
                
> complexe-alias does not allow to do  (discountPercent * 100) as stated in xsd.
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4573
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4573
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>         Attachments: jira-complexe-alisa.patch
>
>
> I can not do some thing like (discountPercent * 100) in complexe alias. there is no way to specify a constant as operand.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OFBIZ-4573) complexe-alias does not allow to do (discountPercent * 100) as stated in xsd.

Posted by "Erwan de FERRIERES (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erwan de FERRIERES closed OFBIZ-4573.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

done at r1205156

Thanks Youssef
                
> complexe-alias does not allow to do  (discountPercent * 100) as stated in xsd.
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4573
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4573
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>            Assignee: Erwan de FERRIERES
>             Fix For: SVN trunk
>
>         Attachments: jira-complexe-alisa.patch
>
>
> I can not do some thing like (discountPercent * 100) in complexe alias. there is no way to specify a constant as operand.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (OFBIZ-4573) complexe-alias does not allow to do (discountPercent * 100) as stated in xsd.

Posted by "Erwan de FERRIERES (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erwan de FERRIERES reassigned OFBIZ-4573:
-----------------------------------------

    Assignee: Erwan de FERRIERES
    
> complexe-alias does not allow to do  (discountPercent * 100) as stated in xsd.
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4573
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4573
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>            Assignee: Erwan de FERRIERES
>         Attachments: jira-complexe-alisa.patch
>
>
> I can not do some thing like (discountPercent * 100) in complexe alias. there is no way to specify a constant as operand.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OFBIZ-4573) complexe-alias does not allow to do (discountPercent * 100) as stated in xsd.

Posted by "Erwan de FERRIERES (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155421#comment-13155421 ] 

Erwan de FERRIERES commented on OFBIZ-4573:
-------------------------------------------

Usage :
{code}
<alias name="totalRatedHours" function="sum">
  <complex-alias operator="/">
    <complex-alias operator="*">
      <complex-alias-field entity-alias="PPAH" field="hours"/>
      <complex-alias-field entity-alias="PPAH" field="percentageUsed"/>
    </complex-alias>
    <complex-alias-field value="100"/>
  </complex-alias>
</alias>
{code}
                
> complexe-alias does not allow to do  (discountPercent * 100) as stated in xsd.
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4573
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4573
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>            Assignee: Erwan de FERRIERES
>         Attachments: jira-complexe-alisa.patch
>
>
> I can not do some thing like (discountPercent * 100) in complexe alias. there is no way to specify a constant as operand.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira