enable / disable options on report request page

RachidELRachidEL Member Posts: 7
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

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

    thank you

Answers

  • lubostlubost Member Posts: 625
    You should create global function in report to do so ... and call this function from place you need.
  • RachidELRachidEL Member Posts: 7
    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.
  • RachidELRachidEL Member Posts: 7
    Answer ✓
    I manage to resolve the problem by initializing the record object in the onaftergetcurrrecord trigger.

    thank you
  • krikikriki Member, Moderator Posts: 9,112
    [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!


Sign In or Register to comment.