Dear all,
Can you please let me know Temp table.setTempData(). What it does actually?
When we can use setTempData() ?
Please give me more she'd on this
Hi,
When you call the setTmpData method on the record buffer, you will have the record buffers use the same temporary dataset. As illustrated in the following X++ code. In this example, the setTmpData method is called on the second record buffer and is passed in the first record buffer as a parameter.
TmpLedgerTable tmpLedgerTable1;
TmpLedgerTable tmpLedgerTable2;
tmpLedgerTable2.setTmpData(tmpLedgerTable1);
Now both record buffers point to the same dataset.
If read below documentation u will come to know
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,104 Most Valuable Professional
nmaenpaa 101,156