Adding simple text field to page/table

nav13nav13 Member Posts: 39
edited 2014-11-06 in NAV Three Tier
What are the instructions to add simple alpha numeric fields to various pages/tables.

IE - reference field on customer card that is 20 characters long.

Please advise for nav 2013.

Thanks,
NAV13

Comments

  • tinoruijstinoruijs Member Posts: 1,226
    On MSDN there's a How to on adding a field to a table:
    http://msdn.microsoft.com/en-us/library/dd338967(v=nav.70).aspx

    To add a field to a table
    On the Tools menu, choose Object Designer.
    Object Designer opens.
    Choose Table and then choose New.
    Table Designer opens.
    In the first empty row, enter a Field Name and a Field No. Enter a Data type and appropriate Length. Description is optional.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • nav13nav13 Member Posts: 39
    Thanks!

    What about adding it to the page then?

    Thanks,
    NAV13
  • tinoruijstinoruijs Member Posts: 1,226
    nav13 wrote:
    Thanks!

    What about adding it to the page then?

    Thanks,
    NAV13

    Almost the same, but click Page in Object Designer. Choose the page you want. Add Field with menu or take a look at the other lines and copy that.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • nav13nav13 Member Posts: 39
    I should also document the code correct?
  • tinoruijstinoruijs Member Posts: 1,226
    nav13 wrote:
    I should also document the code correct?

    It depends on the situation. When you're making this for one customer, documenting in the documentation trigger what you have done can be helpfull for other developers.
    When you develop for an add-on, you don't want to mention every difference between standard NAV and the add-on in the documentation trigger.

    What's the situation in which you are developing?

    Tino Ruijs
    Microsoft Dynamics NAV specialist
Sign In or Register to comment.