Sales Order Customization to Check CustomerDocs

Vantage 8.03.408a Progress

From within a Sales Order Customization I need to check the CustomerDocs table to see if a DocumentType of "SOAck" with a DocDirection of "O" exists for the customer listed on the Sales Order. Anyone have a good way for me to do this?