.. include:: /Includes.rst.txt .. _feature-1791522735: ============================================= Feature: Import the asset register of Horilla ============================================= Description =========== With the package ``web-vision/adsum-migration`` installed and enabled, the asset package adds three stages to the import from Horilla: * ``asset-categories`` and ``asset-batches`` take over categories and batches into the company they are linked to; one linked to several companies goes into the first (``inSeveralCompanies``), one linked to none into the only company (``withoutCompany`` when there are several). * ``assets`` makes every Horilla asset an asset with one unit, whose serial number is Horilla's tracking id. ``Not-Available`` becomes the unit status ``outOfService``; "in use" follows from the allocations. A batch of another company is left out (``batchOfOtherCompany``), and a row the asset rules refuse is reported with the codes of the rules (``assetRefused``). A second run creates nothing twice and takes over what changed in Horilla. Impact ====== Only with ``MIGRATION_ENABLED=1``. Without the migration package, the asset package registers none of its import classes. .. index:: CLI, package:adsum-assets