Options

How can i add the version list

arnavchanderarnavchander Member Posts: 26
How can i add the version list in all the form,report and tables.. like I want to add ARV1.00 in all the table,forms and report??
Thanks
Arnav

Comments

  • Options
    ara3nara3n Member Posts: 9,256
    you can write a processing report that loops through the object table and adds to the version field.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    arnavchanderarnavchander Member Posts: 26
    I am getting error while updating the version list through report and the error is "You cannot modify the table data in the Object table. Modify the table definition Instead. Table: User Role"

    Report is bound by the Object Table and the code is written onaftergetrecord

    Object.SETFILTER(ID, '16559');

    Object."Version List":="Version List" +',ABC1.00';
    MODIFY;
  • Options
    kitikkitik Member Posts: 230
    Try this:

    Object.SETRANGE(Type,Object.Type::Table,Object.Type::MenuSuite);
    Object.SETFILTER(ID, '16559');

    Object."Version List":="Version List" +',ABC1.00';
    MODIFY;

    salut!
    Laura Nicolàs
    Author of the book Implementing Dynamics NAV 2013
    Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
  • Options
    arnavchanderarnavchander Member Posts: 26
    still getting the error "You cannot modify the table data in the Object table. Modify the table definition Instead. Table: User Role".
Sign In or Register to comment.