Error "Return Code 18" Occurs When Transferring an Asset

Applies to: Dynamics GP 2010Dynamics GP 2013Microsoft Dynamics GP 2015

TechKnowledge Content


Issue

I was trying to transfer an asset and I received a Return Code 18 error. This is what shows in the error log:


FA_Auto_Add_Book_Info

Return code 18 (Not found) on file FA_Book_Class_SETP while attempting a "get" operation. Book ID: XXX Class ID: XXX

 

How can I resolve this error and get the transfer to work?

Resolution

Return Code 18 means there is a record missing. In this case, the error is telling us that the Book Class is not set up for one of the Books that the Asset is saved to and for which the transfer should be run.

There are 2 ways to resolve this error:

1. Remove the Asset from the Book by going to Cards-Fixed Assets-Book. Bring up the asset and the book that it does not need to be part of and choose the Delete button.

Or

2. Create the needed book classes for all books the asset is assigned to.

In this scenario, there are Books that are no longer being used that are assigned to assets. For future assets that are added to the system, you may want to go to Setup-Financial-Fixed Assets-Book then unmark the Auto Add Book Info check box for the books you do not want to assign to new assets. This way you do not have to set up all the Book Classes nor should you have to delete the Asset from the Book ID’s that are no longer used.

This article was TechKnowledge Document ID: 25089