"pdsupdatedispositionstatus could not be opened" error if no batches meet the specified selection criteria - aborts process
Conteúdo fornecido pela Microsoft
User is doing batch process to Update batch disposition status to run every day and, based on today's date, change the status of any batch which expired that day. The process must end normally, rather than abort, when no batches qualify. If nothing matches, the "pdsupdatedispositionstatus could not be opened" error aborts the process.
This fix implements try-catch which will avoid this issue occuring thereby allowing the process to continue.