KamranAftab - Thursday, December 5, 2013 5:01 PM:
Hi All,
I have created a custom change type (ETAR). I want it to behave like the ECR in that when I press the right mouse button on a part, it gives me an option to "Add Item(s) to Change" option. When I pick this option, a dialog comes up with "Change Type: " drop down. The drop down has values for the OOTB types listed. How do I add my custom change type do this drop down?
Thanks in advance.
Kamran
dennis - Friday, February 21, 2014 8:47 AM:
You will need to modify the following methods:
PE_ChooseCMItem_API
- Modify the line: this.ChangeItemList = top.aras.newArray("PR", "ECN", "ECR", "Simple ECO", "Simple MCO", "Express ECO", "Express DCO", "ETAR");
PE_AddChangeItem
- Modify the switch (typeName) to include a case for ETAR
switch (typeName)
{
case "PR":
changeItem = new PRChangeItem(item);
break;
case "ECR":
case "ECN":
case "Express ECO":
case "Express DCO":
case "Simple ECO":
case "ETAR":
changeItem = new GenericChangeItem(item);
break;
case "Simple MCO":
changeItem = new MCOChangeItem(item);
break;
}
KamranAftab - Monday, March 10, 2014 3:25 PM:
Hi Dennis,
I was able to figure this out, but I appreciate you replying to this post and hence documenting the solution in the forums.
Regards,
Kamran