ilscipio/scipio-erp

View on GitHub
applications/manufacturing/data/ManufacturingScheduledServices.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.
-->

<entity-engine-xml>
    <RecurrenceRule recurrenceRuleId="300" untilDateTime="" frequency="DAILY" intervalNumber="1" countNumber="-1"/>
    <RecurrenceInfo recurrenceInfoId="300" startDateTime="2000-01-01 22:00:00.000" recurrenceRuleId="300" recurrenceCount="0"/>
    <RecurrenceInfo recurrenceInfoId="301" startDateTime="2000-01-01 23:00:00.000" recurrenceRuleId="300" recurrenceCount="0"/>
    <!--
      The initLowLevelCode service is used to properly initialize the products' low level codes (Product.billOfMaterialsLevel field).
      This information is needed by the MRP algorithm (executeMrp service) and by the standard cost algorithm (calculateAllProductsCosts service).
    -->
    <JobSandbox jobId="8400" jobName="Init BOM Low Level Codes" runTime="2000-01-01 00:00:00.000" serviceName="initLowLevelCode" poolId="pool" runAsUser="system" recurrenceInfoId="300"/>
    <!--
      The calculateAllProductsCosts service is used to run the standard cost calc routine for all the products.
      Runtime data is set to pass the currency uom to the service (USD): chenge this to run the routine in
      another currency.
      The results of this will be available in the catalog->product->cost tab.
      NOTE: in order to function properly, this service needs that
            all the products' low level codes (Product.billOfMaterialsLevel field)
            are inited correctly; this is done by the initLowLevelCode service.
    -->
    <RuntimeData runtimeDataId="8401">
        <runtimeInfo><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<ofbiz-ser>
  <map-HashMap>
    <map-Entry>
      <map-Key>
        <std-String value="currencyUomId"/>
      </map-Key>
      <map-Value>
        <std-String value="USD"/>
      </map-Value>
    </map-Entry>
    <map-Entry>
      <map-Key>
        <std-String value="costComponentTypePrefix"/>
      </map-Key>
      <map-Value>
        <std-String value="EST_STD"/>
      </map-Value>
    </map-Entry>
  </map-HashMap>
</ofbiz-ser>
        ]]></runtimeInfo>
    </RuntimeData>

    <JobSandbox jobId="8401" jobName="Calculate product costs" runTime="2000-01-01 00:00:00.000" serviceName="calculateAllProductsCosts" runtimeDataId="8401" poolId="pool" runAsUser="system" recurrenceInfoId="301"/>
</entity-engine-xml>