You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Erwan de FERRIERES (Commented) (JIRA)" <ji...@apache.org> on 2011/11/22 21:46:39 UTC

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

    [ 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