Automatic VIN generation
Last updated
Last updated
To enable the automatic generation of Vehicle Identification Numbers (VINs) for vehicles in your vehicleshop, some modifications to the vehicleshop system are required.
If your vehicleshop does not have an open file that allows you to make changes to the parameters entered into the database when buying a vehicle, and you do not have any available function that is executed on the server side after the purchase, it means that you do not have the ability to enter the generation of the VIN number.
In this case, it is recommended to contact the author of your vehicleshop with a request to allow the introduction of a new parameter or an update that will introduce compatibility.
If you have access to the file where the sql execute is located, make modifications based on esx_vehicleshop or qb-vehicleshop.
However, if you do not have this option, but you have access to the function that is run after the purchase of the vehicle, you can enter an execute query that updates the VIN number for the vehicle, remember that you must have a reference to the database, for example, the license plate parameter