<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: lpc 9874
    $Date: $
    $Revision: 1.0 $
    $Purpose: 
-->
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" xmlns:p="uncertain.proc" trace="true">
    <a:init-procedure>
        <p:echo></p:echo>
        <a:model-query model="basic.hls_fnd_attribute_sequence" rootPath="header"/>
        <!--        <a:import-excel header_id="${/model/header/record/@header_id}" separator="," status_field="/parameter/@ImportSuccess" template_code="HLCM_SBO_REPLACE" user_id="${/session/@user_id}"/>-->
        <a:import-excel header_id="${/model/header/record/@header_id}" separator="," status_field="/parameter/@ImportSuccess" template_code="HLCM_SBO_REPLACE" user_id="${/session/@user_id}"/>
        <a:model-query defaultWhereClause="header_id=${/model/header/record/@header_id} and TEMPLATE_CODE = &apos;HLCM_SBO_REPLACE&apos;" model="basic.hls_fnd_attribute_status" rootPath="status"/>
<!--        <s:server-script><![CDATA[-->
<!--          println($ctx.parameter.toXML());-->
<!--          println(${/model/header/record/@header_id});-->
<!--          var hls_sbo_import_update_bm = $bm('hls.HLS301.hls_sbo_import');-->
<!--                    hls_sbo_import_update_bm.execute({-->
<!--                        header_id: ${/model/header/record/@header_id}-->

<!--                    });-->
<!--    	]]></s:server-script>-->
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>
