Hello. I received a backup of your database and this line of code works perfectly fine. It only returns one invoice. If you download our Sample C# Project and put the lines that follow into the project… After signing in the console shows “invoices: 1”.
Your database is not set up properly to show/hide exported invoices but if you turn that option on you will see that there is one invoice that isn’t exported.
Hi, Actually we have created new environment and installed latest Quanitfy version and this code is not working there while its working on other server while we are using same database backup on both the environments. Only difference is Quantify version.
Still getting same error. DataPortal.Fetch failed (Validation rule rule://Avontus.Rental.Library.StockingLocation/DefaultRateProfileIDRequired/DefaultRateProfileID failed in property DefaultRateProfileID)
It looks like it has something to do with your installation. We are unable to reproduce your error. Does Quantify run on that server? Can you install it and connect from the machine that your code is running from?