function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raquel RiemerRaquel Riemer 

cannot convert a java button using the converter

I tried to use the Lightning Experience Configuration Converter to convert a java button to a lightning Component (Full) yet everytime (I am live in Production), i get this error "We were unable to deploy some metadata to your org due a timeout" Since i can preview the component and the controller code I believe i can simply copy that to a sandbox and then push. 
I am getting errors when creating the component (copied the code-Developer Console-New Lightning component) and I got other errors when creating the Controller - New-Apex Class.. 
Can Someone assist? I have inserted a images of the code supplied by the converter and the original (the component, the controller and the original)
It was meant to assign a unique order number to an inscription on click.

This is the component

This is the controller

This is the original java button