Posts

Showing posts from October, 2022

Data Management handle project finished running

Image
If you only want to know how to determine if a project has finished running go to Step 2: determine  when a project has finished executing. In a Data Management project there might be several entities in which data is to be inserted. Knowing when all these entities have finished executed is not straight forward. A customer wanted to post a journal automatically that was created by a Data Management project. In this example I will explain how to mark a journal for posting and posting the journal created [via Data Management] after the project has finished executed. Step 1: mark the journal for posting Create a table to store which journals to post, RefrecId or JournalId, whatever is best in your case.  In my case it looked like this: Of the entity in which your journal is inserted, create a data event handler on inserted event type    [DataEventHandler(tableStr(PDIJournalTableEntity), DataEventType::Inserted)]     public static void PDIJournalTableEntity_onInserted(Common sender, DataEv