When discussing the “Basics of changecompany” we copied table records from one company to another through X++ code. Using buf2buf makes this is a lot easier.
Buf2buf is used to copy one recordbuffer to another:
buf2buf(Common _from, Common _to)
If we apply this to the code we used in “Basics of changecompany” we get:
Continue reading Intercompany with buf2buf