Post Item Journal From WebService

mgiffordmgifford Member Posts: 44
edited 2009-05-19 in NAV Three Tier
I am trying to post an Item Journal from a webservice. I have created a "wrapper" codeunit that then sets a filter on the Item Jounral Line table and calls the Item Jnl. Post Codeunit with the resulting record.

Upon exection from the calling app - i get a NAV generated error "Callback functions not allowed". Is this because there is code within the posting that requires user interaction or am I just going about this the wrong way?

I would imagine most of the posting to be similar in construct so, in general - how would you go about kicking off a posting from outside the app via webservices?

Comments

  • kinekine Member Posts: 12,562
    May be some Dialog without condition...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • mgiffordmgifford Member Posts: 44
    yea...i did some more searching and it seems like that is the case, the question is if/when I find the offending dialog - it doesnt seem right to just modify the posting code.
  • Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Hello,

    You can bypass the Dialog logic code, by using GUIALLOWED function.
    It will allow to bypass the user interaction with nav.
    :):)
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
Sign In or Register to comment.