Transfer To Code in Transfer Order

muthukumaranrmuthukumaranr Member Posts: 19
H all,

How to get the Transfer to Code field in transfer order appear automatically when a user tries to make aTransfer Out so that he cannot change the Transfer To Code manually .

Regards

Muthukumaran

Comments

  • kapil4dynamicskapil4dynamics Member Posts: 591
    edited 2009-10-12
    By default I have never seen such thing. But U can make a new form of Transfer Order means just copy paste it in 50k Series, Give users to access to this form. Make 'To code" uneditable on this form.

    For automatic filling the location. U can use some code which works on Responsibility center. On every responsibility center u can have location and attach a user to responsibility center OR on user setup u can mention there default location, which will again be minor tweak.
    Kapil Khanna
  • ara3nara3n Member Posts: 9,256
    I wouldn't create a separate form.

    I would add onvalidate trigger of transfer from code the code based on responsibility or user setup.

    In addition I would add code to transfer to Code on validate
    if  CUrrFieldNo = fieldno("Transfer-to Code") And UserSetup."user is not allowed to change Transfer Code" Then
      Error('You cannot change the field');
    
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.