-
Notifications
You must be signed in to change notification settings - Fork 318
[Quality Management] - "Item Filter"; Text[400] to be replaced with Blob. Length of text variables can be unlimited. #5900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- 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.
…ilter_Text_with_BLOB
…ilter_Text_with_BLOB
…lty. Prod. Gen. Rule Wizard
…vent duplicate entries
… with flexible alternatives
…ilter_Text_with_BLOB
|
|
||
| // [WHEN] CleanUpWhereClause400 is called with input where clause | ||
| Output := QltyFilterHelpers.CleanUpWhereClause400(InputWhereClause400Tok); | ||
| Output := QltyFilterHelpers.CleanUpWhereClause(InputWhereClause400Tok); |
There was a problem hiding this comment.
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.'; |
There was a problem hiding this comment.
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?
Summary
Replaced Item Filter Text[400] with BLOB
Same changes done for Condition Filter and Attribute Filter
Work Item(s)
Fixes AB#610919