I am creating a C# application to integrate with Quickbooks for one of my company's clients using SDK 13.0. The problem is, Quickbooks versions/editions are very different. Quickbooks Pro items do not use a
"Unit of Measure" as Quickbooks Premier items do use a Unit of Measure. If I include Unit of Measure when adding an item to Quickbooks Pro, it throws an error and vice versa. Is there any way to detect and return the user's version of Quickbooks using the session object so that I can turn the Unit of Measure feature off and on with my code? I have gone through the SDK, Technical Overview, and the Onscreen Reference and cannot find anything.
There's not a direct way to query what 'level' of QuickBooks you are using. The recommended way would be to perform a PreferencesQuery first and parse the results to see if a feature is enabled. For your example of Unit Of Measure, even if they have the Enterprise edition, they may not have enabled it and you can get errors if you tried to use it. Unfortunately, that preference isn't included in the PreferencesQuery. The workaround that I've done is try to Query the Unit Of Measure and catch any COMException. You'll typically get a 'This request is not supported by this implementation.' error if the version doesn't support a feature or it isn't enabled.
The On Screen Reference (https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html) gives sample code for most of the queries for both C# and VB.
Related
I'm trying to automate a WinForms application that contains a TcXVerticalGrid control. I'm able to access the control using the FindElementByXPath method, but I cannot figure out how to get access to the rows within the component. The component is used like a property grid, where each row has a property name in the left column and an editable value in the right column. I'm trying to figure out how to move the the correct row based on the property name, and then edit the corresponding property value.
I've tried using WinAppDriverUIRecorder.exe tool as well as Inspect.exe, neither of which were able to provide much insight. I've searched Developer Express for answers, but I wasn't able to find anything. One blog post said that they had no plans to support Microsoft's UI Automation api, while another said that they did support WinAppDriver. I'm not sure what technology Appium uses to access Windows controls, but it seems like Developer Express components might not support that technology.
I don't have much experience with Appium or WinAppDriver, so any advice would be helpful. I am able to automate the application with TestComplete, however, it's only possible with their Open Application technology. I've also tried FlaUI, but I wasn't able to get that to work with this component either.
Is it possible to automate this component with Appium, or should I look for a different technology?
I'm using the Rally SDK 2 to manipulate user stories from Javascript in a "Custom HTML" application.
I can query a story and retrieve its attributes.
I can update some of the attributes, like the Name of the Iteration for instance.
How can I add a successor to my story?
If I understand well, I should edit the "/HierarchicalRequirement/.../Successors" of my story, but I don't understand how to do that.
Would someone have an example, please?
Unfortunately, I don't have an exact example you can use, but the successors (or predecessors) are 'collections'. As such, you need to 'add' to the collection. There is an explanation of some of this here: https://docs.ca.com/ca-agile-central/saas/apps/2.1/doc/#!/guide/collections_in_v2
Built into the model for the artefact are routines to handle all the details. If you want more details, then you can download the sdk-debug.js file from the Rally server. To get to it, open up the developer tools in your browser and have a look where a custom app would get the sdk.js file from. The debug variant is formatted for humans to read and a very useful source of how to do things at the low levels. The definition of Rally.data.wsapi.ModelFactory has some good tips.
One of the recommendations I make to people starting out writing custom apps, is to use the developer tools in the browser to watch the network traffic that the Rally UI makes - and then work backwards to code.
This is more of a general "how do I get started" question. I would like to display my company's SSRS Integrated Sharepoint Reports in an iPad App, but I'm not sure where to start. Googling this concept didn't return any results.
We would like a native feel without displaying the reports in a Web View container.
Any ideas?
Thanks in advance!!
Maybe you can use the webservice to get the parameters and build a little query interface. You'd have to figure out what to put in your dropdown boxes I believe.
Get params with that and then submit call the render method which would return the report to you in the desired format. Be sure to read the remarks there.
I have no clue if this would actually work. My organization built an interface like this for reporting services 2000, but it used the URL-based submitting method.
Good luck, I'd love to know if this works for you.
Using the web service is definitely your best bet. You should be able to query all the parameter information you need from the service and then render it in various formats (html is probably your best bet).
I know it's definitely doable, as I've used the web service to build custom scripts that render and and send out PDF versions of reports. It would essentially be the same task. You can find plenty of information on the web for working with it.
look at http://reports4you.software4you.com
The Website shows a server based solution to display reporting services reports on the ipad (including autentification, etc.)
Yours
Dirk
With SQL Server 2012 SPI, you can now access a SSRS report from an iPad by browsing the SharePoint library or viewing the report in a Web part.
For more information about viewing and interacting with SSRS reports on the iPad, see View Reporting Services Reports on Apple iOS devices (SSRS iPad).
Since Exchange doesn't provide support for all local calendar types in OWA, I need to create one, using Microsoft.Net's support of calendars, but where should I start?
If I understand correct what you want, the usage of Exchange Server Web Services would be the best way for you. EWS gives you full set of API for appointments and they can be used in .NET very easy. You can use Microsoft Exchange Server 2010 Web Services SDK (EWS SDK) with Exchange Server 2007 SP1 (you should just use ExchangeService constructor with ExchangeVersion.Exchange2007_SP1 parameter).
I recommend you to watch video http://channel9.msdn.com/pdc2008/BB46/. I find this video as the best starting point.
Other 6 videos from
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032427565&Culture=en-US can gives you more additional information. In two last videos from there you can learn some optimization tricks like retrieving only the properties which you need and paging of results. Using of custom extended properties in appointments is also explained in both of this video sources.
Some small examples how to work with with calendar items (appointment) with respect of EWS SDK you will find here: http://msdn.microsoft.com/en-us/library/dd633702.aspx.
On http://blogs.msdn.com/exchangedev/ you will find more interesting information, links and some good examples.
Is there a way to print, via the SDK (I'm using qbXML and the QuickBooks web connector to connect to a Java application server, SDK version 7.0, QuickBooks enterprise 9.0) invoices with their cover letter? It may take a third party tool, because it seems that QuickBooks has a nice little checkbox of "to be printed" which lets you go and print them one by one from the reminders window and little else (you can print the invoice in bulk, and labels in bulk this way, but not cover letters)?
As an alternative, some way of flagging the invoice created via the SDK on creation so that it can be printed with the appropriate cover letter later?
The only way to accomplish this is via a very tight Quickbooks UI event integration, and even then it would be challenging. The QuickBooks SDK basically supports the UI functionality (or really a subset thereof, but a large subset). The UI has no way of specifying a cover letter on the to be printed invoices, unless you do it manually one by one, so there is no way to do it via the SDK.
If there is a third party tool to do this, I was unable to find one.
You could fetch the invoice data from QuickBooks via the SDK and write your own PDF generation routine to batch-print the invoices... it wouldn't make use of the QuickBooks PDF generation stuff nor the actual QuickBooks templates however.