record assignment vs TRANSFERFIELDS

EugeneEugene Member Posts: 309
edited 2008-08-19 in NAV Tips & Tricks
if one needs to assign fields from one record SrcRec to another DestRec of the same table one can use assignment operator:

DestRec := SrcRec

i just wanted to point that these two are not identical - as a side effect assignment operator changes the company DestRec record is working with to the one SrcRec is working with (this is important in case you trying to transfer data from one company to another using CHANGECOMPANY function)
Sign In or Register to comment.