This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix CVU prefix for GenTrunk


Load all Gen*DMS_IOM jobs
<?xml version="1.0" ?>
<!DOCTYPE Control SYSTEM "/home/ralmquist/work/designer/sam-iom/dev_install/TranslationRuntime/config/TranslationRules/Control.dtd">
<Control><name>CtlGenTrunkDMS_IOM</name><version>1.0</version><inputDTSName version="1.0">ServiceOrderProvisioningRequest</inputDTSName><returnDTSName version="1.0">DTSCVUTOArray</returnDTSName><actions><action><identifier><![CDATA[SetupEnv]]></identifier><ruleAction type="python"><pythonRule><pythonConditionalExpression><![CDATA[KEY_NAME		= "CVTO_PREFIX"
NEW_BASE		= 62
#DELIM		= " "

try:
	order_index = int(Job.OrderElementIndex)
except:
	throw("OrderElementIndex job parameter is not an integer.")

#print "order_index = ",order_index
if( order_index < 0 or len(In["INPUT"].TrunkOrder.TrunkGroupListDMS) < order_index + 1 ):
	throw("OrderElementIndex job parameter is invalid.")


Job.TGIndex		= order_index
order_mgr			= str(In["INPUT"].Order.OrderManager)
#activity			= str(In["INPUT"].TrunkOrder.TrunkGroupListDMS[order_index].Activity).upper()

# designer bug: can't tune database so just hardcode for now
prefix			= RefMap("GetConstantRMP", "VALUE", NAME=KEY_NAME, NAMESPACE=order_mgr)
#prefix = order_mgr
if((prefix == None) or (len(trim(prefix)) == 0)):
	throw("No prefix string specified in OTR_CONSTANTS table, for order mgr [" + order_mgr + "].")

#print "prefix = ",prefix

Job.TaskOrderID		= prefix + convertNum(Job.SOkey, NEW_BASE) + getUniqueNum(Job.SOkey)
#print "TaskOrderID = ", Job.TaskOrderID
Job.TrunkType		= In["INPUT"].TrunkOrder.TrunkGroupListDMS[order_index].TrunkType
#print "TrunkType = ", Job.TrunkType
Job.Direction		= In["INPUT"].TrunkOrder.TrunkGroupListDMS[order_index].TrunkDirection.Value
#print "Direction = ", Job.Direction
Job.PRIMARY_OE		= ""
Job.SECONDARY_OE		= ""
Job.L1FLAGS		= ""
Job.LINEATTR		= ""

#print "before PRI init"

if Job.TrunkType == 'PRI':
	print 'PRI'

	for mem in In["INPUT"].TrunkOrder.TrunkGroupListDMS[order_index].MemberListDMS :
		dchan = str(mem.DChannelDesg.Value)
		if dchan == 'PRIMARY':
			Job.PRIMARY_OE = str(mem.OE.Value)
		elif dchan == 'SECONDARY':
			Job.SECONDARY_OE = str(mem.OE.Value)

	for data in In["INPUT"].TrunkOrder.TrunkGroupListDMS[order_index].AdditionalDataList :
		attr = str(data.Name)
		if attr == 'PBXManufacturer':
			val = str(data.Value)
			if val == 'Nortel':
				Job.L1FLAGS = 'N'
			elif val == 'Other':
				Job.L1FLAGS = 'Y'
			else:
				Job.L1FLAGS = 'X'
		elif attr == 'LINEATTR':
			Job.LINEATTR = str(data.Value)

#print "L1FLAGS = ", Job.L1FLAGS
#print "LINEATTR = ", Job.LINEATTR
#print "OE = [", Job.PRIMARY_OE, ", ", Job.SECONDARY_OE , "]"

return true]]></pythonConditionalExpression></pythonRule></ruleAction><gotoSuccess><![CDATA[GenPRTGRP_DMSTaskDTS]]></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><action><identifier><![CDATA[GenPRTGRP_DMSTaskDTS]]></identifier><transformAction><type>push</type><staticName version="1.0">GenPRTGRP_DMSTaskDTS</staticName><identifier><![CDATA[INPUT]]></identifier></transformAction><gotoSuccess><![CDATA[Populate_Return_DTS]]></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><action><identifier><![CDATA[Populate_Return_DTS]]></identifier><ruleAction type="python"><pythonRule><pythonConditionalExpression><![CDATA[#if(Job.PopulateReturnDTS == None):
#	# indicate to the caller that this task doesn't need to be executed
#	return true

from com.ssi_corp.translator.addOns.cvu import CVUTOGeneratorHelper

# the return dts contains an array of DTSCVUTO dts's. but the populateCVUTO()
# function works on only one DTSCVUTO, not an array of them. so before calling
# the function, create an element in the array (by populating some leaf node),
# so that one instance of a DTSCVUTO can be created and passed to the function.

index = 0
Return.DTSCVUTOs.getNode().setValue("[" + str(index) + "].TaskOrderInfo.orderId", "")
CVUTOGeneratorHelper.populateCVUTO(In["GenPRTGRP_DMSTaskDTS"], Return.DTSCVUTOs[index])
return true]]></pythonConditionalExpression></pythonRule></ruleAction><gotoSuccess><![CDATA[done]]></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><import type="python"><pythonImport><![CDATA[com.ssi_corp.translator.NoDataException]]></pythonImport></import><import type="python"><pythonImport><![CDATA[com.ssi_corp.translator.TransformRuntimeException]]></pythonImport></import><import type="python"><pythonImport><![CDATA[com.ssi_corp.translator.TransformMapRuntimeException]]></pythonImport></import><import type="python"><pythonImport><![CDATA[SSITrunk_Preprocessing]]></pythonImport></import><import type="python"><pythonImport><![CDATA[SSIOTR_5E_Functions]]></pythonImport></import><import type="python"><pythonImport><![CDATA[SSIOTR_Functions]]></pythonImport></import><import type="python"><pythonImport><![CDATA[SSIOTR_DMS_Functions]]></pythonImport></import><import type="python"><pythonImport><![CDATA[CVUUniqueRequest]]></pythonImport></import><import type="python"><pythonImport><![CDATA[OTRConstants]]></pythonImport></import><import type="python"><pythonImport><![CDATA[OTRFlowControl]]></pythonImport></import><import type="python"><pythonImport><![CDATA[ResourceManagementMod]]></pythonImport></import><identifier><![CDATA[OUTPUT]]></identifier><return><![CDATA[RETURN]]></return></actions></Control>
<?xml version="1.0" ?>
<!DOCTYPE Control SYSTEM "/home/ralmquist/work/designer/sam-iom/dev_install/TranslationRuntime/config/TranslationRules/Control.dtd">
<Control><name>CtlGenTrunkMemberDMS_IOM</name><version>1.0</version><inputDTSName version="1.0">ServiceOrderProvisioningRequest</inputDTSName><returnDTSName version="1.0">DTSCVUTOArray</returnDTSName><actions><action><identifier><![CDATA[SetupEnv]]></identifier><ruleAction type="python"><pythonRule><pythonConditionalExpression><![CDATA[KEY_NAME		= "CVTO_PREFIX"
NEW_BASE		= 62

try:
	order_index = int(Job.OrderElementIndex)
except:
	throw("OrderElementIndex job parameter is not an integer.")

if( order_index < 0 or len(In["INPUT"].TrunkOrder.TrunkGroupListDMS) < order_index + 1 ):
	throw("OrderElementIndex job parameter is invalid.")


Job.TGIndex			= order_index
order_mgr			= str(In["INPUT"].Order.OrderManager)

# designer bug: can't tune database so just hardcode for now
prefix			= RefMap("GetConstantRMP", "VALUE", NAME=KEY_NAME, NAMESPACE=order_mgr)
#prefix = order_mgr
if((prefix == None) or (len(trim(prefix)) == 0)):
	throw("No prefix string specified in OTR_CONSTANTS table, for order mgr [" + order_mgr + "].")


Job.TaskOrderID		= prefix + convertNum(Job.SOkey, NEW_BASE) + getUniqueNum(Job.SOkey)

Job.TrunkType		= In["INPUT"].TrunkOrder.TrunkGroupListDMS[order_index].TrunkType

# index of MemberListDMS Array
# Ending and Current MemberList number
Job.MemberListEnd = len(In["INPUT"].TrunkOrder.TrunkGroupListDMS[int(Job.TGIndex)].MemberListDMS)
Job.MemberListIndex = 0

# In MemberListDMS[Job.MemberListIndex]
# Ending and Current Member number
Job.MemberEnd = 0
Job.MemberIndex = 0

Job.OutIndex = 0

return true]]></pythonConditionalExpression></pythonRule></ruleAction><gotoSuccess><![CDATA[GenPRTMEM_DMSTaskDTS]]></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><action><identifier><![CDATA[GenPRTMEM_DMSTaskDTS]]></identifier><transformAction><type>push</type><staticName version="1.0">GenPRTMEM_DMSTaskDTS</staticName><identifier><![CDATA[INPUT]]></identifier></transformAction><gotoSuccess><![CDATA[StartMemberListLoop]]></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><action><identifier><![CDATA[StartMemberListLoop]]></identifier><ruleAction type="python"><pythonRule><pythonConditionalExpression><![CDATA[print "MemberListIndex = ", Job.MemberListIndex, " : MemberListEnd = ", Job.MemberListEnd

if int(Job.MemberListIndex) >= int(Job.MemberListEnd):
	Job.NEXT_ACTION = "Populate_Return_DTS"
	return true

#mem = In["INPUT"].TrunkOrder.TrunkGroupListDMS[int(Job.TGIndex)].MemberListDMS[int(Job.MemberListIndex)]
if Job.TrunkType == 'PRI':
	Dchan = str(In["INPUT"].TrunkOrder.TrunkGroupListDMS[int(Job.TGIndex)].MemberListDMS[int(Job.MemberListIndex)].DChannelDesg.Value)
	if Dchan in ['PRIMARY', 'SECONDARY']:
		print "Skipping ", Dchan
		Job.NEXT_ACTION = "IncrementMemberListIndex"
		return true

Job.MemberIndex = In["INPUT"].TrunkOrder.TrunkGroupListDMS[int(Job.TGIndex)].MemberListDMS[int(Job.MemberListIndex)].MemberNumberStart
Job.MemberEnd = In["INPUT"].TrunkOrder.TrunkGroupListDMS[int(Job.TGIndex)].MemberListDMS[int(Job.MemberListIndex)].MemberNumberEnd

print "Member Number range: [", Job.MemberIndex, ",", Job.MemberEnd, "]"

if int(Job.MemberIndex) > int(Job.MemberEnd):
	Job.NEXT_ACTION = "IncrementMemberListIndex"
	return false

oe = str(In["INPUT"].TrunkOrder.TrunkGroupListDMS[int(Job.TGIndex)].MemberListDMS[int(Job.MemberListIndex)].OE.Value)
if len(oe) < 7:
	Job.NEXT_ACTION = "IncrementMemberListIndex"
	return false

Job.DCCKTTS = str(int(oe[5:7]))
Job.DCKTNO = str(int(oe[3:5]))
Job.DCNO = str(int(oe[0:3]))

Job.NEXT_ACTION = "GenPRTMEM_DMSTask_repeats_DTS"
return true
]]></pythonConditionalExpression></pythonRule></ruleAction><gotoSuccess><runtimeString><jobParam>NEXT_ACTION</jobParam></runtimeString></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><action><identifier><![CDATA[GenPRTMEM_DMSTask_repeats_DTS]]></identifier><transformAction><type>push</type><staticName version="1.0">GenPRTMEM_DMSTask_repeats_DTS</staticName><identifier><![CDATA[INPUT]]></identifier></transformAction><gotoSuccess><![CDATA[IncrementMemberIndex]]></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><action><identifier><![CDATA[IncrementMemberIndex]]></identifier><ruleAction type="python"><pythonRule><pythonConditionalExpression><![CDATA[# Save repeat element
In["GenPRTMEM_DMSTaskDTS"].Repeats.getNode().setNode("["+str(Job.OutIndex)+"]", In["GenPRTMEM_DMSTask_repeats_DTS"].getNode())
Job.OutIndex = int(Job.OutIndex) + 1
Job.DCCKTTS = int(Job.DCCKTTS) + 1
Job.MemberIndex = int(Job.MemberIndex) + 1

print "IncrementMemberIndex: [", Job.MemberIndex, ",", Job.MemberEnd, "]"

if int(Job.MemberIndex) <= int(Job.MemberEnd):
	Job.NEXT_ACTION = "GenPRTMEM_DMSTask_repeats_DTS"
	return true
else:
	Job.NEXT_ACTION = "IncrementMemberListIndex"
	return true]]></pythonConditionalExpression></pythonRule></ruleAction><gotoSuccess><runtimeString><jobParam>NEXT_ACTION</jobParam></runtimeString></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><action><identifier><![CDATA[IncrementMemberListIndex]]></identifier><ruleAction type="python"><pythonRule><pythonConditionalExpression><![CDATA[Job.MemberListIndex = int(Job.MemberListIndex) + 1

print "IncrementMemberListIndex: [", Job.MemberListIndex, ",", Job.MemberListEnd, "]"

return true]]></pythonConditionalExpression></pythonRule></ruleAction><gotoSuccess><![CDATA[StartMemberListLoop]]></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><action><identifier><![CDATA[Populate_Return_DTS]]></identifier><ruleAction type="python"><pythonRule><pythonConditionalExpression><![CDATA[from com.ssi_corp.translator.addOns.cvu import CVUTOGeneratorHelper

# the return dts contains an array of DTSCVUTO dts's. but the populateCVUTO()
# function works on only one DTSCVUTO, not an array of them. so before calling
# the function, create an element in the array (by populating some leaf node),
# so that one instance of a DTSCVUTO can be created and passed to the function.

index = 0
Return.DTSCVUTOs.getNode().setValue("[" + str(index) + "].TaskOrderInfo.orderId", "")
CVUTOGeneratorHelper.populateCVUTO(In["GenPRTMEM_DMSTaskDTS"], Return.DTSCVUTOs[index])

return true]]></pythonConditionalExpression></pythonRule></ruleAction><gotoSuccess><![CDATA[done]]></gotoSuccess><gotoFailure><![CDATA[abort]]></gotoFailure></action><import type="python"><pythonImport><![CDATA[com.ssi_corp.translator.NoDataException]]></pythonImport></import><import type="python"><pythonImport><![CDATA[com.ssi_corp.translator.TransformRuntimeException]]></pythonImport></import><import type="python"><pythonImport><![CDATA[com.ssi_corp.translator.TransformMapRuntimeException]]></pythonImport></import><import type="python"><pythonImport><![CDATA[SSITrunk_Preprocessing]]></pythonImport></import><import type="python"><pythonImport><![CDATA[SSIOTR_5E_Functions]]></pythonImport></import><import type="python"><pythonImport><![CDATA[SSIOTR_Functions]]></pythonImport></import><import type="python"><pythonImport><![CDATA[SSIOTR_DMS_Functions]]></pythonImport></import><import type="python"><pythonImport><![CDATA[CVUUniqueRequest]]></pythonImport></import><import type="python"><pythonImport><![CDATA[OTRConstants]]></pythonImport></import><import type="python"><pythonImport><![CDATA[OTRFlowControl]]></pythonImport></import><import type="python"><pythonImport><![CDATA[ResourceManagementMod]]></pythonImport></import><identifier><![CDATA[OUTPUT]]></identifier><return><![CDATA[RETURN]]></return></actions></Control>
<?xml version="1.0" ?>
<!DOCTYPE Transform SYSTEM "/home/ralmquist/work/designer/sam-iom/dev_install/TranslationRuntime/config/TranslationRules/Transform.dtd">
<Transform notationVersion="1.0" type="normal"><name>GenPRIBNRT_DMSTaskDTS</name><version>1.0</version><inputDTSName version="1.0">ServiceOrderProvisioningRequest</inputDTSName><returnDTSName version="1.0">PRIBNRT_DMSTaskDTS</returnDTSName><TransformMap type="ssi_p"><name>GenPRIBNRT_DMSTaskDTS</name><transformTable><import><![CDATA[SSITrunk_Preprocessing]]></import><import><![CDATA[SSIOTR_5E_Functions]]></import><import><![CDATA[SSIOTR_Functions]]></import><import><![CDATA[SSIOTR_DMS_Functions]]></import><import><![CDATA[CVUUniqueRequest]]></import><import><![CDATA[OTRConstants]]></import><import><![CDATA[OTRFlowControl]]></import><import><![CDATA[ResourceManagementMod]]></import><mapRule><nodeName>RetOut.TaskOrderInfo.orderId</nodeName><rule><![CDATA[return Job.TaskOrderID]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.status</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.comment</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.taskName</nodeName><rule><![CDATA[return "PRIBNRTDMS"]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.switchName</nodeName><rule><![CDATA[return In.Order.SwitchCLLI]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.releaseMethod</nodeName><rule><![CDATA[return "NO"]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.releaseDateTime</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.executionDateTime</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.originatingUser</nodeName><rule><![CDATA[return In.Order.OriginatingSystem]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.itemNbr</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.ACTIVITY</nodeName><rule><![CDATA[if In.TrunkOrder.RouteListList[int(Job.RTIndex)].Activity == 'ADD':
	return 'Add'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRT</nodeName><rule><![CDATA[return In.TrunkOrder.RouteListList[int(Job.RTIndex)].TableID]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.RTE</nodeName><rule><![CDATA[return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteListID]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRTSEL1</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 0:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[0].Activity == 'ADD':
		return 'N'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRTSEL2</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 1:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[1].Activity == 'ADD':
		return 'N'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRTSEL3</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 2:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[2].Activity == 'ADD':
		return 'N'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRTSEL4</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 3:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[3].Activity == 'ADD':
		return 'N'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRTSEL5</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 4:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[4].Activity == 'ADD':
		return 'N'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRTSEL6</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 5:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[5].Activity == 'ADD':
		return 'N'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRTSEL7</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 6:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[6].Activity == 'ADD':
		return 'N'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRTSEL8</nodeName><rule><![CDATA[return 'S']]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DMI1</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 0:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[0].DigitManipulationIndex.Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[0].DigitManipulationIndex.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DMI2</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 1:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[1].DigitManipulationIndex.Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[1].DigitManipulationIndex.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DMI3</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 2:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[2].DigitManipulationIndex.Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[2].DigitManipulationIndex.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DMI4</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 3:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[3].DigitManipulationIndex.Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[3].DigitManipulationIndex.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DMI5</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 4:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[4].DigitManipulationIndex.Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[4].DigitManipulationIndex.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DMI6</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 5:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[5].DigitManipulationIndex.Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[5].DigitManipulationIndex.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DMI7</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 6:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[6].DigitManipulationIndex.Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[6].DigitManipulationIndex.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI1</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 0:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[0].Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[0].TrunkGroupCLLI
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI2</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 1:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[1].Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[1].TrunkGroupCLLI
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI3</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 2:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[2].Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[2].TrunkGroupCLLI
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI4</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 3:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[3].Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[3].TrunkGroupCLLI
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI5</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 4:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[4].Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[4].TrunkGroupCLLI
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI6</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 5:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[5].Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[5].TrunkGroupCLLI
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI7</nodeName><rule><![CDATA[if int(Job.RouteInstSize) > 6:
	if In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[6].Activity == 'ADD':
		return In.TrunkOrder.RouteListList[int(Job.RTIndex)].RouteInstanceList[6].TrunkGroupCLLI
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI8</nodeName><rule><![CDATA[return 'T60']]></rule></mapRule></transformTable></TransformMap></Transform>
<?xml version="1.0" ?>
<!DOCTYPE Transform SYSTEM "/home/ralmquist/work/designer/sam-iom/dev_install/TranslationRuntime/config/TranslationRules/Transform.dtd">
<Transform notationVersion="1.0" type="normal"><name>GenPRTDN_DMSTaskDTS</name><version>1.0</version><inputDTSName version="1.0">ServiceOrderProvisioningRequest</inputDTSName><returnDTSName version="1.0">PRTDN_DMSTaskDTS</returnDTSName><TransformMap type="ssi_p"><name>GenPRTDN_DMSTaskDTS</name><transformTable><import><![CDATA[SSITrunk_Preprocessing]]></import><import><![CDATA[SSIOTR_5E_Functions]]></import><import><![CDATA[SSIOTR_Functions]]></import><import><![CDATA[SSIOTR_DMS_Functions]]></import><import><![CDATA[CVUUniqueRequest]]></import><import><![CDATA[OTRConstants]]></import><import><![CDATA[OTRFlowControl]]></import><import><![CDATA[ResourceManagementMod]]></import><mapRule><nodeName>RetOut.TaskOrderInfo.orderId</nodeName><rule><![CDATA[return Job.TaskOrderID]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.status</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.comment</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.taskName</nodeName><rule><![CDATA[return "PRTDNDMS"]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.switchName</nodeName><rule><![CDATA[return In.Order.SwitchCLLI]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.releaseMethod</nodeName><rule><![CDATA[return "NO"]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.releaseDateTime</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.executionDateTime</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.originatingUser</nodeName><rule><![CDATA[return In.Order.OriginatingSystem]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.itemNbr</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.ACTIVITY</nodeName><rule><![CDATA[if In.TrunkOrder.TNDataList[Job.TNIndex].Activity == 'ADD':
	return 'Add'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.BLOCKDN</nodeName><rule><![CDATA[return Job.BLOCKDN]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DN</nodeName><rule><![CDATA[return str(In.TrunkOrder.TNDataList[Job.TNIndex].NPA) + str(In.TrunkOrder.TNDataList[Job.TNIndex].NXX) + str(In.TrunkOrder.TNDataList[Job.TNIndex].LineRangeStart)]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IBNRT</nodeName><rule><![CDATA[return In.TrunkOrder.TNDataList[Job.TNIndex].RouteTableID.Value]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.RTE</nodeName><rule><![CDATA[return In.TrunkOrder.TNDataList[Job.TNIndex].UseRouteID.Value]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.TODN</nodeName><rule><![CDATA[if Job.BLOCKDN == "Y":
	return str(In.TrunkOrder.TNDataList[Job.TNIndex].NPA) + str(In.TrunkOrder.TNDataList[Job.TNIndex].NXX) + str(In.TrunkOrder.TNDataList[Job.TNIndex].LineRangeEnd)
]]></rule></mapRule></transformTable></TransformMap></Transform>
<?xml version="1.0" ?>
<!DOCTYPE Transform SYSTEM "/home/ralmquist/work/designer/sam-iom/dev_install/TranslationRuntime/config/TranslationRules/Transform.dtd">
<Transform notationVersion="1.0" type="normal"><name>GenPRTGRP_DMSTaskDTS</name><version>1.0</version><inputDTSName version="1.0">ServiceOrderProvisioningRequest</inputDTSName><returnDTSName version="1.0">PRTGRP_DMSTaskDTS</returnDTSName><TransformMap type="ssi_p"><name>GenPRTGRP_DMSTaskDTS</name><transformTable><import><![CDATA[SSITrunk_Preprocessing]]></import><import><![CDATA[SSIOTR_5E_Functions]]></import><import><![CDATA[SSIOTR_Functions]]></import><import><![CDATA[SSIOTR_DMS_Functions]]></import><import><![CDATA[CVUUniqueRequest]]></import><import><![CDATA[OTRConstants]]></import><import><![CDATA[OTRFlowControl]]></import><import><![CDATA[ResourceManagementMod]]></import><mapRule><nodeName>RetOut.TaskOrderInfo.orderId</nodeName><rule><![CDATA[return Job.TaskOrderID]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.status</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.comment</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.taskName</nodeName><rule><![CDATA[return "PRTGRPDMS"]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.switchName</nodeName><rule><![CDATA[return In.Order.SwitchCLLI]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.releaseMethod</nodeName><rule><![CDATA[return "NO"]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.releaseDateTime</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.executionDateTime</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.originatingUser</nodeName><rule><![CDATA[return In.Order.OriginatingSystem]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.itemNbr</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.ACTIVITY</nodeName><rule><![CDATA[if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].Activity == "ADD":
	return "Add"
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.ADMININF</nodeName><rule><![CDATA[return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].Remarks]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.ADNUM</nodeName><rule><![CDATA[return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].TrunkGroupNumber]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.BACKUPD</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	if len(str(Job.SECONDARY_OE)) >= 5:
		return "Y"
	else:
		return "N"

]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.BILLDN</nodeName><rule><![CDATA[return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].BillingNumber.Value]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CIDBPL</nodeName><rule><![CDATA[if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].Privacy.Activity == 'ADD':
	return 'Y'
elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].Privacy.Activity == 'DELETE':
	return 'N'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI</nodeName><rule><![CDATA[return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].TrunkGroupCLLI]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DIR</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	if Job.Direction == 'INCOM':
		return 'OG'
	elif Job.Direction == 'OUTGO':
		return 'IC'
	elif Job.Direction == 'TWOWAY':
		return '2W'

]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DTCICKTNO</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	if len(str(Job.PRIMARY_OE)) >= 5 :
		return str(int(Job.PRIMARY_OE[3:5]))

]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DTCICKTNOBK</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	if len(str(Job.SECONDARY_OE)) >= 5 :
		return str(int(Job.SECONDARY_OE[3:5]))

]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DTCINO</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	if len(str(Job.PRIMARY_OE)) >= 3:
		return str(int(Job.PRIMARY_OE[0:3]))

]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DTCINOBK</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	if len(str(Job.SECONDARY_OE)) >= 3:
		return str(int(Job.SECONDARY_OE[0:3]))

]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.DTONE</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].DialToneFXCircuits.Value]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.GRPTYP</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	return 'PX'
else:
	return 'PRA']]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.IPULSTYP</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InPulseType.Value == 'Nosignal':
		return 'NP'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InPulseType.Value == 'TT':
		return 'DT'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InPulseType.Value in [ 'DP', 'MF', 'Q391' ]:
		return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InPulseType.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.ISTARTSG</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InStartDial.Value =='Ground':
		return 'GS'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InStartDial.Value =='Loop':
		return 'LS'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InStartDial.Value =='Immediate':
		return 'IM'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InStartDial.Value =='Wink':
		return 'WK'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InStartDial.Value in ['Ansdtone', 'Delay', 'Dialtone', 'Dircon', 'None', 'WinkDT' ]:
		return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InStartDial.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.L1FLAGS</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	return Job.L1FLAGS]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.LATA</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].LATA.Activity == 'ADD':
		return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].LATA.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.LCANAME</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].LocalScreening.Activity
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.LINEATTR</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	return Job.LINEATTR]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.LTCALLS</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	if Job.Direction == 'DID':
		return 'N'
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.LTGRP</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].LogicalTerminalName.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.LTNUM</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].LogicalTerminalNumber.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.MRSA</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].MessageRateServiceArea.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.OPULSTYP</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutPulseType.Value == 'Nosignal':
		return 'NP'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutPulseType.Value == 'TT':
		return 'DT'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutPulseType.Value in [ 'DP', 'MF', 'Q391' ]:
		return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutPulseType.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.OSTARTSG</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutStartDial.Value =='Ground':
		return 'GS'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutStartDial.Value =='Loop':
		return 'LS'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutStartDial.Value =='Immediate':
		return 'IM'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutStartDial.Value =='Wink':
		return 'WK'
	elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutStartDial.Value in ['Delay', 'None']:
		return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].OutStartDial.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.PIC</nodeName><rule><![CDATA[if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InterlataCarrierChoice.Activity == 'ADD':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].InterlataCarrierChoice.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.PRTNM</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].PretranslatorName.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.PTC</nodeName><rule><![CDATA[if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].IntralataCarrierChoice.Activity == 'ADD':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].IntralataCarrierChoice.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.PXCGRP</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	if Job.Direction == 'INCOM':
		return "32"
	elif Job.Direction in ['OUTGO', 'TWOWAY']:
		return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].CustomerGroupKey.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.RATEAREA</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].RateArea.Activity == 'ADD':
		return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].RateArea.ActivityState
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.SCRNCL</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].ScreeningClass.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.SELSEQ</nodeName><rule><![CDATA[if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].HuntType.Value == 'Sequential-A':
	return 'ASEQ'
elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].HuntType.Value == 'Sequential-D':
	return 'DSEQ'
elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].HuntType.Value == 'FIFO-First Available':
	return 'MIDL'
elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].HuntType.Value == 'BGUCD-Backward Circular Hunt':
	return 'CCWCTH'
elif In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].HuntType.Value == 'GUCD-Sequential Circular Hunt':
	return 'CWCTH'
else:
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].HuntType.Value
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.SGRPVAR</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	return 'STD'
else:
	return 'ISDN']]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.TRKGRSIZ</nodeName><rule><![CDATA[return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].TrunkGroupSize.Value]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.VARIENT</nodeName><rule><![CDATA[if Job.TrunkType == 'PRI':
	val = In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].ProtocolVariant.PV_Attributes.Name
	if val in ['National 1', 'NT-DMS 100']:
		return 'NTNAPRI'
	elif val == 'National 2':
		return 'NIPRI'
	elif val == '5ESS Custom':
		return 'U459PRI'
	else:
		return val
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.ZEROMPOS</nodeName><rule><![CDATA[if Job.TrunkType == 'PBX':
	return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].ZeroMinusPosition.Value
]]></rule></mapRule></transformTable></TransformMap></Transform>
<?xml version="1.0" ?>
<!DOCTYPE Transform SYSTEM "/home/ralmquist/work/designer/sam-iom/dev_install/TranslationRuntime/config/TranslationRules/Transform.dtd">
<Transform notationVersion="1.0" type="normal"><name>GenPRTMEM_DMSTaskDTS</name><version>1.0</version><inputDTSName version="1.0">ServiceOrderProvisioningRequest</inputDTSName><returnDTSName version="1.0">PRTMEM_DMSTaskDTS</returnDTSName><TransformMap type="ssi_p"><name>GenPRTMEM_DMSTaskDTS</name><transformTable><import><![CDATA[SSITrunk_Preprocessing]]></import><import><![CDATA[SSIOTR_5E_Functions]]></import><import><![CDATA[SSIOTR_Functions]]></import><import><![CDATA[SSIOTR_DMS_Functions]]></import><import><![CDATA[CVUUniqueRequest]]></import><import><![CDATA[OTRConstants]]></import><import><![CDATA[OTRFlowControl]]></import><import><![CDATA[ResourceManagementMod]]></import><mapRule><nodeName>RetOut.TaskOrderInfo.orderId</nodeName><rule><![CDATA[return Job.TaskOrderID]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.status</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.comment</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.taskName</nodeName><rule><![CDATA[return "PRTMEMDMS"]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.switchName</nodeName><rule><![CDATA[return In.Order.SwitchCLLI]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.releaseMethod</nodeName><rule><![CDATA[return "NO"]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.releaseDateTime</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.executionDateTime</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.originatingUser</nodeName><rule><![CDATA[return In.Order.OriginatingSystem]]></rule></mapRule><mapRule><nodeName>RetOut.TaskOrderInfo.itemNbr</nodeName><rule><![CDATA[return ""]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.ACTIVITY</nodeName><rule><![CDATA[if In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].Activity == "ADD":
	return "Add"
]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.CLLI</nodeName><rule><![CDATA[return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].TrunkGroupCLLI]]></rule></mapRule><mapRule><nodeName>RetOut.NonRepeats.PMTYPE</nodeName><rule><![CDATA[return In.TrunkOrder.TrunkGroupListDMS[Job.TGIndex].MemberListDMS[0].OE.OEType]]></rule></mapRule></transformTable></TransformMap></Transform>
<?xml version="1.0" ?>
<!DOCTYPE Transform SYSTEM "/home/ralmquist/work/designer/sam-iom/dev_install/TranslationRuntime/config/TranslationRules/Transform.dtd">
<Transform notationVersion="1.0" type="normal"><name>GenPRTMEM_DMSTask_repeats_DTS</name><version>1.0</version><inputDTSName version="1.0">ServiceOrderProvisioningRequest</inputDTSName><returnDTSName version="1.0">PRTMEM_DMSTask_repeats_DTS</returnDTSName><TransformMap type="ssi_p"><name>GenPRTMEM_DMSTask_repeats_DTS</name><transformTable><import><![CDATA[SSITrunk_Preprocessing]]></import><import><![CDATA[SSIOTR_5E_Functions]]></import><import><![CDATA[SSIOTR_Functions]]></import><import><![CDATA[SSIOTR_DMS_Functions]]></import><import><![CDATA[CVUUniqueRequest]]></import><import><![CDATA[OTRConstants]]></import><import><![CDATA[OTRFlowControl]]></import><import><![CDATA[ResourceManagementMod]]></import><mapRule><nodeName>RetOut.DCCKTTS</nodeName><rule><![CDATA[return Job.DCCKTTS]]></rule></mapRule><mapRule><nodeName>RetOut.DCKTNO</nodeName><rule><![CDATA[return Job.DCKTNO]]></rule></mapRule><mapRule><nodeName>RetOut.DCNO</nodeName><rule><![CDATA[return Job.DCNO]]></rule></mapRule><mapRule><nodeName>RetOut.EXTRKNM</nodeName><rule><![CDATA[return Job.MemberIndex]]></rule></mapRule></transformTable></TransformMap></Transform>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]