he Record variable must belong to 81 and not to 50009

shanabeywicremashanabeywicrema Member Posts: 53
Dear All,
I save table 81 as table 50001 but after compile I am getting following error


Microsoft Dynamics NAV Development Environment
The Record variable must belong to 81 and not to 50009.
OK


Pls Help me to resolve

Comments

  • pjotresztickpjotresztick Member Posts: 8
    Hi shanabeywicrema,

    I guess you are calling a function with a parameter of type Record. You supplied a record of tablet 50009 and The function expects a record of table 81.
  • tinoruijstinoruijs Member Posts: 1,226
    I assume you're working with a developer license?
    Then you have to check in C/AL code if somewhere there's a call to a function with parameter rec. That function only works for table 81 and not for the new table.
    Or you delete the function-call or you rewrite it for the new table.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • nav_developmentnav_development Member Posts: 21
    If you could not locate record vaiable than you can export the same object in txt file using development license and search for table 81.
Sign In or Register to comment.