Workshop Document Rule

The action rule enables you to export the user-defined text in XML.

This page discusses:

General Information

This rule executes when you use Job Order List command or Extract Workshop Document for XML.

Input Objects

Input objects must be of the following type:

Parameters correspond to the context object.

Example

let mfgProcItem(MfgProcessOccurrence)
let listOfUDTNames(List)
 
set mfgProcItem = Parameters.GetAttributeObject("ManufacturedItem")
if (mfgProcItem <> NULL )
{
	let FeatureAttrList(List)
	let AttrName(String)
	let ObjectType1(String)
	let ObjectType2(String)
	ObjectType1 = "Structure_Plate"
	ObjectType2 = "ElementaryEndItem"
	AttrName = "V_Name"
	SetDSTFeatureAttributeIntoList(FeatureAttrList, ObjectType1, AttrName)
	SetDSTFeatureAttributeIntoList(FeatureAttrList, ObjectType2, AttrName)
	 
	Parameters.SetAttributeObject("listOfUDTNames", FeatureAttrList)
}