Create the new Process

The new rmq.open.newhire Process will first prepare the ocmcowork record, and then open the new quote with a single line item for the New Employee bundle.

The new Process will need the following Initial JavaScript:

	 system.vars.$L_work=new SCFile("ocmcowork");
		

On the RAD tab, enter the following information:

Expressions before 1st RAD:

	 $L.part.no={100};$L.quantities={1};$L.item.quantity=1	
		

1st RAD:

	 –	svcCat.build.work.file.sub	–	Condition: true	
				
	 –	names	       –	$L.part.no
        –	record	       –	$L.work
        –	numbers	       –	$L.quantities
        –	number1	       –	$L.item.quantity

Expressions before 2nd RAD:

	 if (filename($L.file)="ocmq") then ($fileq=$L.file)		
		

2nd RAD:

        –	rmq.open	–	Condition: true
        –	file	        –	$L.file
        –	second.file	–	$L.object
        –	text	        –	$L.exit
        –	boolean1	–	true
        –	cond.input	–	false
        –	record	        –	$L.work