Template:— inventory_item_demand (invntry_itm_dmnd)
Context:— UK_Defence
Date: 2010/03/18 11:41:29
Revision: 1.8
Template: inventory_item_demand

XML references to the Template

These can be cut and pasted into the XML as required.

inventory_item_demand

Set up a hyperlink to the template definition.
<template_ref name="inventory_item_demand" context="UK_Defence" />

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="inventory_item_demand" context="UK_Defence" >
  <param name="id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="source_organization_id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="lack_of_item_impact">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="demanding_organization_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="demanding_person">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="demand_date">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="demanded_quantity">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="demanded_quantity_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="demanded_quantity_si_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="accounting_uin">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="authority_to_demand">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="custodian">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="customer_reference">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="reference_type">
    <param_value>Customer_reference_code</param_value>
    <description></description>
  </param>
  <param name="delivery_location">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="delivery_site">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="demanded_from">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="demanded_item">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="denomination_of_quantity">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="denomination_of_quantity_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="denomination_of_quantity_si_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="estimated_return_date">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="item_demanded_qualification_code">
    <param_value>Item_demanded_qualification_code</param_value>
    <description></description>
  </param>
  <param name="item_description">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="item_name">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="point_of_contact">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="priority_code">
    <param_value>Inventory_item_demand_priority_code</param_value>
    <description></description>
  </param>
  <param name="quantity_demanded_qualification_code">
    <param_value>Quantity_demanded_qualification_code</param_value>
    <description></description>
  </param>
  <param name="reason_for_demand_code">
    <param_value>Reason_for_demand_code</param_value>
    <description></description>
  </param>
  <param name="related_returned_item">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="remarks">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="required_delivery_date">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="stock_location">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="theatre_delivery_code">
    <param_value>Theatre_delivery_code</param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="inventory_item_demand">
  <param_in name="id" value=""/>
  <param_in name="source_organization_id" value=""/>
  <param_in name="lack_of_item_impact" value=""/>
  <param_in name="demanding_organization_unit" value=""/>
  <param_in name="demanding_person" value=""/>
  <param_in name="demand_date" value=""/>
  <param_in name="demanded_quantity" value=""/>
  <param_in name="demanded_quantity_unit" value=""/>
  <param_in name="demanded_quantity_si_unit" value=""/>
  <param_in name="accounting_uin" value=""/>
  <param_in name="authority_to_demand" value=""/>
  <param_in name="custodian" value=""/>
  <param_in name="customer_reference" value=""/>
  <param_in name="reference_type" value="Customer_reference_code"/>
  <param_in name="delivery_location" value=""/>
  <param_in name="delivery_site" value=""/>
  <param_in name="demanded_from" value=""/>
  <param_in name="demanded_item" value=""/>
  <param_in name="denomination_of_quantity" value=""/>
  <param_in name="denomination_of_quantity_unit" value=""/>
  <param_in name="denomination_of_quantity_si_unit" value=""/>
  <param_in name="estimated_return_date" value=""/>
  <param_in name="item_demanded_qualification_code" value="Item_demanded_qualification_code"/>
  <param_in name="item_description" value=""/>
  <param_in name="item_name" value=""/>
  <param_in name="point_of_contact" value=""/>
  <param_in name="priority_code" value="Inventory_item_demand_priority_code"/>
  <param_in name="quantity_demanded_qualification_code" value="Quantity_demanded_qualification_code"/>
  <param_in name="reason_for_demand_code" value="Reason_for_demand_code"/>
  <param_in name="related_returned_item" value=""/>
  <param_in name="remarks" value=""/>
  <param_in name="required_delivery_date" value=""/>
  <param_in name="stock_location" value=""/>
  <param_in name="theatre_delivery_code" value="Theatre_delivery_code"/>
</template_example>

inventory_item_demand
/inventory_item_demand(id='', source_organization_id='', lack_of_item_impact='', demanding_organization_unit='', demanding_person='', demand_date='', demanded_quantity='', demanded_quantity_unit='', demanded_quantity_si_unit='', accounting_uin='', authority_to_demand='', custodian='', customer_reference='', reference_type='Customer_reference_code', delivery_location='', delivery_site='', demanded_from='', demanded_item='', denomination_of_quantity='', denomination_of_quantity_unit='', denomination_of_quantity_si_unit='', estimated_return_date='', item_demanded_qualification_code='Item_demanded_qualification_code', item_description='', item_name='', point_of_contact='', priority_code='Inventory_item_demand_priority_code', quantity_demanded_qualification_code='Quantity_demanded_qualification_code', reason_for_demand_code='Reason_for_demand_code', related_returned_item='', remarks='', required_delivery_date='', stock_location='', theatre_delivery_code='Theatre_delivery_code')/

