Template:— inventory_item_demand_response (invntry_itm_dmnd_rspnse) Context:— UK_Defence |
Date: 2009/04/17 09:34:16 Revision: 1.4
|
XML references to the Template
These can be cut and pasted into the XML as required.
inventory_item_demand_response
Set up a hyperlink to the template definition.
<template_ref name="inventory_item_demand_response" context="UK_Defence" />
Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="inventory_item_demand_response" context="UK_Defence" >
<param name="date_demand_received">
<param_value></param_value>
<description></description>
</param>
<param name="date_of_response">
<param_value></param_value>
<description></description>
</param>
<param name="description">
<param_value></param_value>
<description></description>
</param>
<param name="id">
<param_value></param_value>
<description></description>
</param>
<param name="source_organization">
<param_value></param_value>
<description></description>
</param>
<param name="related_demand">
<param_value></param_value>
<description></description>
</param>
<param name="responding_organization">
<param_value></param_value>
<description></description>
</param>
<param name="response">
<param_value></param_value>
<description></description>
</param>
<param name="response_to">
<param_value></param_value>
<description></description>
</param>
<param name="related_item_of_supply">
<param_value></param_value>
<description></description>
</param>
</template_table>
Setup a template_example:
<template_example name="inventory_item_demand_response">
<param_in name="date_demand_received" value=""/>
<param_in name="date_of_response" value=""/>
<param_in name="description" value=""/>
<param_in name="id" value=""/>
<param_in name="source_organization" value=""/>
<param_in name="related_demand" value=""/>
<param_in name="responding_organization" value=""/>
<param_in name="response" value=""/>
<param_in name="response_to" value=""/>
<param_in name="related_item_of_supply" value=""/>
</template_example>
/
inventory_item_demand_response(date_demand_received='', date_of_response='', description='', id='', source_organization='', related_demand='', responding_organization='', response='', response_to='', related_item_of_supply='')/
Path
The following entities are instantiated with attributes as specified:
XML representation of path
<refpath
template="inventory_item_demand_response">
<comment>
demand response
</comment>
<instantiate
entity="Required_resource_by_resource_item"
context="UK_Defence">
</instantiate>
<comment>
Item_of_supply
</comment>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Required_resource_by_resource_item"
attribute="resource_item"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="related_item_of_supply">
</param_in_ref>
</source>
</assign>
<bind
parameter="req_res_item">
<express_entity
entity="Required_resource_by_resource_item"
context="UK_Defence">
</express_entity>
</bind>
<comment>
date_demand_received
</comment>
<instantiate
entity="Date_or_date_time_assignment"
context="UK_Defence">
</instantiate>
<bind
parameter="date_demand_received">
<express_entity
entity="Date_or_date_time_assignment"
context="UK_Defence">
</express_entity>
</bind>
<assign
assignment_type="points-to">
<target>
<bound_parameter
name="date_demand_received.assigned_date">
</bound_parameter>
</target>
<source>
<param_in_ref
name="date_demand_received">
</param_in_ref>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<bound_parameter
name="date_demand_received.role">
</bound_parameter>
</target>
<source>
<string
value=" 'date_demand_received' ">
</string>
</source>
</assign>
<assign
assignment_type="points-to">
<target>
<bound_parameter
name="date_demand_received.items">
</bound_parameter>
</target>
<source>
<bound_parameter
name="req_res_item">
</bound_parameter>
</source>
</assign>
<comment>
date_of_response
</comment>
<instantiate
entity="Date_or_date_time_assignment"
context="UK_Defence">
</instantiate>
<bind
parameter="date_of_response">
<express_entity
entity="Date_or_date_time_assignment"
context="UK_Defence">
</express_entity>
</bind>
<assign
assignment_type="points-to">
<target>
<bound_parameter
name="date_of_response.assigned_date">
</bound_parameter>
</target>
<source>
<param_in_ref
name="date_of_response">
</param_in_ref>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<bound_parameter
name="date_of_response.role">
</bound_parameter>
</target>
<source>
<string
value=" 'date_of_response' ">
</string>
</source>
</assign>
<assign
assignment_type="points-to">
<target>
<bound_parameter
name="date_of_response.items">
</bound_parameter>
</target>
<source>
<bound_parameter
name="req_res_item">
</bound_parameter>
</source>
</assign>
<comment>
[optional description]
</comment>
<call_template
name="assigning_descriptor"
business_context="UK_Defence">
<param_in
name="descr"
value="@description">
</param_in>
<param_in
name="class_name"
value="'Description'">
</param_in>
<param_in
name="ecl_id"
value="'urn:plcs:rdl:std'">
</param_in>
<param_in
name="is_assigned_to"
value="^req_res_item">
</param_in>
</call_template>
<comment>
id
</comment>
<call_template
name="identifier"
business_context="UK_Defence">
<param_in
name="ID"
value="@id">
</param_in>
<param_in
name="source_organization"
value="@source_organization">
</param_in>
<param_in
name="type"
value="'Inventory_item_demand_response_id_code'">
</param_in>
<param_in
name="items"
value="^req_res_item ">
</param_in>
</call_template>
<comment>
related_demand
</comment>
<instantiate
entity="Required_resource_assignment"
context="UK_Defence">
</instantiate>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Required_resource_assignment"
attribute="assigned_resource"
context="UK_Defence">
</express_attribute>
</target>
<source>
<bound_parameter
name="req_res_item">
</bound_parameter>
</source>
</assign>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Required_resource_assignment"
attribute="item"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="related_demand">
</param_in_ref>
</source>
</assign>
<bind
parameter="req_res_asst">
<express_entity
entity="Required_resource_assignment"
context="UK_Defence">
</express_entity>
</bind>
<comment>
responding_organization
</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="req_res_item">
</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="responding_organization">
</param_in_ref>
</source>
</assign>
<comment>
response
</comment>
<call_template
name="assigning_descriptor"
business_context="UK_Defence">
<param_in
name="descr"
value="@response">
</param_in>
<param_in
name="class_name"
value="'response'">
</param_in>
<param_in
name="ecl_id"
value="'urn:plcs:rdl:uk_defence'">
</param_in>
<param_in
name="is_assigned_to"
value="^req_res_item">
</param_in>
</call_template>
<comment>
response_to
</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="req_res_item">
</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="response_to">
</param_in_ref>
</source>
</assign>
</refpath>