An issue we have encountered with the clone script in our application. This issue is impacting all screens where the clone script is utilized throughout our application, affecting functionality across various areas. To help illustrate the problem, I have included relevant screenshots.
Could you please investigate this matter and provide guidance on how we can resolve it?
Steps to Reproduce:
1. Access the Purchase Order screen.
2. Load existing data.
3. Click the Clone button.
4. Observe the encountered runtime error.