enable / disable options on report request page

RachidEL
RachidEL Member Posts: 8
edited 2024-04-26 in NAV Three Tier
Hi,

I want to enable or disable options on a report request page regarding to values coming from record objet, the fact is this options are only handled in OnIntReport trigger and in this stage the record objects are not yet loaded.

please to help me to perform this task.

This is the options i' m talking about :

h5ets13vdowc.png

Best Answer

  • RachidEL
    RachidEL Member Posts: 8
    Answer ✓
    I manage to resolve the problem by initializing the record object in the onaftergetcurrrecord trigger.

    thank you

Answers

  • lubost
    lubost Member Posts: 633
    You should create global function in report to do so ... and call this function from place you need.
  • RachidEL
    RachidEL Member Posts: 8
    hello,

    in the code of the request page i found a trigger called OnAfterGetCurrRecord, this trigger allows me to initialize records objets and run the request page as wanted by passing a static values, but i dont know how to get the current values.
  • RachidEL
    RachidEL Member Posts: 8
    Answer ✓
    I manage to resolve the problem by initializing the record object in the onaftergetcurrrecord trigger.

    thank you
  • kriki
    kriki Member, Moderator Posts: 9,121
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!