Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

et_matrix_load event

Hi all,

I would like to initialize a UDF in Matrix in A/P Invoice (Form 141),

Here is my code in ItemEvent:

If pVal.FormType = 141 and pVal.EventType = SAPbouiCOM.BoEventTypes.et_MATRIX_LOAD Then

oMatrix = SBO_Application.Forms.Item(pVal.FormUID).Items.Item(pVal.ItemUID).Specific

For i As Integer = 1 To oMatrix.RowCount

oEditText = oMatrix.Columns.Item("14").Cells.Item(i).Specific

Dim Price As Double = oEditText.Value

oEditText = oMatrix.Columns.Item("NewPrice").Cells.Item(pVal.Row).Specific

oEditText.Value = Price

Next i

End if

But it didn't work, anyone can help?


Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question