https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20253
Martin Renvoize (ashimema) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186864|0 |1 is obsolete| | --- Comment #41 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 186872 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186872&action=edit Bug 20253: (follow-up) Add duplicate purchase order number validation When processing EDI quotes with purchase order numbers, validate that the purchase order number is unique for the vendor to prevent operational confusion. The validation: - Checks for existing baskets with the same purchase order number and vendor - Includes both open and closed baskets in the uniqueness check - Logs an error with the raw RFF+ON segment and details to the edifact_errors table - Continues processing (non-blocking) to prevent data loss - Provides system log warnings for monitoring The error logging includes: - Section: Raw RFF+ON segment (e.g., "RFF+ON:orders 23/1") - Details: Clear description of the duplicate purchase order number issue This ensures administrators can identify and resolve duplicate purchase order numbers while maintaining system functionality and audit trails. Signed-off-by: Hannah Dunne-Howrie <[email protected]> Sponsored-by: Westminster City Council <https://www.westminster.gov.uk/> Sponsored-by: Royal Borough of Kensington and Chelsea <https://www.rbkc.gov.uk/> Sponsored-by: OpenFifth <https://openfifth.co.uk/> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
