[ofbiz-framework] branch trunk updated: Improved: Added missing attribute default-entity-name for ShipmentReceiptRole entity auto services. (OFBIZ-11614) Thanks Pawan for reporting.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Improved: Added missing attribute default-entity-name for ShipmentReceiptRole entity auto services. (OFBIZ-11614) Thanks Pawan for reporting.

surajk
This is an automated email from the ASF dual-hosted git repository.

surajk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a92136c  Improved: Added missing attribute default-entity-name for ShipmentReceiptRole entity auto services. (OFBIZ-11614) Thanks Pawan for reporting.
a92136c is described below

commit a92136c662b2a150274b7a9aaea2c3117488e599
Author: Suraj Khurana <[hidden email]>
AuthorDate: Fri May 1 10:21:18 2020 +0530

    Improved: Added missing attribute default-entity-name for ShipmentReceiptRole entity auto services.
    (OFBIZ-11614)
    Thanks Pawan for reporting.
---
 applications/product/servicedef/services_shipment.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/applications/product/servicedef/services_shipment.xml b/applications/product/servicedef/services_shipment.xml
index ff49a88..55d0410 100644
--- a/applications/product/servicedef/services_shipment.xml
+++ b/applications/product/servicedef/services_shipment.xml
@@ -915,13 +915,14 @@ under the License.
         <attribute name="statusId" type="String" mode="IN" optional="true"/>
     </service>
 
-    <service name="createShipmentReceiptRole" engine="entity-auto" invoke="create" auth="true">
+    <!-- Shipment Receipt Role Services -->
+    <service name="createShipmentReceiptRole" default-entity-name="ShipmentReceiptRole" engine="entity-auto" invoke="create" auth="true">
         <description>Create a ShipmentReceipt Role entry</description>
         <permission-service service-name="facilityGenericPermission" main-action="CREATE"/>
         <auto-attributes include="pk" mode="INOUT" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
-    <service name="removeShipmentReceiptRole" engine="entity-auto" invoke="delete" auth="true">
+    <service name="removeShipmentReceiptRole" default-entity-name="ShipmentReceiptRole" engine="entity-auto" invoke="delete" auth="true">
         <description>Remove a ShipmentReceipt Role entry</description>
         <permission-service service-name="facilityGenericPermission" main-action="DELETE"/>
         <auto-attributes include="pk" mode="IN" optional="false"/>