How to disable invoicing if not shipping

Hi. I want to enable invoice only if the user has create shipping documents. Is that possible?
Thank you

Yannis

I think only way at present is to create hook or trigger which can meet your reuirement