Path

/resource_demand(
    id=@id,
    source_organization_id=@source_organization_id,
    lack_of_item_impact=@lack_of_item_impact,
    demanding_organization_unit=@demanding_organization_unit,
    demanding_person=@demanding_person,
    demand_date=@demand_date,
    demanded_quantity=@demanded_quantity,
    demanded_quantity_unit=@demanded_quantity_unit,
    demanded_quantity_si_unit=@demanded_quantity_si_unit)/
%^ref_demand = $resource_demand.resource_demand%

-- create the inventory_item_demand
Applied_activity_assignment
Applied_activity_assignment.role = '/IGNORE'

-- create the link to the ref resource demand
Applied_activity_assignment.assigned_activity -> ^ref_demand
%^inventory_item_demand = Applied_activity_assignment%

-- [Optional accounting_uin]
/identifier(
    ID=@accounting_uin,
    source_organization=@source_organization_id,
    type='Unit_identification_number',
    items=^inventory_item_demand)/

-- authority_to_demand
/assigning_descriptor(
    descr=@authority_to_demand,
    class_name='Authority_to_demand',
    ecl_id='urn:plcs:rdl:uk_defence',
    is_assigned_to=^inventory_item_demand)/

-- [Optional Custodian] (G.I. needs to know this is a new instance and not a reuse of the next one)
Organization_or_person_in_organization_assignment
Organization_or_person_in_organization_assignment.role = '/IGNORE'
Organization_or_person_in_organization_assignment.items -> ^inventory_item_demand
Organization_or_person_in_organization_assignment.assigned_entity -> @custodian

-- [Optional customer reference]
/identifier(
    ID=@customer_reference,
    source_organization=@source_organization_id,
    type=@reference_type,
    items=^inventory_item_demand)/

-- [Optional delivery_location]
Location_assignment
Location_assignment.role = '/IGNORE'
Location_assignment.location_for_assignment -> @delivery_location
Location_assignment.entity_for_location -> ^inventory_item_demand

-- Delivery_site
^inventory_item_demand.items -> @delivery_site

-- Demanded_from (G.I. needs to know this is a new instance and not a reuse of the next one)
Organization_or_person_in_organization_assignment
Organization_or_person_in_organization_assignment.role = '/IGNORE'
Organization_or_person_in_organization_assignment.items -> ^inventory_item_demand
Organization_or_person_in_organization_assignment.assigned_entity -> @demanded_from

-- create the link to the demanded item
^inventory_item_demand.items -> @demanded_item

-- Denomination_of_quantity
/assigning_resource_property(
    property_class_name='Denomination_of_quantity',
    property_ecl_id='urn:plcs:rdl:uk_defence',
    described_element=^inventory_item_demand)/
%^denom_qty = $assigning_resource_property.property%
/resource_property_numeric(
    value=@denomination_of_quantity,
    unit=@denomination_of_quantity_unit,
    unit_ecl_id='urn:plcs:rdl:uk_defence',
    si_unit=@denomination_of_quantity_si_unit,
    context='Numerical_representation_context',
    context_ecl_id='urn:plcs:rdl:uk_defence',
    property=^denom_qty)/

-- [Optional Estimated_Return_date]
Date_or_date_time_assignment
Date_or_date_time_assignment.role = '/IGNORE'
Date_or_date_time_assignment.items -> ^inventory_item_demand
Date_or_date_time_assignment.assigned_date -> @estimated_return_date

-- [Optional Item Demanded Qualification code]
/assigning_reference_data(
    class_name=@item_demanded_qualification_code,
    ecl_id='urn:plcs:rdl:UK_Defence',
    items=^inventory_item_demand)/

-- item description
/assigning_descriptor(
    descr=@item_description,
    class_name='Description',
    ecl_id='urn:plcs:rdl:uk_defence',
    is_assigned_to=^inventory_item_demand)/

-- item name
/identifier(
    ID=@item_name,
    source_organization=@source_organization_id,
    type='Name',
    items=^inventory_item_demand)/

-- [Optional point_of_contact] (G.I. needs to know this is a new instance and not a reuse of a previous or subsequent one)
Organization_or_person_in_organization_assignment
Organization_or_person_in_organization_assignment.role = '/IGNORE'
Organization_or_person_in_organization_assignment.items -> ^inventory_item_demand
Organization_or_person_in_organization_assignment.assigned_entity -> @point_of_contact

