cancel
Showing results for 
Search instead for 
Did you mean: 

Import Sales Quotation in SBO

Former Member
0 Kudos
236

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Thanks for your help!

I understand how to do it, but where I can find documentation about this?? I would like to control more parameters like customer, payment terms, discounts, etc....

I´ll need more information about functions for open/close files, where can I find it?

Thanks again.

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Ok, I see there´s a lot of help for programming. Thank you very much.

I´ll give you a lot of points!!!!!!

Edited by: Chicuela on Jun 8, 2009 4:20 PM