Disable the Document Handling button on the PurchLine

Hello,

I am trying to disable the document handling button on the PurchLine form. The client only wants documents to be attached on the Purchase order header and not on the line.

I put the folloiwng code on the init of the PurchLine Form, but it deactives it on the header too…

infolog.docuHandlingActive(false);

Any ideas? I am not a developer… please help.

thanks,

Yifat

Hi, In PurchTable form under purchtable datasource ->Active method write this code after super() – infolog.docuHandlingActive(True);

& in PurchTable form under purchline datasource ->Active method write this code after super() – infolog.docuHandlingActive(false);

Vishal

Make use of the “Use active document tables” parameter in Basic → setup → Document Management → Parameters.

So that the Document handling will be available only for the Active Document tables defined in

Basic → setup → Document Management → Active Document tables