-- Priority code
/assigning_reference_data(
    class_name=@priority_code,
    ecl_id='urn:plcs:rdl:UK_Defence',
    items=^inventory_item_demand)/

-- [Optional Quantity demanded qualification code]
/assigning_reference_data(
    class_name=@quantity_demanded_qualification_code,
    ecl_id='urn:plcs:rdl:UK_Defence',
    items=^inventory_item_demand)/

-- reason_for_demand_code
/assigning_reference_data(
    class_name=@reason_for_demand_code,
    ecl_id='urn:plcs:rdl:UK_Defence',
    items=^inventory_item_demand)/

-- [Optional Related returned item]
^inventory_item_demand.items -> @related_returned_item

-- [Optional Remarks]
/assigning_descriptor(
    descr=@remarks,
    class_name='Remarks',
    ecl_id='urn:plcs:rdl:uk_defence',
    is_assigned_to=^inventory_item_demand)/

-- Required_delivery_date
Date_or_date_time_assignment
Date_or_date_time_assignment.role = '/IGNORE'
Date_or_date_time_assignment.items -> ^inventory_item_demand
Date_or_date_time_assignment.assigned_date -> @required_delivery_date

-- [Optional Stock Location]
^inventory_item_demand.items -> @stock_location

-- Theatre_delivery_code
/assigning_reference_data(
    class_name=@theatre_delivery_code,
    ecl_id='urn:plcs:rdl:UK_Defence',
    items=^inventory_item_demand)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Applied_activity_assignment.role '/IGNORE'
Organization_or_person_in_organization_assignment.role '/IGNORE'
Location_assignment.role '/IGNORE'
Organization_or_person_in_organization_assignment.role '/IGNORE'
Date_or_date_time_assignment.role '/IGNORE'
Organization_or_person_in_organization_assignment.role '/IGNORE'
Date_or_date_time_assignment.role '/IGNORE'

XML representation of path

