I have created a custom transaction type that resembles a journal and I'm trying to have a user event generate this transaction. However on the "save" piece it return the error:
The transaction could not be saved. The transaction's status is posting, yet the Custom GL Lines Plug-In implementation associated with this transaction type did not create any GL lines.
This is odd given that Custom GL Lines feature is not even turned on. Anyone else experience anything like this?
Further more, I can generate the custom transaction via:
1. Manual UI entry. Saves without issue.
2. Dev Console - Creates without issue.
3. Suitelet - Creates without issue
4. Scheduled Script - Creates without issue.
It's when I use a user event beforeSubmit or afterSubmit that it fails. In addition it also fails when I tried to have the userEvent call the aforementioned suitelet to generate it.
Any advice?