NewRecord(NewBefore) method in escript to launch an applet in TBUI in New Mode
I have a requirement to launch a standard applet in TBUI in a new mode to enable the user to enter some mandatory fields. I have tried using the this.BusComp().NewRecord(NewBefore/NewAfter) method in WebApplet_Load event but on debugging the system directly does to the bucomp_prewriterecord event and since the values are blank, it is throwing the error on UI directly saying that field is a required field.
Is there any event on the applet load(browser script) or anywhere where I can call the buscomp new record and ensure that the control comes back to the TBUI view(applet within it) before the buscomp_prewriterecord event is called?