DAX Tribe,
I need to do the following:
Process a large collection of FixedAsset.AgreementAmendmentTransfers and report on the results.
As these assets are independent, but must all get transferred against the same agreement amendment (which takes a long time -- perhaps a minute apiece) I'd like to batch them up.
So, in groups of X, I'll load a RunBaseBatch task and let the task process these agreement transfers asynchronously.
I see that I can achieve this without too much difficulty.
However, here's the rub, I'd like to get a call-back when all tasks are completed -- so that I can either present a report or send the report in email.
Now, I know that one should be able to just "Batch Tab" process this report - but unfortunately it's not a normal report. It's a Form based report that provides a complex "SELECT all the agreements you'd like to transfer."
So, CAN I either get a callback or interrogate the status of the BatchHeader spin-waiting while the tasks all complete?
Or is there a better way to do this parallel task processing while remaining in the interactive UI? (In dotnet I'd just queue these up and alert the user when done.) But in X++?
Any assistance would be appreciated.
Thanks,
Dave
*This post is locked for comments