Issue #24315:improve missing/duplicate po number message

The exceptions should use the translatable exception string format as in the [dumbExample](https://github.com/xtuple/qt-client/wiki/xTuple-Desktop-Client-Coding-Standards#plpgsql).