Question about amortization journal entries. In t...
# general
e
Question about amortization journal entries. In this screenshot you see the Posting Period to be amortized, let's say
July 2024
. Then you select the date for the Journal Entry,
01/08/2024
with posting period of
August 2024
. The Posting Period to be amortized and the posting period of the JE are not the same. This is totally fine. But I want to set in the
memo
of the JE the Posting Period to be amortized that was the origin of the JE. Is it possible to grab this info in a User Event script on the CREATE event?
m
No, because these kinds of journals are created by script and cannot trigger a user event script. However, you can implement logic with a scheduled script / schedule wf if the date is recorded somewhere in your journal entry or source transaction
e
I just resolved it using a Workflow and a Workflow Action Script.
m
at the time of the creation of the journal?
e
Yep, the Workflow runs only
ON CREATE
of Journal Entry
m
it seemed to me that the workflow was unable to launch when the creation process was the system
e
Arrived at the same solution on my own. But I tend to use the
NextTransactionLineLink
table to be 100% sure about line relationships.