TDM: FDM Function FORMATVIN Does Not Mask

book

Article ID: 200984

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

The Formatvin function does not work as described in the documentation 
https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/test-data-management/4-9/reference/masking-functions-and-parameters.html#concept.dita_74844a64852e0e010000b6713b0d599ccbe69c3f_formatvin

Here is an example of a 17-character VIN
JT5RA65K2F4054074   

It currently performs the following:
-Leaves the first 8 alone (JT5RA65K)
-Reviews the check sum digit.  2 is invalid, therefore it will change it to 5
-Leaves last 8 digits unchanged

The result is: JT5RA65K5F4054070

The function does not mask and generate a new VIN number. It only tells if it is a valid VIN.
If valid, it leaves it alone
If invalid, it changes the checkdigit

 

Environment

Release : 4.9

Component : CA Test Data Manager

Resolution

This is reported as DE480385 has been converted to a user story US703999.

The FORMATVIN is now is replaced with HASHVIN.

HASHVIN will review a valid 17-digit VIN number.

If valid, it leaves it alone
If invalid, it changes the checkdigit and scrambles the digits after the checkdigit.

Validations can be made at: https://vpic.nhtsa.dot.gov/decoder/CheckDigit