Comparing whole records

sabzamsabzam Member Posts: 1,149
Dear All,

I have got a rec and xrec and need to compare the whole set of fields to make check which field has been modified. Is it possible to get the result without hardcoding the comparision field by field?

Thanks in advance.

Comments

  • mrsamrsa Member Posts: 35
    You have given functionality with change log, you can see funtion in codeunit 423 Change Log Management how to do it with small peace of code with recref and fieldref, take care of performance issue.
  • BeliasBelias Member Posts: 2,998
    take a look at onlinehelp title "xrec and fieldno"...it is probably what you need to know.
    yes, and depending on what you want to do, you'll probably need fieldref and recordref variables...
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.