Hello All,
I'm very confused with how the Record Datatype works, and have a few questions.
When a variable is declared as a Record datatype it is also associated with a particular table. I'm assuming the variable (of Record type) is meant to hold 1 record of a table, and not multiple record at the same time.
Let's say (for example) that GenJnlLine is a variable of RECORD datatype associated with table 81 "Gen. Journal Line" (temporary property is set to false)
Now does GenJnlLine point to table 81 like a pointer? or does it point to a copy of table 81?
Does GenJnlLine point to the table or a record in the table?
Also, I have seen statements like below (REC being the system variable)
GenJnlLine := rec
What is the := operator do in this case?
What if the Temporary property of the above variable was set to TRUE, how would it change anything?
If someone can help demystify the Record datatype, it would be much appreciated.
Thanks.
Hi Ranaiam
find the following ref.
docs.microsoft.com/.../record-data-type
community.dynamics.com/.../record-data-type
dynamicsuser.net/.../difference-between-copy-transferfields-and
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156