When calling nSetKeyValue with parameters VendorNo$, 00XXXX there is Sage 100 Error : Code CI_NOF, Message: XX-00XXXX is not on file.
This error message normally occurs when a vendor coded to an invoice does not match the vendor details in Sage. This can happen if vendor information has changed in Sage and not been updated in SageAPA or if the vendor has been deleted or deactivated in Sage.
Confirm that the vendor coded to the invoice is active in Sage, if it is not please either activate the vendor in Sage and run a sync or make changes to the invoice so that the invoice is coded to the correct active vendor in Sage.
If you are still having issues please contact Beanworks support at email@example.com.