Above class will help me to calculate the correct open balance and settlement status for each transaction as of that specific date.
I am struggling to implement Set-Based Operations (like insert_recordset) because the logic for calculating the balance resides within the class method, which requires a record buffer.
Current Evaluation:
insert_recordset: Not feasible because I cannot call the CustVendTransDetails class using insert_recordset.
Is there a better, more efficient approach to handle this? Specifically, I am looking for a Set Based suggestion that would allow me to calculate retrospective balances for a give date.

Report
All responses (
Answers (