How to deal with duplicate invoices

I need help marking invoices which are a duplicate, It should be marked in M-files if the vendor number & invoice number is the same with another incoming invoice, that it is a duplicate, how do I implement this ? Property Calculator ? And what would that look like ? Thank you.

Parents Reply Children
  • But our goal is not to prevent the storage in M-Files, the duplicate should only be recognizable by looking at it means, if there is a duplicate, should the title or the metadata change so that it is visible that it is a duplicate or should a mail be sent to the assigned persons, how is this implemented ?
  • I sometimes configured Unique Object Enforcement to run in a particular workflow state. Duplicate objects will then not be admitted into that state. If objects are unique they will be forwarded automatically and can carry on in the process. Then I set up a different workflow state for duplicate objects and set automatic transition with a time delay of a few hours using a script or perhaps after 1 day, if that is acceptable. This way you can send off the first invoice in one direction and the duplicates in a different direction. It takes a little time for the second part to work though.