I see Deleteall used quite a lot in the standard navision codeunits, and lines like the following puzzle me somewhat:
TempJnlLineDim.RESET;
TempJnlLineDim.DELETEALL;
Given that TempJnlLineDim is a global variable for Record 356 (Journal Line Dimension), this would remove every row in that table would it not? My issue here is that the table in question (356) contains rows referring to multiple other tables and journal batches so for any single object to delete all rows in the table makes no sense to me. Can someone explain what it's really doing assuming my understanding is incorrect?
0
Comments