NAV 2013, load page or report

Hi.

Can a page or report be called directly from a codeunit?

If yes… how does the CAL code look?

Welcome to DUG

Yes, based upon your requirement.

Simple code is

PAGE.RUN(Number [, Record] [, Field])
PAGE.RUNMODAL(Number [, Record] [, Field])
REPORT.RUNMODAL(Number [, ReqWindow] [, SystemPrinter] [, Record])
REPORT.RUN(Number [, ReqWindow] [, SystemPrinter] [, Record])

What is the difference between run and runmodal?

What do you mean by number, record, field, reqwindow, systemprinter?

Please read the help documents and contact your senior for training and help…