Skip to Content
0
Sep 16, 2014 at 10:51 AM

GetDueDate from SBOBlob Object

49 Views

Hi everyone,

I try to get de DueDate from:

Public Sub TestMethod_GetDueDate(ByVal cardCode As String, ByVal refDate As Date)
Dim vObj As SAPbobsCOM.SBObob
Dim rs As SAPbobsCOM.Recordset
Dim strResult As String
Dim errResult As String
Set vObj =m_company. GetBusinessObject(BoBridge)
Set rs =m_company. GetBusinessObject(BoRecordset)
Set rs = vObj.GetDueDate(cardCode, refDate)
strResult = RecorsetToText(rs)
errResult = GetLastErrorString()
OutputMessage(strResult, errResult)
End Sub

But is not working.

Is there anyone that work it?

The SBO version is 882 PL09.

Thanks in advance