The Generate porezni broj masking activity allows you to generate "porezni broj" numbers specific to Croatia.
Table of contents |
---|
Usage |
Example |
Properties |
To use the Generate porezni broj 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 and create new instance of the NumberSequenceGenerator
generator.
In this example we want to generate "porezni broj" numbers in the Customer table, so first we place the Customer masking activity and put the Generate porezni broj masking activity within it. Once placed, we select the PorezniBroj property.
Figure 1: Generating Porezni broj
Property group | Property name | Description | Example |
---|---|---|---|
Input properties | DataItemProperty | The property to mask. | Write x => x.PorezniBroj or choose property from the dropdown list. |
EnforceUnique | If true, random selection should select unique values. | true or false |
|
First7DigitsGenerator | The generator used to generate first 7 digits. | new NumberSequenceGenerator(1000000,2) |
|
Input: Filter | Filter | Expression used for filtering records - only filtered items will be masked. | x => x.PorezniBroj.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. | PorezniBrojRepeater |
RepeatingKey | Key to use for repeating detection. | Write x => CompositeKey.Create(x.PorezniBroj) or choose properties from the pop-up window |
|
Misc | DisplayName | Display name of the activity in the workflow. | Generate porezni broj |
Result | Contains the masking definition object. It's a part of the masking infrastructure and should be ignored. | - |
BizDataX Documentation © Built by Ekobit. All rights reserved.
https://www.ekobit.com/ https://bizdatax.com/ https://bizdatax.com/support/