195603 - no subject - Hi All,\n\nI have created a report with

Hi All,

I have created a report with few filters. The batch size for the grid is 20. All the filter work fine when the startindex for batch size is 1, but it gives an error when the startindex changes to 21, 41, 61 and so on.

The error it displays is:
Expression evaluation error in rule 'icams_inventoryagingreport' at function a!gridField [line 118]: A grid component [label=“”] has an invalid value for “value” and “totalCount”. “startIndex” must not be greater than “totalCount”, but “startIndex” was 21 and “totalCount” was 1.

Any directions for this one?

OriginalPostID-195603

  Discussion posts and replies are publicly visible

Parents
  • @saileshd Would you be able to test the attached code snippet and do let us know if it works?

    In-case if the attached code snippet doesn't work, would you be able to attach the definitions of rule!ICAMS_createLogicalExpressionForInventoryAging() and rule!ICAMS_getModulesForInventoryAgingReport()?

    Also please do let us know what you would like to know about pagination concept in general or after going through the attached code snippet.
Reply
  • @saileshd Would you be able to test the attached code snippet and do let us know if it works?

    In-case if the attached code snippet doesn't work, would you be able to attach the definitions of rule!ICAMS_createLogicalExpressionForInventoryAging() and rule!ICAMS_getModulesForInventoryAgingReport()?

    Also please do let us know what you would like to know about pagination concept in general or after going through the attached code snippet.
Children
No Data