ilscipio/scipio-erp

View on GitHub
applications/product/servicedef/services_supplier.xml

Summary

Maintainability
Test Coverage
<?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">
    <description>Product Supplier Services</description>
    <vendor>OFBiz</vendor>
    <version>1.0</version>

    <!-- Supplier Services -->
    <service name="createReorderGuideline" default-entity-name="ReorderGuideline" engine="entity-auto" invoke="create" auth="true">
        <description>Create a ReorderGuideline record</description>
        <auto-attributes include="pk" mode="INOUT" optional="true"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="updateReorderGuideline" default-entity-name="ReorderGuideline" engine="entity-auto" invoke="update" auth="true">
        <description>Update a ReorderGuideline record</description>
        <auto-attributes include="pk" mode="IN"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="deleteReorderGuideline" default-entity-name="ReorderGuideline" engine="entity-auto" invoke="delete" auth="true">
        <description>Delete a ReorderGuideline record</description>
        <auto-attributes include="pk" mode="IN"/>
    </service>

    <!-- SupplierRatingType services -->
    <service name="createSupplierRatingType" default-entity-name="SupplierRatingType" engine="entity-auto" invoke="create" auth="true">
        <description>Create a SupplierRatingType</description>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
        <auto-attributes include="pk" mode="INOUT" optional="true"/>
    </service>
    <service name="updateSupplierRatingType" default-entity-name="SupplierRatingType" engine="entity-auto" invoke="update" auth="true">
        <description>Update a SupplierRatingType</description>
        <auto-attributes include="pk" mode="IN" optional="false"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="deleteSupplierRatingType" default-entity-name="SupplierRatingType" engine="entity-auto" invoke="delete" auth="true">
        <description>Delete a SupplierRatingType</description>
        <auto-attributes include="pk" mode="IN" optional="false"/>
    </service>
</services>