which the difference among rec and xrec??

lilianatavareslilianatavares Member Posts: 39
which the difference among rec and xrec??

Comments

  • SbhatSbhat Member Posts: 301
    Hi,

    Rec is the current record and xRec is the values of the previous version of the record. For example you have Cust. Reference No. as A1234 in current record and you are changing the value of Cust. Reference No. to say B1234 then B1234 is the Rec and A1234 is the xRec.

    Regards
    Suresh.
  • dmccraedmccrae Member, Microsoft Employee Posts: 144
    Note: xRec is not the contents of the record in the database - i.e. it is not read from the database and supplied to the trigger (as it is in many other trigger based systems). It might be of course, and often is. It is merely the value in the form buffer prior to editing. That means it can be unreliable for acurate logging purposes.
    Dean McCrae - Senior Software Developer, NAV Server & Tools

    This posting is provided "AS IS" with no warranties, and confers no rights.
Sign In or Register to comment.