Transfer order should not allow to ship/receive if the date is stopped/closed in periods

Hi All,

Please let me know how to achieve this in AX 2009:

Transfer Order should not allow to ship/receive if the posting date is stopped/closed in periods?

Awaiting reply!!!

Thanks in advance