4Site
Support Request System
View Patch #50.001.003
Description
Patch ID:
Date Implemented:
Patch Title:
Patch Type:
Request IDs:
Bug
Enhancement
Other
01895 -
Supplier payment segment cannot be added
Symptoms:
Attempting to add a supplier payment segment will fail with the error "Run time error 391. Object variable or with block not set". Clicking OK on this message box results in the error "Invalid procedure call or argument". Clicking OK on this message box causes the application to terminate. The falure is related to a 4Site codes entry that does not exist in the current database. If the code entry exists, the payment segment can be added.
Solution:
The code after calling the clsCoValue method for getting the value of a Codes entry was checking if the returned collection had a value of "nothing". Even though the value did not exist, clscovalue returned a collection with a count of 0.
Browse Patches
Find a Patch
Return to Request System Menu