I am trying to make a change to the Payroll Transfer to Pay job
And I can see that in the standard application it is the class JmgPayEventsExport that is being used for it, and it looks at the Enum JmgPayEventsExportType and then there is some code in the construct method of JmgPayEventsExport that depending on the enum selects the class to run, and in case of Standard it runs the class JmgPayEventsExport_Std So I have added a new enum value Visma to the enum, and added a new class HAGJmgPayEventsExport_Visma.
[JmgPayEventsExportTypeFactoryAttribute(JmgPayEventsExportType::Visma)]
class HAGJmgPayEventsExport_Visma extends JmgPayEventsExport { }
Now I was expecting this class to now be used for the export, but that is not the case.
What am I doing wrong?
Running Class SysFlushAOD fixed the problem, or from the menu System administration / Setup / Refresh elements
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.