Hello,
I've made a UDO form where 3 fields are taken one after other.
Sales Order No.
Sales Order Date
Customer Name
User will press TAB button on the Sales Order No. field.And he will choose the order from ChooseFromList Window .I can do this.
When the user will choose Order no. ; Sales Order Date and Customer Name
value of that particular order will fill up their corresponding fields.
But the problem is ---my program getting all data Sales Order No. ,
Sales Order Date , Customer Name and showing all data
except Sales Order Date
.
Part of my code for this work as follows--
If oCFLEvento.BeforeAction = False Then
Dim oDataTable As SAPbouiCOM.DataTable
oDataTable = oCFLEvento.SelectedObjects
Dim val, val1, val2 As String
Try
val1 = oDataTable.GetValue(10, 0)
val2 = oDataTable.GetValue(13, 0)
val = oDataTable.GetValue(0, 0)
' 'SBO_Application.MessageBox(val)
' 'SBO_Application.MessageBox(val1)
' 'SBO_Application.MessageBox(val2)
Catch ex As Exception
End Try
If (pVal.ItemUID = "OrVal") Or (pVal.ItemUID = "Button1") Then
oEdittext = oForm.Items.Item("CustVal").Specific()
oEdittext.String = val2
oEdittext = oForm.Items.Item("OrdtVal").Specific()
oEdittext.String = val1
oEdittext = oForm.Items.Item("OrVal").Specific()
oEdittext.String = val
End If
End If
Rgds
Subrata
Add a comment