KB3170084 - FIX: Can't insert the NULL value into "ArgumentScript" column when you apply a business rule in SQL Server 2016 MDS

Applies To
SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2016 Enterprise Core - duplicate (do not use)

Symptoms

This issue occurs when you use the Business Rules Extension feature (Master Data Services) in the following scenario:

  • You create a user-defined function that takes an argument in Microsoft SQL Server 2016.
  • You create a business rule that takes that function as a condition or as an action.
  • You set Blank as the parameter value.
  • You publish the business rule.

In this scenario, when you apply this business rule, you may receive the following exception:

Note

Cannot insert the value NULL into column "ArgumentScript"

Resolution

The issue was first fixed in the following cumulative update of SQL Server:

Recommendation: Install the latest cumulative update for SQL Server

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. We recommend that you download and install the latest cumulative updates for SQL Server:

      

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology that Microsoft uses to describe software updates.