Problem Note 69297: You receive a B18 filing type error message when validating Suspicious Activity Reports (SARX) in SAS® Anti-Money Laundering
The error shown below might occur when you validate the SAS Anti-Money Laundering SARX after you change the Type of Filing in the report:
For example, you encounter the issue if you change the Type of Filing from Initial Report to Correct/Amend Prior Report and back to Initial Report in SARX. When the Type of Filing value is changed, the application initializes the underlying vm.report.priorAgencyRefId field to blank (''), which Microsoft SQL Server treats differently from null and causes the validation error.
This issue is encountered only when you use the Microsoft SQL Server database.
The workaround is to override the underlying SQL query. Note the use of NULLIF() function in prior_agency_ref_id:
sasaml.report.savereport.sql=UPDATE FSK_RC_REPORT SET report_status_code=?, report_ready_code=?, report_desc=?, form_config_key=?, parent_object_name=?, parent_object_key=?, parent_create_date=?, correction_ind=?, root_report_key=?, prev_report_key=?, prior_agency_ref_id=NULLIF(?,''), ui_json=?, narrative_long_desc=?, create_user_id=?, create_date=?, lstupdate_date=?, version_number=version_number+1, lstupdate_user_id=?, logical_delete_ind=?, owner_user_long_id=?, queue_code=? where report_key =?
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Anti-Money Laundering | Microsoft® Windows® for x64 | 7.1 | | | |
64-bit Enabled AIX | 7.1 | | | |
64-bit Enabled Solaris | 7.1 | | | |
Linux for x64 | 7.1 | | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The pop-up message reads: "B18: The element is recorded with a valid value but the filing type is not corrects/amends prior report and/or continuing activity report."
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2022-06-24 08:41:09 |
Date Created: | 2022-06-13 12:04:51 |