Modifying Electronic Payment Formats

Has anyone created a new Electronic Payment Format for ACH file for Payroll?

I have tried the process from the following link Which is for AX2012 and I have not gotten it to work.

https://stoneridgesoftware.com/modifying-electronic-payment-formats-in-ax-2012/

It reads to (VendOutPaym_Record_NACHA_PPD), for example. However, a better practice would be to replicate this class (with a different name), extending the parent class (VendOutPaymRecord_NACHA), modifying the section requiring new values or formatting. When you create that new class, it will be added to the Export Format dropdown inside of AX.

In AX7 I have replicated and modifed classes VendOutPaymNACHAPayroll which extends VendOutPaym_NACHA

and VendOutPaymRecord_NACHA_PPD which extends VendOutPaymRecord_NACHA

This is different in AX7 Has anyone succeeded doing this and if you could please give the steps.

Thanks you!

You should avoid duplicating code if not necessary. Maintaining the same code at several places means extra work and a risk that somebody forgets to update all places.

Consider inheriting the class and overriding the methods you want to change. Or maybe you can simply use CoC, if you don’t need to override existing methods.