cancel
Showing results for 
Search instead for 
Did you mean: 

How to move a Cancelled Project back to active list.

Former Member
0 Kudos

Hi,

I require an urgent help, we have incorrectly cancelled a project through CSV import and have set the field IMP_DOC_ACTION as cancel. Is there a way to undo this change. I need to again open this project for performing project activity.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pawan,

Once the projects are cancelled or closed, they cant be moved back to active list.

Regards,

Vignesh

Former Member
0 Kudos

Hi Vignesh,

Thanks for your help.

I tried to bring it to active list by again setting the DB column INACTIVE as 0. After this I was able to see in active list, but I am not able to unlock the project. I tried the following code to unlock it but no use.

docID = doc.getDocumentId();

if(docID.equals("PROJ-746-2012"))

{

IapiDocumentLockManager.unlockDocument(session,doc);

}

Can you help me in unlocking the doc which was cancelled.

Regards,

Pawan

Former Member
0 Kudos

Hi Pawan,

to unlock the project. You have to right a tool bar script. please check the below code.

Scripting Context:Toolbar
External ID:projectphaseunlock

Application Context:Flextronics
Display Name:ProjectPhaseUnlock

Description:Project Phase Unlock

Script Version:1.0
Class: Project(1100)
Instance Type:Any
Document Type:Any

Toolbar Key: projectdocumentunloc

Toolbar Name ID:Unlock the Project Document
Toolbar Description ID:Unlock this Contract Document

 

Toolbar Script Visibility:View Mode Only
Add the below in the script box.

lockManager = new IapiDocumentLockManager();

lockManager.unlockDocument(session,doc);

The above code will enable a script box in the tool bar. you can unlock the project and disable the script if it is not required any more.

Thanks



0 Kudos

Once the project is cancelled it is not possible to make it active. Attempting to change it via scripting or at the DB level is something that should be avoided. Although it might appear to work it could potentially result in a unstable system and corrupt data.

Regards,

Vikram

Answers (0)