applications/order/servicedef/services_perm.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
<vendor>OFBiz</vendor>
<version>1.0</version>
<service name="returnPermissionCheck" engine="simple"
location="component://order/script/org/ofbiz/order/permission/PermissionServices.xml" invoke="returnPermissionCheck">
<description>Order permission Checking Logic</description>
<implements service="permissionInterface"/>
</service>
</services>