Fixed: Issue in which Agreement Item can't be removed from Agreement
Reason for the issue was incorrect use of service IN parameters for entity-auto delete invoke.
Thanks, Pierre Smits for the report.
@@ -73,8 +73,7 @@ under the License.
<service name="removeAgreementItem" default-entity-name="AgreementItem" engine="entity-auto" invoke="delete" auth="true">
<description>Remove an AgreementItem</description>
<permission-service service-name="acctgAgreementPermissionCheck" main-action="DELETE"/>
- <auto-attributes include="pk" mode="INOUT" optional="false"/>
- <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<!-- AgreementItemAttribute -->
