I have made a pageextension extend the page "Document Attachment Details" and I added a button in the actions section which allows viewing the document attached.
but it shows overs all pages (customer, invoices, items)
My question is How can I specify that only the page sale invoices can see that button of pageextension?