This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Automated Creation of ECN

enareshy - Friday, July 11, 2014 5:05 AM:

I read in Aras documents that we can achieve Automatic Creation of ECN after ECR is released. How can we get this working.. Any help will be greatly appreciated. 



DavidSpackman - Sunday, July 13, 2014 11:24 PM:

Hi Enareshy, 

 

If it has to be automatic

You could do this with a server method that runs in the workflow of the ECR when it reaches the approved state. (i.e. have a method that runs on_activate)

I would use a on_activate method on the last activity of the ECR workflow. See the Workflow Automation Examples community project, there is a method called Get Controlled Item that you can run to return all the information about the ECR. Use this information to create a new ECN item (included related ECR)

 

Manual creation of ECNs is another option

See Change Management Actions community project. It does pretty much what you're after, you can group one or more ECRs to create a single ECN.

 

I would suggest the manual method. Remember CMII suggests that may requests for changes be grouped together in a single ECN (based on the rules of interchangeability and end-item traceability requirements.)

Having a one to one relationships between ECRs and ECNs may result is meaningless duplication of work for users.

 

Regards, 

Dave



enareshy - Monday, July 14, 2014 1:01 AM:

Thanks Dave!