Skip to content

Conversation

@tomasevicst
Copy link
Contributor

@tomasevicst tomasevicst commented Dec 22, 2025

Summary

Replaced Item Filter Text[400] with BLOB
Same changes done for Condition Filter and Attribute Filter

Work Item(s)

Fixes AB#610919

@tomasevicst tomasevicst requested a review from a team as a code owner December 22, 2025 12:11
@github-actions github-actions bot added the AL: Apps (W1) Add-on apps for W1 label Dec 22, 2025
@github-actions github-actions bot added this to the Version 28.0 milestone Dec 22, 2025
- Updated "Condition Filter" and "Item Attribute Filter" fields in the "Qlty. Inspection Gen. Rules" page to use dedicated text variables for better clarity and maintainability.
- Implemented OnValidate triggers for both filters to ensure proper setting and modification of the record.
- Refactored code in various wizards (Prod. Gen. Rule, Rec. Gen. Rule, Whse. Gen. Rule) to utilize new methods for setting and getting condition filters.
- Updated tests to reflect changes in the way condition filters are set, ensuring all relevant tests are passing with the new implementation.
- Improved overall code readability and maintainability by replacing direct field access with method calls for setting filters.

// [WHEN] CleanUpWhereClause400 is called with input where clause
Output := QltyFilterHelpers.CleanUpWhereClause400(InputWhereClause400Tok);
Output := QltyFilterHelpers.CleanUpWhereClause(InputWhereClause400Tok);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just remove the test then? The new function used here will not reduce the text length to 400 characters or less.

{
Caption = 'Condition Filter';
Description = 'Specifies the criteria for defining when to use this template. For example, if you wanted to only use a template for a certain item then you would define that item here.';
ToolTip = 'Specifies the criteria for defining when to use this template. For example, if you wanted to only use a template for a certain item then you would define that item here.';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we remove the tooltips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants