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

Pierre Smits edited comment on OFBIZ-12504 at 1/19/22, 8:58 AM:
----------------------------------------------------------------

Hi [~Schumann],

De definition of the services mentioned transitioned from custom code to 
generic solutions. The generic solution for the createRequirement service, as 
shown below
{code:java}
<service name="createRequirement" default-entity-name="Requirement" 
engine="entity-auto" invoke="create" auth="true">
        <description>Create a new requirement</description>
        <auto-attributes include="pk" mode="INOUT" optional="true"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
        <attribute name="custRequestId" mode="IN" type="String" 
optional="true"/>
        <attribute name="custRequestItemSeqId" mode="IN" type="String" 
optional="true"/>
        <override name="statusId" default-value="REQ_CREATED"/>
    </service>// code placeholder
{code}
uses a 'entity-auto' engine, combined with an an invoke action/function 
(create, update, delete, etc) for a particular 'default-entity-name'.


was (Author: pfm.smits):
Hi [~Schumann],

De definition of the services mentioned transitioned from custom code to 
generic solutions. The generic solution for the createRequirement service, as 
shown below
{code:java}
<service name="createRequirement" default-entity-name="Requirement" 
engine="entity-auto" invoke="create" auth="true">
        <description>Create a new requirement</description>
        <auto-attributes include="pk" mode="INOUT" optional="true"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
        <attribute name="custRequestId" mode="IN" type="String" 
optional="true"/>
        <attribute name="custRequestItemSeqId" mode="IN" type="String" 
optional="true"/>
        <override name="statusId" default-value="REQ_CREATED"/>
    </service>// code placeholder
{code}
uses a 'entity-auto' function, combined with an an action (create, update, 
delete, etc) for a particular 'default-entity-name'.

> Some requirement services were missing in Release 18.12.05
> ----------------------------------------------------------
>
>                 Key: OFBIZ-12504
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12504
>             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
>
>
> Some requirement services like 
> "createRequirement"/"updateRequirement"/"deleteRequirement" were missing in 
> Release 18.12.05. The original file is located in 
> "order/minilang/requirement/RequirementServices.xml".



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

Reply via email to