Sub-50 row count is already an idea.
Also, and I run the risk of veering off a bit, but
This is a direct result of Manager not being able to maintain supplier invoice reference with auto generated purchase reference. You can have either but not both. I think something should have been done about that already, otherwise the result is this: