Show Document

navuser1navuser1 Member Posts: 1,329
Hi All,

Plz share your knowledge...

Documents (PO,SO, etc) should be Non - Editable when it being opened
through USER Tasks form.

and editable when it is directly opend from Menu Suite.

#-o
Now or Never

Comments

  • DenSterDenSter Member Posts: 8,304
    And somewhere in there is a question that you would like people to answer?
  • garakgarak Member Posts: 3,263
    User Task Form?

    If you run a form from a other form you can set the editable mode if you declare the form as variable and rund then the variable. But this is a lot of work if you have many forms and these forms are called from many functions (for example from navigate, etc.)

    So, whats the reason why you need this?
    Do you make it right, it works too!
  • navuser1navuser1 Member Posts: 1,329
    User Tasks Form??

    Navision 4.0 SP3
    Form Name User Tasks
    Form ID 16346
    Now or Never
  • garakgarak Member Posts: 3,263
    mhm, this must be a form of a local granule (for example a indian version of NAV).
    Sorry, i doesn't know this form.
    Do you make it right, it works too!
  • navuser1navuser1 Member Posts: 1,329
    garak wrote:
    mhm, this must be a form of a local granule (for example a indian version of NAV).
    Sorry, i doesn't know this form.

    GREAT GARAK.

    Thanks for reply. =D>
    Now or Never
  • garakgarak Member Posts: 3,263
    how will the forms opend from "User Task" form?
    As
    Form.runmodal(Form::YourForm,Rec,Field);
    
    or
    FormAsVariable.runmodal;
    

    ?

    If the last one, u can set before a
    FormAsVariable.EDITABLE(false)
    

    Regards
    Do you make it right, it works too!
  • navuser1navuser1 Member Posts: 1,329
    garak wrote:
    how will the forms opend from "User Task" form?
    As
    Form.runmodal(Form::YourForm,Rec,Field);
    
    or
    FormAsVariable.runmodal;
    

    ?

    If the last one, u can set before a
    FormAsVariable.EDITABLE(false)
    

    Regards

    2nd is the correct.
    thanks.
    Now or Never
  • garakgarak Member Posts: 3,263
    if the 2nd one, than you have a solution ;-)

    But don't forget. Per Default the user can't insert / delete a recorn in a non editable form.
    Do you make it right, it works too!
  • navuser1navuser1 Member Posts: 1,329
    garak wrote:
    if the 2nd one, than you have a solution ;-)

    But don't forget. Per Default the user can't insert / delete a recorn in a non editable form.

    yes boss :mrgreen:
    Now or Never
  • navuser1navuser1 Member Posts: 1,329
    garak wrote:
    how will the forms opend from "User Task" form?
    As
    Form.runmodal(Form::YourForm,Rec,Field);
    
    or
    FormAsVariable.runmodal;
    

    ?

    If the last one, u can set before a
    FormAsVariable.EDITABLE(false)
    

    Regards


    Hi Garak,

    What is the solution if I select the 1st Option....
    Form.runmodal(Form::YourForm,Rec,Field);
    

    Kindly help.
    Now or Never
Sign In or Register to comment.