In Order Entry we’re replacing the NeedBy and ShipBy dates (don’t ask -_-) with UD Fields and building custom functionality for them. On the Line Detail tab the original dates will grey out/read only if there’s more than 1 release. I’d like to duplicate this functionality on our UD field dates.
Rather than rebuild the wheel to make sure these dates are always greyed out when they should be, I’d think it would be easier to say “If this field on this data view is read only, so are you”. Unfortunately I’m struggling with this. Getting the value of the extended property seems to be more difficult than it looks and I’m not finding the answer. Not as easy as
if(view.dataView.Table.Columns[“RequestDate”].ExtendedProperties[“ReadOnly”] == true)…
ideas? I think a Rule is the way to set it but the implementation is evading my attempts.