Template:— product_location_change (prod_loc_chg)
Context:— UK_Defence
Date: 2010/03/15 14:46:04
Revision: 1.2

This section specifies the template product_location_change.

NOTE  The template has been defined in the context of UK_Defence. Refer to the business context for details of related templates.

NOTE  An explanation of a template and the associated instantiation path is provided in the Template overview section.

Description

This template describes how to represent a relationship between two product locations where one location of the product is subsequent to the prior location of the product.

The activity that caused the change of location is optionally referenced.

Business perspective

The Product Location business object is used by those UK_Defence Data Exchange Specifications to represents the relationship between two product locations where one location of the product is subsequent to the prior location of the product. Also represents the activity that caused the change of location is optionally referenced.

Business object definition


Figure 1 —  Graphical Representation for Business Object Product Location Change

Figure 1 —  Graphical Representation for Business Object Product Location Change

Product Location Change

The definition of a Product Location Change object is: This information object represents information about the relationship between two product locations where one location of the product is subsequent to the prior location of the product and the activity that caused the change of location is optionally referenced.

Attribute name

Attribute description

Attribute type

Optionality

ID This is the identifier of the Product Location Change. Identifier Mandatory
Prior location The reference to the prior location of the product. Product Location Mandatory
Related activity The reference to the activity which was responsible for the change of location in the related product. Activity Optional
Subsequent location The reference to the subsequent location of the product. Product Location Mandatory

Table 1 — Product Location Change attribute details

Model diagrams
The EXPRESS-G diagram in Figure 2 shows the templates and EXPRESS entities that are required to represent the template "product_location_change". The text highlighted in blue shows the template parameters.


Figure 2 —  An EXPRESS-G representation of the Information model for product_location_change

Figure 2 —  An EXPRESS-G representation of the Information model for product_location_change

The graphic for the template to be used in other EXPRESS-G diagrams is shown in Figure  3 below.


Figure 3 —  The graphical representation of the product_location_change template

Figure 3 —  The graphical representation of the product_location_change template

Input parameters
The following input parameters are defined for this template:
ID (Type='STRING')
This is the identifier of the Product Location Change.
source_organization (Type='STRING')
The organization that created the associated identifier. Additionally a Person or Information System could be defined when either of these are the source; see Identifier template characterizations
prior_location (Type= 'ENTITY (Location)' )
The reference to the prior location of the product.
related_activity (Type= 'ENTITY (Activity)' , Optional)
The reference to the activity which was responsible for the change of location in the related product.
subsequent_location (Type= 'ENTITY (Location)' )
The reference to the subsequent location of the product.
related_product (Type= 'ENTITY (Product)' , Optional)
The reference to the product whose location was changed
Reference parameters
The following reference parameters are defined for this template:
prod_loc_chg(Type='ENTITY (Selected_item)')
Allow the Selected_item entity instantiated in this path to be referenced when this template is used.
Note: The Selected_item entity can be referenced in a template path by:
%^target = $product_location_change.prod_loc_chg%
where target is the parameter to which the Selected_item is bound.
Uniqueness constraints

The following parameter combinations specify a uniqueness constraint:
Unique constraint: Unique product location change
Each instance of the entity (Selected_item) within the data set shall be uniquely identified by a combination of the following parameters on this template (product_location_change) namely: ID, prior_location, subsequent_location.
The instance is referenced by the following template parameter: prod_loc_chg.
Instantiation path
The instantiation path shown below specifies the entities that are to be instantiated by the template.
A description of templates and the syntax for the instantiation path is provided in the Templates Help/Information section.
-- Create the Selected_item entity
Selected_item
Selected_item.id = '/IGNORE'
Selected_item.name = '/IGNORE'
Selected_item.description = '/IGNORE'
%^selected_item = Selected_item%
/identifier(
    ID=@ID,
    source_organization=@source_organization,
    type='Organization_identification_code',
    items=^selected_item)/

-- [optional Applied_activity_assignment]
Applied_activity_assignment
Applied_activity_assignment.role = '/IGNORE'
Applied_activity_assignment.items -> @related_product
Applied_activity_assignment.assigned_activity -> @related_activity
%^actiivty = Applied_activity_assignment%

-- [optional Classification_assignment]
Classification_assignment
Classification_assignment.role = '/IGNORE'
Classification_assignment.items -> ^actiivty
Classification_assignment.assigned_class -> ^selected_item

-- Create the Location_relationship entity
Location_relationship
Location_relationship.name = '/IGNORE'
Location_relationship.description = '/IGNORE'
Location_relationship.relating -> @prior_location
Location_relationship.related -> @subsequent_location
%^loc_rel = Location_relationship%

-- Create the Classification_assignment entity
Classification_assignment
Classification_assignment.role = '/IGNORE'
Classification_assignment.items -> ^loc_rel
Classification_assignment.assigned_class -> ^selected_item
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Selected_item.id '/IGNORE' Class.id
Selected_item.name '/IGNORE' Class.name
Selected_item.description '/IGNORE' Class.description
Applied_activity_assignment.role '/IGNORE'
Classification_assignment.role '/IGNORE'
Location_relationship.name '/IGNORE'
Location_relationship.description '/IGNORE'
Classification_assignment.role '/IGNORE'
Instance diagrams
The instance diagram in Figure  4 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/product_location_change(ID='prodlocchg123', source_organization='UK_Defence', prior_location='@3', related_activity='@184', subsequent_location='@56', related_product='@109')/
(an illustration of the consolidated product_location_change template is shown in Figure 5 below.)


Figure 4 —  Entities instantiated by product_location_change template

Figure 4 —  Entities instantiated by product_location_change template

The instance diagram in Figure 5 shows the graphic symbol for the template that is to be used in other instance diagrams. The example template is:
/product_location_change(ID='prodlocchg123', source_organization='UK_Defence', prior_location='@3', related_activity='@184', subsequent_location='@56', related_product='@109')/


Figure 5 —  Instantiation of product_location_change template

Figure 5 —  Instantiation of product_location_change template

Characterizations
No common characterizations of the template product_location_change have been identified. However, the ISO 10303-239 EXPRESS model may enable other assignments to the entities instantiated by the template.

© UK MOD 2010 — All rights reserved