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…