Options

Calling Post function for a different company

SrivasSrivas Member Posts: 89
edited 2012-05-07 in NAV Three Tier
Hi All,

Is it possible to call Post routine for another company while you are in one company.
for example say if I post an item journal in company A then simultaneously program should post the journal in company B. is it possible?

Thanks,

Comments

  • Options
    ichladilichladil Member Posts: 68
    Hi Srivas,

    you can do it via web service call to another company. I.e. create a function for posting in another company, publish it via web service, call that web service from current company with address leading to another company.

    The only issue is that you cannot do the whole posting in the same transaction.

    Regards,
    Igor
  • Options
    SrivasSrivas Member Posts: 89
    does Intercompany posting work the way my requirement is?
  • Options
    jglathejglathe Member Posts: 639
    Hi,

    more or less yes, but it's a little more complicated than this. And it depends in the trust of your opposite accountant :)

    with best regards

    Jens


    ---
    I am here: http://tapatalk.com/map.php?jbtfu3
  • Options
    thegunzothegunzo Member Posts: 274
    If you implement Job Queue Posting and have NAS run the Job Queue you can create a job queue entry from another company to trigger the invoice posting.
    ________________________________
    Gunnar Gestsson
    Microsoft Certified IT Professional
    Dynamics NAV MVP
    http://www.dynamics.is
    http://Objects4NAV.com
  • Options
    SogSog Member Posts: 1,023
    On the other hand, changecompany is the command to change the company when working in 1 company.
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • Options
    jglathejglathe Member Posts: 639
    ... not working for the context, only for the table in question. And validating fields can have nasty surprises here.

    with best regards

    Jens
Sign In or Register to comment.