-
Custom forms and sublist fields: switch forms, lose line-level data?
While trying to implement automation to update transaction line Class fields based on some business rules, I found that if I switched forms to a custom form that had Class un-checked (not visible) and saved the transaction, the underlying sublist Class fields were not available in my beforeSubmit event. Action: Load the…
-
Stop processing on beforeSubmit
The sample code in this article does not work. There are 2 problems. throw error.create throws a reference error is not defined. N/error is missing in page definition and that's an easy fix error.create does not actually stop the page from submitting?? How do we stop the page from submitting on beforeSubmit? return does…
-
Is it possible to use script on allocation journal entries
Dear, Currently we are facing the following requirement: if a journal entry is created based on an allocation schedule, the journal entry should have a separate numbering. Is there a trigger/ way how we can identify that a journal entry is being created from an allocation schedule in BEFORESUBMIT? Regards, Mathias
-
AE: User Event Script
Within a particular User Event script, I would like to set a value to a particular field. The requirements are the following: If criteria 1 is met, a value should be set in BeforeSubmit if criteria 2 is met, a value should be set in BeforeLoad However, the following behaviour happens: if I check the checkbox "Store" on…
-
beforeSubmit for Journal not working for Post Vendor Bill Variances
Hi folks, Is the beforeSubmit (UserEvent) disabled when creating Post Vendor Bill Variances journals ? I have the above UserEvent created and works fine on UI and via API commands. However, it does nothing when I execute the Post Vendor Bill Variances routine :( Appreciate help.