BPM for Receipt Entry (PO Line Qty < Receipt Line Qty)

Hello,

I was wondering if anyone could help me out on this BPM I am trying to put together. During the Receipt Entry process I would like an email to be sent to the Inventory Manager if the PO Line Quantity is LESS than the Actually Receipt Line Quantity. I started by creating a Post-Process for the Receipt.Update Method Code. I added the following Custom Condition Code:
/*Add source code that should be executed before the designed conditions here*/

For Each RcvDtl Where (ttRcvDtl.InputOurQty > ttRcvDtl.VenRemQty) NO-LOCK:
End.

{&CALL_DESIGNED_CONDITIONS}

/*Add source code that should be executed after the designed conditions here*/

However, the condition is not working and the email is being generated no matter what the quantities are. Any ideas out there? Thanks!

-Sal