Forcing attachments to be mandatory?

Is it possible to force the user to add an attachment before say an order can be created?

  • 0

    Not that i know of. 

    We wrote code to force a check for an attachment to an invoice before allowing it to post.   There is an override permission.

    The purpose was to be sure the salesman attached a signed delivery document.  Unfortunately it can't tell what's actually on the PDF so they can just attach pictures of their dog.    That hasn't actually happened but it could.   

  • 0 in reply to Stephen

    Thanks Stephen.

    I can run code in the VERIF_CRE action which does work and prevents the record from being created using GOK=0, but sadly attachments can't be added to a record until the record is created, which makes sense as the reference in the AOBJTXT table needs the record ID, which in my case isn't generated until creation.

    Therefore, I guess I'll need either just alert the user that they need to add an attachment, or restrict the record from being approved if there is no attachment.

    Thanks for the help.