Rename dialog box

navnoobnavnoob Member Posts: 26
Hi, I have to customize the item card so the "No." will follow my client's format. Each time it "rename", Navision keep throwing a dialog box asking if the user want to rename this record. Is there a way to pervent this dialog box from showing up?

Comments

  • ara3nara3n Member Posts: 9,258
    No there isn't. You could do the renaming through Code. That way it doesn't ask for rename. Since this will be done once, I don't know if you want to make a modification.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • navnoobnavnoob Member Posts: 26
    Hi ara3n,

    So how should i approach this?

    Currently, my "modificaton No." code is inside a OnValidate Trigger of another textbox. But does rename only work when the record is already inserted? Because right now, it seems the modification takes place before insertion and when i jump to a new record or when i close the form, it asks me if i want to rename the "No." field.

    I don't necessary have to get rid of the rename dialog box, but i personally find it annoy to have to click "yes" to the dialog box each time I enter a new record.

    Thanks for any help.
  • krikikriki Member, Moderator Posts: 9,120
    You can try to put a RENAME-statement in some place. This will rename the record without the confirmation.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.