[ 
https://issues.apache.org/jira/browse/OFBIZ-12505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483087#comment-17483087
 ] 

Pierre Smits edited comment on OFBIZ-12505 at 1/27/22, 11:55 AM:
-----------------------------------------------------------------

Findings:
 * field requirementByDate is not an element of any entity definition
 * field requirementByDate as included in form FindApprovedProductRequirements 
(referenced in screen ApprovedProductRequirements is not populated through 
script ApprovedProductRequirements.groovy
 * field requiredByDate is an element of the entity definition for Requirement 
and for CustRequestItem

 

 


was (Author: pfm.smits):
Field requirementByDate is not an element of any entity definition


Field requirementByDate as included in form FindApprovedProductRequirements 
(referenced in screen ApprovedProductRequirements is not populated through 
script ApprovedProductRequirements.groovy.

 

> Wrong Field Name Definition in RequirementForms
> -----------------------------------------------
>
>                 Key: OFBIZ-12505
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12505
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: 18.12.05
>         Environment: WIN10, MSSQL
>            Reporter: Schumann Ye
>            Assignee: Pierre Smits
>            Priority: Minor
>             Fix For: 18.12.06
>
>
> The issue exists also in the older version.
> The field "requirementByDate" form "FindApprovedProductRequirements" in 
> RequirementForms.xml has been set wrongly and it should be "requiredByDate".
> This causes the result could not be queried out properly as indicated as 
> below:
>  # The result is governed by the service "getRequirementsForSupplier", where 
> reads the list from the view "RequirementAndRole".
>  # In the view entity definition, the field is defined as 
> <alias entity-alias="RQ" name="{color:#FF0000}requiredByDate{color}"/>, but 
> it is not the case in the form "FindApprovedProductRequirements" above.
>  
> After changing it to the correct name, the bug is solved.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to