logic implementation
Posted: Tue Jan 25, 2011 3:04 am
Hi
I have requirement as below.
Source
Cash_receipt_id Amount
200 500
201 500
Lookup
Status Amount Cash_receipt_id Cash_history_receipt_id
Cleared 500 200 1000
Reversed 500 200 1001
Cleared 500 201 1002
Target (only one cash_receipt_id )
Cash_receipt_id Net receipt Amount
200 0
201 500
Can any one please let me know the logic.
Thanks
Kiran
I have requirement as below.
Source
Cash_receipt_id Amount
200 500
201 500
Lookup
Status Amount Cash_receipt_id Cash_history_receipt_id
Cleared 500 200 1000
Reversed 500 200 1001
Cleared 500 201 1002
Target (only one cash_receipt_id )
Cash_receipt_id Net receipt Amount
200 0
201 500
Can any one please let me know the logic.
Thanks
Kiran