QuickBooks Integrator 2020 Kotlin Edition

Questions / Feedback?

CheckRequestStatus Method

Checks whether or not the specified request was processed by QuickBooks.

Syntax

public fun checkRequestStatus(requestId: String?): String?

Remarks

This method allows the user to determine whether a previous request was successfully processed by QuickBooks. Ordinarily QuickBooks either processes requests successfully or returns an error, but in the event of a power outage or other system failure, QuickBooks might or might not have time to process a request before issuing a response.

QuickBooks stores internally a list of QBRequestIds for which it has processed a request, and updated its internal state accordingly. Use of this method allows the user to query the list for any RequestId whose value is known.

The method returns a string corresponding to the result of the query. If the request was processed successfully, an empty string ("") will be returned. If the request was not processed, the string "Request not processed." will be returned. If the request was processed but an error occurred, a string containing the error code and a description will be returned; for example, "801: A QuickBooks internal error has occurred."

See QBRequestId for more information on error recovery.

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 Kotlin Edition - Version 20.0 [Build 7941]