Distant Codeunit

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
edited 2010-02-10 in Download section
Distant Codeunit
Remote launching of the Nav codeunits from any Internet Explorer.
Default port 7777 could be changed in OnRun trigger.

http://www.mibuso.com/dlinfo.asp?FileID=805

Discuss this download here.

Comments

  • AsallaiAsallai Member Posts: 141
    Hi,

    Do you a short description about the funcionality of this? :roll:
    Thank you!
    A
  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    Hi All

    For me this is just example using of the thin NAV client. I see a prospects for evolution this idea in work places bases on web browsers.

    :-k

    For using just run "Distant Codeunit" codeunit and don't shut Navision. In other computer run any web browser and open http://<NAV%20computer>:7777.
    if click on any codeunit then it run on <NAV computer>.

    Thank you for attention.
  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    P.S.
    This is like on ASP (non .ASP) :lol:
  • thaugthaug Member Posts: 106
    What should the automation values be set to?
    There is no data, only bool!
  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    It's standard NAV component
    'Navision Communication Component version 2'.CommunicationComponent.

    Just look for in "X:\Program Files\Common Files\Navision\Communication Component" folder.
  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    Download 0..1..2..100..500..700.. Go on! :D
  • jumpjump Member Posts: 15
    hi YG! I've just a question: may this Codeunit be modified to satisfy more than one incoming request at the same time without waiting the end of the previous request operations?
    sorry, I'm a bit much novice in Navision dev :)
  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    Hi jump

    This codeunit have SingleInstance property Yes. So in Nav work only one instance for all requests.
    The delay need only till codeunit.run C/AL code, may be 5 sec realy is excess :D
  • jumpjump Member Posts: 15
    Hi jump

    This codeunit have SingleInstance property Yes. So in Nav work only one instance for all requests.
    The delay need only till codeunit.run C/AL code, may be 5 sec realy is excess :D

    hehe that's true, but I would like to apply your solution to my specific problem: I need to make some operations and return the results through a socket/http interface.
    may I change SingleInstance to NO? would it change something?
  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    Hi jump

    May be create a main server codeunit for distribution of the ports and run by requests common codeunit on this port...
  • navuser1navuser1 Member Posts: 1,333
    Great work =D> =D> =D> =D>
    Now or Never
  • darshanmdarshanm Member Posts: 280
    Hi All,

    need your expert comments

    I want to use this distant codeunit. I have imported the codeunit in my local database.
    Whats the next steps for this?? what URL should I give you in browser.
    Darshan Mungekar
    Senior Consultan
  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    darshanm wrote:
    Hi All,

    need your expert comments

    I want to use this distant codeunit. I have imported the codeunit in my local database.
    Whats the next steps for this?? what URL should I give you in browser.

    In NAV client run dispatcher codeunit,open any web browser and go on http://{NAVClientHost}:7777/ page
Sign In or Register to comment.