Hi All,
I try to add in Sales Order(139), 2 lines where itemcode has the value '0001'. Although I used he following code in UDO and worked fine, in System Form it issues an error.
Any Idea?
Dim f As SAPbouiCOM.Form
Dim mInv As SAPbouiCOM.Matrix
Dim colcode As SAPbouiCOM.Column
Dim oItemCode As SAPbouiCOM.EditText
f = SBO_Application.Forms.Item(FormUID)
mInv = f.Items.Item("38").Specific
colcode = mInv.Columns.Item("1")
f.Freeze(True)
Dim i As Integer
For i = 1 To 2
mInv.AddRow()
oItemCode = colcode.Cells.Item(i).Specific
oItemCode.Value = "00001"
Next
f.Freeze(False)
Thanks in Advance,
vangelis
Edited by: Vangelis Kanellopoulos on Jun 2, 2009 5:32 PM
Edited by: Vangelis Kanellopoulos on Jun 2, 2009 5:34 PM