Create A Purchase Order In Dynamics GP 2010 Using The Webservices?
Aug 30, 2011
I am trying to create a purchase order in Dynamics GP 2010 using the webservices. I get the following error VendorItemNumber not setup for ItemKey First off, I am not sure what that error actually means. Second off, I am not sure why I am getting it. My code is below.
Public Sub PO()
Dim context As Context
Dim purchaseOrderKey As PurchaseTransactionKey
Dim vendorKey As VendorKey
My main question is what fields are required for creating a PO using the web services. I keep getting an exception, so I feel like im leaving some info out. [code]
I'm making a printable Purchase Order form using Crystal Report. This report retrieves data from two tables. Example, I have fields PONumber,DateofPO,Airline,DateofFlight,ETA,ETD from a table called tblFlight. I have fields PassengerName and Rate on another table called tblPassenger. Each PONumber can have multiple passengers. How can I get it so that I'll just be generating one PO that shows the multiple passengers while the rest of the items show only once? I've placed the PONumber and DateofPO on the PageHeader and the rest of the items on the Details section. But right now, on the Details section, if I have 3 passengers, the other fields also show 3 times on the report. Also, I'm considering to make a query but I have a conditional statement on my query, a WHERE clause that retrieves data dynamically. My problem is I'm not sure where to put the query, will it be on the .rpt or just on the Form? NOTE: I'm coding my SQL queries on the application itself, not inside the server, so no stored procedures/functions for me here.
i apologize if this isnt up to your developer lingo, i really do lack proper developer/English skills)Just for starters this request is 100% genuine...im not some student trying to get you guys to finish my project, this is purely for educational and personal information for myself.Scenario: (brief)(i am using Visual Studio 2010)I am wanting to build a project that generates a printable purchase orders report and retreieves and save the entered details to a access Database (MDB).
In the purchase order application im trying to develop i want a user to be able to select existing clients from n table in the access DB. in which will then fill a portion of the CLIENT detail section in the application. i want to then be able to uses these client details to create a unquie purchase order ID containing all client details aswell as the purchase order list for that client this such as products and labor or whatever is inputted in the fields. (I have attached a screen shot of a brief example of the form layout, might give you more idea. - screen shot made in VISIO)
I am a complete newbie when it comes to working with SOAP/Web Services and I am looking for some assitance.... the code below keeps returning the following error message: "A first chance exception of type 'System.Net.WebException' occurred in System.dll"I have utilized SOAPUI to test out the requests to the webservice and everything appears to be fine. What am I missing?
Im thinking of developing software that a user will purchase in modules.So they would buy the basic package, then if they want this feature, they purchase that and then they install that onto the basic package.
This might not be so 'VB' as it is 'SQL using VB' I have an application with a built in MS Access DB. I have a table that has a column full of integers, I shoot the DB a SQL "order by 'column name' " string and it returns the table ordered by my column of integers.BUT it returns them like this, and I want them like this
0 6 1 5 2 4
[code]....
How do I get the OrderBY to do a descending list starting with the highest number?
I'm working on the exercise page 73 (VB 2010 in 24 hours). It's basically a form with 2 text boxes, 2 text labels and a command button. It's really simple and uses this loop to cycle through the items, and tell me the name of them in a Messagebox
if a byte value can go up to 255 and two bytes are used to determine the length of packet payload data, how would I convert the two bytes to create one integer value?
State.buffer[13] = 5 and State.buffer[14] = 67 Dim PacketLengthHigh As Integer = state.buffer(13) Dim PacketLengthLow As Integer = state.buffer(14)
My requirement is to create dynamic text boxes during run time.it shld b like this: when i click a button a text box shld b created and upon entering a value it shld be saved in access database.
I'm working on a web portal for customers that will connect to Microsoft Dynamics. I don't want to make Dynamics CRM directly a internet facing deployment (IFD), so I'd like to use a separate database that the web interface interacts with and then use web services to move the data between the web portal database and Dynamics CRM. I'm just looking for thoughts on whether this is the best way to proceed and whether there are any good code examples, etc. that I can look at for implementing this? I saw Microsoft has a Customer Portal but it looks like it requires (at a cursory glance) an IFD deployment - which I don't want.
I am want to apply gradient color on textbox background in active report. For this I use graphics and use following code:
Dim a As New System.Drawing.Drawing2D.LinearGradientBrush(New RectangleF(0, 0, Me.Width, Me.Height), color1, color2, mode) Dim g As Graphics = Me.CreateGraphics g.FillRectangle(a, New RectangleF(0, 0, Me.Width, Me.Height)) g.Dispose()
It works well in forms but in report not able to get object of Graphics by Me.CreateGraphics.
I am trying to create a program to order pizza what i have is a textbox to input the customers name, i have a masked textbox for the phone number, a group of two radio buttons for pick up or delivery with if delivery is selected a rich text box appears to input an address, a group of 3 radio buttons for pizza size s,m,l and then also a list box with 10 items for toppings what i want is when i hit the order button for the selected buttons and inputted info to generate a order summary on another form.
I would like to learn to be a Visual Basic Programmer. What software and where would I purchase VB to start off? Also, can anyone suggest good training books for newcomers?
I am using Excel 2003 and I am wanting to create a simple macro in order to run a for loop and then have the information output the numbers to cells.
Sub ForTest(i As Integer, j As Integer) For x = i To j y = Rnd Next x End Sub
This is my code. Now how can I print my x values to the A column and print my y values to the b column so that they line up as a pair of coordinate points.
I'm trying to create a website that can help a user purchase items from other websites. What would be the best way to go about doing this? I know most of the sites I'm using are sending their information using FORM:POST, but I'm having trouble finding the exact POST packet in fiddler (I'm assuming it's encrypted?), and know that a lot of the sites are using login credentials, so that complicates things a bit.
How can i list all the available webservices by just providing the server name?I require that i will just specify the server name, and then a list will be populated with names of all the webservices available.
Net 3.5 has lots of enhancements on secure and transacted webservices ? Does anyone here have experience of this ? does it add overhead ? Can these webservices (in a LAN environment and assumed stateless / lightweight) be relied upon to be used in realtime (by realtime I mean response of 1 second or less ?). I realise that this cannot be guaranteed as it depends heavilly on what the service is doing and what network it is deployed upon etc etc etc, but assuming there are no issues here, what I am simply asking is, is the benefit of 'knowing' your webservice will return impaired by any overhead that prevent such a webservice from being generally reliable enough to be used in a real time application ?
I am developing an ecommerce app that is using the UPS shipping webservice. I have read that it is good to create a singleton so there is only one instance of a webservice at any time. My code for that is below.
Public Class Ship Private Shared sync As New Object() Private Shared _Service As New ShipService
I'm having problems with parsing the XML results that a webservices is sending me. Mostly due to the format this result is sent in. I can succesfully send a request and I get the response back in a string. Now the (truncated) result looks like this:
This is where my problem starts. Because I've found various pieces of code that let me take out the nodes I need. So in the above example <Office> and <code> come out perfectly. But the problem appears when reading the other lines because they start with <td SPACE field=> etc etc. When I readout those lines all I get back is TD.
I need to specifically filter the results based on those TR/TD fields. I'm using an XMLreader and xmlnodetype to filter out the results, but maybe I'm using the wrong method.
I've got the unenviable task of cleaning up a rather messy VB.Net client. The general plan is to move all calculations to WebServices, and I can see exactly how to do this, but it involves passing a large number of different variables to the WebServices. I chose to use an ArrayList as I've worked with them heavily in Java, and have had no issues passing ArrayLists between the C# (ASMX) WebService and a C# client (Windows Forms-based).
I'm working on a sales system. I have a form which consist of all the following information (item code, item name, item price, quantity of item) which is display using a data grid. Data input by user using text box and all this information will be stored in a database (sales database) I'm using ms access 2007. the grand total will be displayed in a text box. And amount paid will be input in a text box too, my major problem now is how to I create a receipt that will have all this information of the purchase. I have a receipt button. How to get the reciept done.
How can I get a list of available webservices from a server/directory?For example from:[URL]Which should at least give me ReportService2005.asmx I was wondering if there wasn't a ReportService2008.asmx
Am pretty new to web services and have been trying to implement Soap Faults. I used Apache Axis2 to generate webservice in the following manner.
[Code]
Now, I created a dynamic project using Eclipse and with the help of Axis2 plugin I created webservice for my "Webservice" class which generates wsdl file. I deployed the webcontent in the Tomcat folder and able to access the WSDL file in the .Net environment. I am able to pass array of objects (User[]) from .Net to Java and able to do my task. Now, I need to implement Soap Faults in Java which I am not sure how to implement.
I am calling Classic ASP Webservices from a .NET application. I have two instances of slow processing of the webservice and fast processing. The slow way (several seconds at the most) is where I actually read the data returned as such:
Dim oRequestAOCP As WebRequest Dim oResponseAOCP As HttpWebResponse = Nothing Dim dataStreamAOCP As Stream = Nothing Dim readerAOCP As StreamReader = Nothing
[code]....
What can I do to speed things up when I need data returned?