ilscipio/scipio-erp

View on GitHub
applications/product/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>Product Services</description>
    <vendor>OFBiz</vendor>

    <service name="migrateFacilityRole" engine="simple"
            location="component://product/script/org/ofbiz/product/UpgradeServices.xml" invoke="migrateFacilityRole">
        <description>
            Migrate data from OldFacilityRole to FacilityParty.
            Since revision 698159 (2008-09-23) the entity FacilityRole has been deprecated.
            This service can be used to upgrade existing data from the FacilityRole entity to the new
            FacilityParty entity.
            Before running this service, load the seed data for the RoleType entity from the file:
            party/data/PartyTypeData.xml
        </description>
    </service>
    <service name="migrateFacilitySquareFootage" engine="simple"
            location="component://product/script/org/ofbiz/product/UpgradeServices.xml" invoke="migrateFacilitySquareFootage">
        <description>
            Migrate data from Facility.oldSquareFootage to Facility.facilitySize.
            The field Facility.squareFootageSince has been deprecated since revision 929912 (2010-04-01)
        </description>
    </service>
    <service name="migrateProductKeyword" engine="simple"
            location="component://product/script/org/ofbiz/product/UpgradeServices.xml" invoke="migrateProductKeyword">
        <description>
            Migrate data from oldProductKeyword to ProductKeyword.
            The entity oldProductKeyword has been deprecated.
            This service can be used to upgrade existing data from the oldProductKeyword entity to the new
            ProductKeyword entity.
            Before running this service, load the seed data for the KeywordType entity from the file:
            common/data/CommonTypeData.xml
        </description>
    </service>

</services>