Skip to Content
author's profile photo Former Member
Former Member

Help Pleaseee

Just a cuestion:

I want to know if there is an object in SBO 2004 to create a <b>Good Issues</b> in an inventory transaction.

I need to know it please, has any one used it or have the version to tell it to me.

Thanks all for ur help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2004 at 01:45 PM

    Standard Document object of type "oInventoryGenExit". Example below.

    John.

    Private Sub StockOut(sboCompany As SAPbobsCOM.Company)
       
       Dim lngErr As Long
       Dim strMsg As String
       Dim sboStockOut As SAPbobsCOM.Documents
       
       Set sboStockOut = sboCompany.GetBusinessObject(oInventoryGenExit)
       
       sboStockOut.DocDueDate = Date
       sboStockOut.CardCode = "C1000"
       
       sboStockOut.Lines.ItemCode = "A1000"
       sboStockOut.Lines.Quantity = 1
    
       lngErr = sboStockOut.Add
       If (0 <> lngErr) Then
           MsgBox ("Failed to issue Stock." & lngErr)
       Else
           MsgBox ("Success - Stock issued..")
       End If
    
       Call sboCompany.GetLastError(lngErr, strMsg)
    
       If (0 <> lngErr) Then
           MsgBox ("Found error:" + Str(lngErr) + "," + strMsg)
       End If
    
    End Sub
    

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.