I want to execute some statements based on info message type, for example if the infolog contains a warning it should execute BLOCK A statements and if infolog prints error it should execute Block B statements. any ideas?
Any help is appreciate a lot.
Hi EagleClaws,
I'm not able to see a warning or error clause in this method. Probably there are some deeper calls which does the actual budget check.
We had a requirement regarding Ready for invoice in Invoice Register, where we needed a budget checking before ready for invoice code gets executed,
The following code checks the budget results and produces warning/error according to budget check:
SourceDocumentProcessorFacade::submitOnDemandSourceDocumentImpl(vendInvoiceInfoTable);
It was asked if it produces error ready for invoice code should not be executed and when warning produced it should not show the warning and proceed with ready for invoice code execution.
Hi EagleClaws,
Can you explain the business requirement here? Can you also explain what you are trying to achieve?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156