on 2009 Jun 08 12:54 PM
Hi!,
I have to design an interface between our SBO 2007 and another application running VB.NET. Only we need to import their sales quotations in our SBO. I need to know how to import the data in SBO and which is the API for this. I don´t know which is the function in SBO for creating Sales Quotations, which parameters are required, etc....
I have to send to the another company the format of the file that they have to generate for import in SBO. Please any help...
Thanks.
Request clarification before answering.
Hi,
Following is the sample to add a Sales Quotation
Dim Quot As SAPbobsCOM.Documents
Dim QuotLine As SAPbobsCOM.Document_Lines
'Get QuotationObject
Quot = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oQuotations)
Quot .DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
Quot .DocDate = Now
'Set Card Code
Quot .CardCode = "C20000"
'Add a line to the Invoice
QuotLine = Quot.Lines
QuotLine.ItemCode = "A00005"
QuotLine.Quantity = 1
QuotLine.Price = 100
'Add the Sales Quatation
Quot.Add()
Hope it helps,
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
15 | |
10 | |
8 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.