I have this same error on 2 customers. Error 65 _WINPROC.SAD line 0365
Customer 1: Sage 2019.2 Advanced
Cash Receipts Entry - no custom panels, but uses APS for CC
S/O Invoice Data Entry - no custom panels
Customer 2: Sage 2019.2 Premium
Cash Receipts Entry - no custom panels, but uses CBS for CC
Customer Maintenance - custom panel with UDF's, no scripting
S/O Entry - custom panel with UDF's, yes scripting
S/O Invoice Data Entry - custom panel with UDF's, yes scripting
I've reset all of the panels which temporarily fixes, but it comes right back.
Cannot recreate any of these errors on demand.
------------------------------
Robert Ruff
ServiceWorld Business Solutions
------------------------------
Original Message:
Sent: 07-24-2018 15:27
From: Alnoor Cassim
Subject: Customer is getting an error 65 in program _WINPRO
I've had the *pleasure* of troubleshooting this error a bunch including just last week. The traditional reason is you have a control like a button or multi_Line field that is outside a boundary. Eg on DMAIN in the bottom row of button (where Accept, Cancel, OK, Print, Help, etc live) one of those buttons is partially residing in the PMAIN area. Or let's you say you've add a UDF but placeed it too far left. Either would cause the error.
Last week's errors in Item Maintenance were initially thought to be sporadic like yours but found to be reproducible by maximizing the screen or changing from maximized posn to the restore posn OR clicking on another tab and clicking back. So I fixed it using these steps:
1) Make a backup of the M4L file for this user-company. Backup whole IM\Custom folder in fact.
2) On your own system for same version, open Item Maint with Customizer and note following
(I entered values below from my 2017 premium as an example)
DMAIN: Get Row number for any button: -> 34.75
Click on Panel Header Defn button and Panel Height: 37
Rt-click on center of DMain to see Folder Definition screen and get Folder Height: 30.25
So this does NOT mean you have to keep the same values on the customized screen. But it does mean keeping numbers relative to these values. E.g. if client's Item Maint screen is longer than normal b/c it has to be to fit all the UDFs (like mine was), then your values could be 46.75, 49, and 42.25 respectively. You can see I just added 12 to EACH one. For you it could be 6 or 3 or whatever but do same number for EACH one. Also the highest number (49 in this case) must fit within the screen resolution of the user's screen.
Hope that made sense and that it helps. Don't forget to backup.