ilscipio/scipio-erp

View on GitHub
applications/product/servicedef/services_inventory.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 Inventory Services</description>
    <vendor>OFBiz</vendor>
    <version>1.0</version>

    <service name="createInventoryItemTempRes" default-entity-name="InventoryItemTempRes" engine="entity-auto" invoke="create" auth="true">
        <description>Create a InventoryItemTempRes record</description>
        <auto-attributes include="pk" mode="IN"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="updateInventoryItemTempRes" default-entity-name="InventoryItemTempRes" engine="entity-auto" invoke="update" auth="true">
        <description>Update a InventoryItemTempRes record</description>
        <auto-attributes include="pk" mode="IN"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="deleteInventoryItemTempRes" default-entity-name="InventoryItemTempRes" engine="entity-auto" invoke="delete" auth="true">
        <description>Delete a InventoryItemTempRes record</description>
        <auto-attributes include="pk" mode="IN"/>
    </service>

    <service name="createInventoryItemAttribute" default-entity-name="InventoryItemAttribute" engine="entity-auto" invoke="create" auth="true">
        <description>Create a InventoryItemAttribute</description>
        <auto-attributes include="pk" mode="IN"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="updateInventoryItemAttribute" default-entity-name="InventoryItemAttribute" engine="entity-auto" invoke="update" auth="true">
        <description>Update a InventoryItemAttribute</description>
        <auto-attributes include="pk" mode="IN"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="deleteInventoryItemAttribute" default-entity-name="InventoryItemAttribute" engine="entity-auto" invoke="delete" auth="true">
        <description>Delete a InventoryItemAttribute</description>
        <auto-attributes include="pk" mode="IN"/>
    </service>

    <service name="createInventoryItemTypeAttr" default-entity-name="InventoryItemTypeAttr" engine="entity-auto" invoke="create" auth="true">
        <description>Create a InventoryItemTypeAttr</description>
        <auto-attributes include="pk" mode="IN" optional="false"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="updateInventoryItemTypeAttr" default-entity-name="InventoryItemTypeAttr" engine="entity-auto" invoke="update" auth="true">
        <description>Update a InventoryItemTypeAttr</description>
        <auto-attributes include="pk" mode="IN" optional="false"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="deleteInventoryItemTypeAttr" default-entity-name="InventoryItemTypeAttr" engine="entity-auto" invoke="delete" auth="true">
        <description>Delete a InventoryItemTypeAttr</description>
        <auto-attributes include="pk" mode="IN" optional="false"/>
    </service>

    <service name="createLot" default-entity-name="Lot" engine="entity-auto" invoke="create" auth="true">
        <description>Create a Lot</description>
        <auto-attributes include="pk" mode="INOUT" optional="true"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="updateLot" default-entity-name="Lot" engine="entity-auto" invoke="update" auth="true">
        <description>Update a Lot</description>
        <auto-attributes include="pk" mode="IN" optional="false"/>
        <auto-attributes include="nonpk" mode="IN" optional="true"/>
    </service>
    <service name="deleteLot" default-entity-name="Lot" engine="entity-auto" invoke="delete" auth="true">
        <description>Delete a Lot</description>
        <auto-attributes include="pk" mode="IN" optional="false"/>
    </service>

</services>