BCApps icon indicating copy to clipboard operation
BCApps copied to clipboard

[Vendor] [Quality Mngmnt] - When the system creates more than one Quality Test, it should open a list of them, not a card

Open PredragMaricic opened this issue 1 year ago • 3 comments

Describe the issue

  1. Create lot-tracked item
  2. Create purchase order, assign two lots - L1 and L2.
  3. Post purchase order.
  4. ISSUE: The system opens the quality test card for lot L2. User is unaware how many quality tests have been created. We have to show the list of created tests.

Expected behavior

ISSUE: The system opens the quality test card for lot L2. User is unaware how many quality tests have been created. We have to show the list of created tes

Steps to reproduce

  1. Create lot-tracked item
  2. Create purchase order, assign two lots - L1 and L2.
  3. Post purchase order.
  4. ISSUE: The system opens the quality test card for lot L2. User is unaware how many quality tests have been created. We have to show the list of created tests.

Additional context

No response

I will provide a fix for a bug

  • [x] I will provide a fix for a bug

PredragMaricic avatar Nov 13 '25 15:11 PredragMaricic

Comment from Tim

"When the system creates more than one Quality Test, it should open a list of them, not a card"

This co-incidentally is related to an interesting scenario in BC 27 that we've run into with our Quality app and some of our other apps as reported by customers. BC 27 recently introduced a behavior change where when UI that starts in some scenarios, such as a posting process, or even something like a "Message('Hello world')" in some triggers that the BC page freezes and becomes unresponsive. We've narrowed down the reproducible steps to be as simple as the "AL: Go!" hello world code:

pageextension 50100 CustomerListExt extends "Customer List" { trigger OnOpenPage(); begin Message('App published: Hello world'); // This will now freeze the customer list. end; }

How this manifests in the Quality app specifically is that when using the show test setting the act of showing the page will freeze the rest of BC, making it not possible to close the page or switch records. The easiest way to reproduce this with the foundation quality management app is to use a location configured for warehouse receipts and have warehouse receipt posts trigger test generation, and you'll see the effect on BC 27 (but not BC 26.x).

What we were considering doing in our version of the quality app to work around this behavior change is switching to notifications instead of displaying the page, with the idea that this might have a beneficial side effect of improving the workflow by making testing less intrusive in addition to working around the behavior change that BC 27 brings. The reasoning behind the proposed change is that in the 'real world' the person doing the posting that would trigger test creation is rarely the same person doing the testing (on very small customers it is more likely the same person however, especially when the 'test' is just a checklist). We have the setting on the setup page set to "Show Test" mostly to help people testing the app or people doing demos to save clicks.

Are you interested in doing this same approach of switching from showing the page to notifications instead, or would you prefer we just do the literal ask of finding a way to show the list of tests when multiple tests are created?

PredragMaricic avatar Dec 12 '25 09:12 PredragMaricic

@insightworks007 hi Tim, I like the Notification approach.

AndreiPanko avatar Jan 23 '26 08:01 AndreiPanko

@PredragMaricic any update on this? Can we close PR as stale?

Groenbech96 avatar May 28 '26 14:05 Groenbech96