Hello,
On a page I have created a field with a TableRelation to the table Currency.
When a users enters a valuta in the field and moves the cursor to another field of the page, the field becomes blank again.
When the user however has the read permission on TableData 0, it is possible to enter a valuta on the field.
How can I let the user enter a valuta without giving him the read permission on TableData 0? It seems to me the user is missing some permissions, but I can't figure out which permissions are missing.
Thank you,
Vhite
0
Answers
Our version is 6.0.33793.0
When you use a global variable of type record and on a page you create a Field node and set the SourceExpr to a Field of that global variable, the result will be that the user can fill in a value but the value will not be stored in the database.
I cannot be sure of course without examening your code and objects... But perhaps it helps.
Yes the solution you present is indeed an option to let the user enter a valuta. But if I manually program the lookup for this field, they can also enter a valuta.
It stays weird to me that it is impossible to enter a valuta this way, but it does work if the table relation for the field is another table (for example Unit of Measure).
Here is the example code of a page that shows this behaviour:
If I enter a currency on this page, it is not stored, but if I enter a unit of measure it is stored.
I have tested in a 2009 RTC and see the same result.
Perhaps it has something to do with the - Base Currency = '' - configuration of Nav.
I have no explanation.
We programmed to OnLookup of the field and now it works.
But what do you mean with the - Base Currency = '' - configuration of Nav?
The base currency in NAV (LCY) is displayed as a blank currency on ie. the customers and orders.
(and base currency is not in currency tablet etc..)