ilscipio/scipio-erp

View on GitHub
applications/order/servicedef/services_upgrade.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>Order Services</description>
    <vendor>OFBiz</vendor>

    <service name="migrateOrderItemAssociation" engine="simple"
            location="component://order/script/org/ofbiz/order/UpgradeServices.xml" invoke="migrateOrderItemAssociation">
        <description>
            Migrate data from OldOrderItemAssociation to OrderItemAssoc.
            Since revision 485144 (2006-12-10) the entity OrderItemAssociation has been deprecated.
            This service can be used to upgrade existing data from the OrderItemAssociation entity to the new
            OrderItemAssoc entity.
            Before running this service, load the seed data for the OrderItemAssocType entity from the file:
            order/data/OrderTypeData.xml
        </description>
    </service>
    <service name="migrateCustRequestRole" engine="simple"
            location="component://order/script/org/ofbiz/order/UpgradeServices.xml" invoke="migrateCustRequestRole">
        <description>
            Migrate data from OldCustRequestRole to CustRequestParty.
            Since revision 684647 (2008-08-11) the entity CustRequestRole has been deprecated.
            This service can be used to upgrade existing data from the OldCustRequestRole entity to the new
            CustRequestParty entity.
            Before running this service, load the seed data for the RoleType entity from the file:
            party/data/PartyTypeData.xml
        </description>
    </service>
    <service name="migrateOrderShipment" engine="simple"
            location="component://order/script/org/ofbiz/order/UpgradeServices.xml" invoke="migrateOrderShipment">
        <description>
            Since revision 895250 (2010-01-02) the entity OrderShipment is used to record purchase order items that
            will be received as part of a purchase shipment. Previously ItemIssuance was used with an empty inventoryId.
            This service will replace ItemIssuaces with OrderShipment records for the required shipments.
        </description>
    </service>
</services>