Filterring of BaseEnum value

Hi guys…

I want to filter the BaseEnum ‘DocumentStatus’ based on a given purchase order’s PurchStatus on a dialog. My requirement is explained as follows…

If selected purchase order’s purchstatus is ‘Received’ then the combobox displaying documentstatus should show only ‘Invoice’ as its entry.

I am awaiting your help on the above issue.

Thanking you in advance,

BM