ROG - Answering Yes to "Do you want to receive the complete purchase order?" blanks out Item Code with UDFs

I have 20+ UDFs in ROG entry and they have been working fine over the past 2 years.  Now managers want some of these UDF to be required.  When I mark just 1 or several or all of the UDFs in ROG as Required, no Item code appears when I select 'Yes' to "Do you want to receive the complete purchase order?"  I have tried on several Open PO's that have not had any quantity received yet.

We are on Sage 100c Advanced v2019.2

Note:  I'm doing this on a local copy of my MAS90 directory (via pvxwin32 launcher).  I do this so I can not only test anything I'm working on while the Live/Production copy is running off the server, but to use the Customizer Export Wizard when I'm done and then use the Import wizard after hours to upload my customizations to production.  I say this, just in case this may be the reason it's not working, but I don't think it does.

  • Lines are "saved" (in memory) when added to the receipt, and if a required field is missing the Write() will fail.

    You might have to set up a header script, pre-write, to enforce your "required" fields, instead of using Advanced Field Settings.

  • in reply to Kevin M

    Is there somewhere I can go to look up how to create a pre-write script or can you provide a quick example of one?  It's been years since I did this and I can't remember what it was even for.

    Thanks in advance.