these fields are on the lines block and the shipments block...I wonder if you need to set the shipments blocks to required as well?
Another alternative would be to move your check to when-Validate_record for PO_HEADERS or PO_LINES, if Transportation Arranged = Buying Organization then check for dates and show an error message/don't allow the form to continue on if they are blank?
Setting these fields in the shipments block didn't help.
We cannot set when validate record at header block because error should be thrown only if user misses out on these fields after entering lines.
setting when when validate record at lines will not work in the following sceanrio,
when user enters line 1 and then sets the transportation arranged value to buyer then goes back to line and adds new line, so in this error will not be thrown if user enters dates for 2 line but not for 1st line.
But when a field is set to required form should not allow user to save without entering the required fields right?