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
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.
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.
Comments
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.
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