New type of export file for Payroll system
In Finance and Operations (D365FO) there is a Transfer to pay job under Time and attendance / Maintain payroll / Transfer to pay, that exports the pay lines to a csv file. I needed to make a new export type here for Visma files. And under the Setup / Time and attendance parameters, there is a Field "File format" So to do that first I had to create a new File format to select under "File format" That is done by extending the Base Enum JmgPayEventsExportType and adding the new element Visma. After that I made a copy of the class JmgPayEventsExport_Std that is the class that is run when Standard is selected in the field "File format" I will not go into the details of changes that I made to the class, but this is the declaration of my new class. [JmgPayEventsExportTypeFactoryAttribute(JmgPayEventsExportType::Visma)] class JmgPayEventsExport_Visma extends JmgPayEventsExport { So what you have to do it set the JmgPayEventsExportTypeFactoryAttribute to your new e...