Dashboard Report ignores if parameter is mandatory or not

Description

this makes me quite trouble in our workforce….

i created a dashboard content displaying product with missing costs for accountant. i had an issue in view, so when we run it from menu where cost element was mandatory returns 3 rows. When running from dashboard 20 products. Then we recognize this inconsistency caused by missing mandatory check on dashboard content print format parameters.

steps to reproduce

  1. go to app dict, change transaction detail process product category as mandatory. (menu will check does filled out or not)

  2. login to gardenworld, create new dashboard for transaction detail, set Embed Report Content = yes (run report automatically)

  3. logout/login again to gw, the dashboard run content with transaction detail. << BUG

instead: we need check does any parameter mandatory, if the mandatory parameter passed by field “ProcessParameters” then this PASS, has mandatory parameter.

if parameter is not passed then return inline message - the report has mandatory parameter. can't be rendered.

2 options A. enough check always the 1st parameter. so if 3 parameters are mandatory the admin must 3 times check it B. return each fields as mandatory. pls provide parameter values. (context, ProcessParameters field)

does this approach acceptable ? can we fix this this way as i describe ?

Norbert

Environment

v11

Activity

Heng Sin Low 
March 10, 2023 at 6:38 AM

hi ,

  1. Yes, make sense to return inline info/error message when mandatory parameter is not fill.

  2. I think we should do the mandatory parameter check too at create dashboard content.

Regards,

Low

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created March 9, 2023 at 4:09 PM
Updated May 1, 2023 at 5:40 PM
Resolved March 17, 2023 at 10:47 AM