<refpath
   template="inventory_item_demand">
   <call_template
      name="resource_demand"
      business_context="UK_Defence">
      <param_in
         name="id"
         value="@id">
         
      </param_in>
      <param_in
         name="source_organization_id"
         value="@source_organization_id">
         
      </param_in>
      <param_in
         name="lack_of_item_impact"
         value="@lack_of_item_impact">
         
      </param_in>
      <param_in
         name="demanding_organization_unit"
         value="@demanding_organization_unit">
         
      </param_in>
      <param_in
         name="demanding_person"
         value="@demanding_person">
         
      </param_in>
      <param_in
         name="demand_date"
         value="@demand_date">
         
      </param_in>
      <param_in
         name="demanded_quantity"
         value="@demanded_quantity">
         
      </param_in>
      <param_in
         name="demanded_quantity_unit"
         value="@demanded_quantity_unit">
         
      </param_in>
      <param_in
         name="demanded_quantity_si_unit"
         value="@demanded_quantity_si_unit">
         
      </param_in>
   </call_template>
   <bind
      parameter="ref_demand">
      <template_instance
         template="resource_demand"
         parameter="resource_demand">
         
      </template_instance>
   </bind>
   <comment>
      create the inventory_item_demand
   </comment>
   <instantiate
      entity="Applied_activity_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Applied_activity_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      create the link to the ref resource demand
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_activity_assignment"
            attribute="assigned_activity"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="ref_demand">
            
         </bound_parameter>
      </source>
   </assign>
   <bind
      parameter="inventory_item_demand">
      <express_entity
         entity="Applied_activity_assignment"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <comment>
      [Optional accounting_uin]
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@accounting_uin">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@source_organization_id">
         
      </param_in>
      <param_in
         name="type"
         value="'Unit_identification_number'">
         
      </param_in>
      <param_in
         name="items"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      authority_to_demand
   </comment>
   <call_template
      name="assigning_descriptor"
      business_context="UK_Defence">
      <param_in
         name="descr"
         value="@authority_to_demand">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Authority_to_demand'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      [Optional Custodian] (G.I. needs to know this is a new instance and not a reuse of the next one)
   </comment>
   <instantiate
      entity="Organization_or_person_in_organization_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="inventory_item_demand">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="assigned_entity"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="custodian">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      [Optional customer reference]
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@customer_reference">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@source_organization_id">
         
      </param_in>
      <param_in
         name="type"
         value="@reference_type">
         
      </param_in>
      <param_in
         name="items"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      [Optional delivery_location]
   </comment>
   <instantiate
      entity="Location_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Location_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Location_assignment"
            attribute="location_for_assignment"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="delivery_location">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Location_assignment"
            attribute="entity_for_location"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="inventory_item_demand">
            
         </bound_parameter>
      </source>
   </assign>
   <comment>
      Delivery_site
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="inventory_item_demand.items">
            
         </bound_parameter>
      </target>
      <source>
         <param_in_ref
            name="delivery_site">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      Demanded_from (G.I. needs to know this is a new instance and not a reuse of the next one)
   </comment>
   <instantiate
      entity="Organization_or_person_in_organization_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="inventory_item_demand">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="assigned_entity"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="demanded_from">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      create the link to the demanded item
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="inventory_item_demand.items">
            
         </bound_parameter>
      </target>
      <source>
         <param_in_ref
            name="demanded_item">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      Denomination_of_quantity
   </comment>
   <call_template
      name="assigning_resource_property"
      business_context="UK_Defence">
      <param_in
         name="property_class_name"
         value="'Denomination_of_quantity'">
         
      </param_in>
      <param_in
         name="property_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="described_element"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <bind
      parameter="denom_qty">
      <template_instance
         template="assigning_resource_property"
         parameter="property">
         
      </template_instance>
   </bind>
   <call_template
      name="resource_property_numeric"
      business_context="UK_Defence">
      <param_in
         name="value"
         value="@denomination_of_quantity">
         
      </param_in>
      <param_in
         name="unit"
         value="@denomination_of_quantity_unit">
         
      </param_in>
      <param_in
         name="unit_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="si_unit"
         value="@denomination_of_quantity_si_unit">
         
      </param_in>
      <param_in
         name="context"
         value="'Numerical_representation_context'">
         
      </param_in>
      <param_in
         name="context_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="property"
         value="^denom_qty">
         
      </param_in>
   </call_template>
   <comment>
      [Optional Estimated_Return_date]
   </comment>
   <instantiate
      entity="Date_or_date_time_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="inventory_item_demand">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="assigned_date"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="estimated_return_date">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      [Optional Item Demanded Qualification code]
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="class_name"
         value="@item_demanded_qualification_code">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:UK_Defence'">
         
      </param_in>
      <param_in
         name="items"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      item description
   </comment>
   <call_template
      name="assigning_descriptor"
      business_context="UK_Defence">
      <param_in
         name="descr"
         value="@item_description">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Description'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      item name
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@item_name">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@source_organization_id">
         
      </param_in>
      <param_in
         name="type"
         value="'Name'">
         
      </param_in>
      <param_in
         name="items"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      [Optional point_of_contact] (G.I. needs to know this is a new instance and not a reuse of a previous or subsequent one)
   </comment>
   <instantiate
      entity="Organization_or_person_in_organization_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="inventory_item_demand">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="assigned_entity"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="point_of_contact">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      Priority code
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="class_name"
         value="@priority_code">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:UK_Defence'">
         
      </param_in>
      <param_in
         name="items"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      [Optional Quantity demanded qualification code]
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="class_name"
         value="@quantity_demanded_qualification_code">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:UK_Defence'">
         
      </param_in>
      <param_in
         name="items"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      reason_for_demand_code
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="class_name"
         value="@reason_for_demand_code">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:UK_Defence'">
         
      </param_in>
      <param_in
         name="items"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      [Optional Related returned item]
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="inventory_item_demand.items">
            
         </bound_parameter>
      </target>
      <source>
         <param_in_ref
            name="related_returned_item">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      [Optional Remarks]
   </comment>
   <call_template
      name="assigning_descriptor"
      business_context="UK_Defence">
      <param_in
         name="descr"
         value="@remarks">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Remarks'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
   <comment>
      Required_delivery_date
   </comment>
   <instantiate
      entity="Date_or_date_time_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="inventory_item_demand">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="assigned_date"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="required_delivery_date">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      [Optional Stock Location]
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="inventory_item_demand.items">
            
         </bound_parameter>
      </target>
      <source>
         <param_in_ref
            name="stock_location">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      Theatre_delivery_code
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="class_name"
         value="@theatre_delivery_code">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:UK_Defence'">
         
      </param_in>
      <param_in
         name="items"
         value="^inventory_item_demand">
         
      </param_in>
   </call_template>
</refpath>

© UK MOD 2010 — All rights reserved