How to Fix Checks That Use PrecisionForms After Upgrading to AX 2012 R3
As everyone knows, checks can sometimes be a real pain. With the changes to checks between RTM and R3 of AX 2012 you can run into some real stumbling blocks. One way you can try to get around some of them is by using a third-party system such as PrecisionForms (previously known as Create!Forms) by Bottomline Technologies . Even this can have issues though.
You have two options to recover from the issues that arise. First, you can fix the PrecisionForms side, but this can be a long process. The other option is to make customizations in AX, to make AX conform to the old Bottomline design. For the sake of this article we are going to focus on the latter.
The first issue you will run into is that no slip text will display. This is due to a Bottomline change. To fix this, you will need to go to $\Classes\CustVendCheque and do a search for “#STRFMLB”. Replace every instance of it with “#STRFMVAR”. This will make the slip text go back into the old variables you have mapped.
The second issue will be that the slip text lines will bleed onto the second page. Again, to fix this go to $\Classes\CustVendCheque and got to the slipTxtLines method. Seach for “// Both slips below check”, here you will find the calculation for how much room is on the slips. Simply modify the offset value. For our situation we had to set it to 50 (slipTextAreaMm = (areaBelowCheque – 50) /2;
These two simple fixes will get you through your upgrade much faster and without needing to modify the PrecisionForms design.