0 votes

Hi to all,

My customer doesn't want to keep the links to COMP when he create a DOCUment from a PROJect...

What is the best way to disable this standard functionality ?

asked in Other by (194 points)

1 Answer

+3 votes
Best answer

I would customize the standard function editNew(detail) defined in js\commands\gridtoolsAddCmd.js

The condition to override/change is the COPYMAINDETAIL. Remove Comp

if (['Proj','Oppo','Case'].indexOf(entity) !== -1) {
  params += '©MAINDETAIL={entity};{key};Comp;Cont';

I assume you know how to override a standard command. If not, take a look at the sample custom folder.

answered by (7.4k points)
selected by
Welcome to Efficy Overflow, where you can ask questions and receive answers from other members of the community.
1,249 questions
1,519 answers
328 users