ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

New event in Purchase Header for Vendor Invoice No. and Vendor Cr. Memo No.

Open shadow747 opened this issue 1 year ago • 1 comments

Describe the request

Can we have 2 events, OnBeforeVendorInvoiceNoFindPostedDocumentWithSameExternalDocNo("Vendor Invoice No.",IsHandled) and OnBeforeVendorCrMemoNoFindPostedDocumentWithSameExternalDocNo("Vendor Cr. Memo No.",IsHandled) before standard logic on "Vendor Invoice No." and "Vendor Cr. Memo No." in Purchase Header as shown in screenshot below.

Image

Additional context

Need to create a custom message / notification for duplicate vendor invoice number, vendor credit memo number so need to bypass standard notification logic. Current workaround is OnAfterValidate of these fields triggers but that leads to double calls to functions. Internal work item: AB#567485

shadow747 avatar Feb 11 '25 02:02 shadow747

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 32545.

JesperSchulz avatar Apr 02 '25 12:04 JesperSchulz