Options

enable / disable options on report request page

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

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

    thank you

Answers

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

    thank you
  • Options
    krikikriki Member, Moderator Posts: 9,090
    [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.