Form Customization 9.04.507

I am looking to utilize the Customer Shipment Entry screen to track our late shipments by entering “reason codes” indicating a cause for the line item to be shipped past its Need by date.

We are using Epicor 9.04.507A on a Progress database. What I would like to occur is that when the SOLI has been entered into the Customer Shipment line it compares today’s date with the need by date on the sales order. If Today’s date is greater than the Need By date then two fields become Enabled. I have a Shape field and an epiCombo box already on the form with their enabled state set to false.

I am not sure how to read the fields I am looking for to perform the calculation on the date.
I would also like to setup an entry screen to manage the Reason codes.

Any help would be appreciated.

Thanks
Clive