
Hi,
I am facing an error when I am calling the dialog box from triggers in CPOS.
"ExtensionTemplatedDialogBase can only run in extension views."
As I understand from error that dialogs can only run in extension views but what in case we have to validate the user with OTP while making the payment.
Please help in case anyone has information on the same.
Hi Neeraj,
1. Add infocode on payment to capture information, validate the infocode information in CRT using pretrigger for addtenderline operation. By throwing exception we can stop the workflow.
2. If More fields/ information need to captured, extend view with dialog to capture information and then call addtenderline api with details.