I am creating a Purchase order report extension, I have created a custom RDL design as per the client's requirement. I want to make sure that when my custom report design is selected on the Report Layout filter section the Purchase Order No. value must be provided in the filter box of No.
I am able to apply the Error message validation but I want to make that error popup appear only when my custom report design being selected not for default report design.
I just want add higher level check as follow on my code snippet
If layout -> F3CustomPurchaseOrder
if PO.N0 -> empty
Error('PO Number is required')
Please tell me how can I achieve this in the report extension. Where to get the report design information in the report extension. Below is the code snippet that I have written for the Error Popup message
Thanks