You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pierre Smits (Jira)" <ji...@apache.org> on 2022/01/19 08:58:00 UTC
[jira] [Commented] (OFBIZ-12504) Some requirement services were missing in Release 18.12.05
[ https://issues.apache.org/jira/browse/OFBIZ-12504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478441#comment-17478441 ]
Pierre Smits commented on OFBIZ-12504:
--------------------------------------
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)