Generate Belgian National register number

The Generate BE National Register Number masking activity allows you to generate Belgian national register number.

Table of contents
Usage
Example
Properties

Usage

To use the Generate BE National Register Number masking activity, it must be placed inside a table masking activity or a similar activity that iterates over data. Once placed, select the property you want to mask. Next, select the gender (Male, Female, Any) since the generating the National register number depends on it. Lastly, you can choose date of birth or leave it empty.

Example

In this example we want to generate National Register Number in the Customer table, so first we place the Customer masking activity and put the Generate BE National Register Number masking activity within it. Once placed, we select the BNRN property and enter "Female" as Gender. Lastly, we select "900101" as Date of birth.

Generate BNRN example Figure 1: Generating National Register Number

Properties

Property group Property name Description Example
Input properties DataItemProperty The data item's property to mask. Write x => x.Bnrn or choose property from the dropdown list
DateOfBirth Date of birth used to generate National Register number 900101
EnforceUnique If true, random selection should select unique values. true or false
Gender Gender used to generate National Register Number. Male or Female or Any
Input: Filter Filter Gets or sets the filter expression to use for filtering of items. ONly filtered items are masked. x => x.Bnrn.EndsWith("000")
SkipDefaultValues If true, default values will be omitted in masking (i.e. null values are not masked). true or false
Input: Repeating RepeaterId The ID of the repeater that will be used to detect repeating and save results when masking item key repeats. BnrnRepeater
RepeatingKey Key to use for repeating detection. Write x => CompositeKey.Create(x.Bnrn) or choose properties from the pop-up window
Misc DisplayName Display name of the activity in the workflow. Generate BE National Register Number
Result Enter a C# expression. -