The Infor Communities is globally accessed system by
Infor and its customers, please do not post or upload
any content that could be deemed as sensitive, confidential or
subject to any data regulation requirements.
If you are unsure whether or not the content contains sensitive,
confidential or has any data regulation requirements,
please seek the advice of your internal security, legal, and compliance experts.
I am developing a script for OIS101. Requirement is to check a condition in the background when user click "Add" button. If condition satisfies, user can add new order line if not order line should not be added. Could you please help me on how to achieve this?
If the add button is the standard add button you can cancel the request, check the condition and then trigger add again. Perhaps the comment from Billy.Willoughby will help you https://community.inforxtreme.com/infor-developers/f/m3-development/13509/how-to-display-back-to-back-warning-message-in-h5-script.
Or you can read through the questions in: https://smartofficeblog.com/h5-scripting/.