cancel
Showing results for 
Search instead for 
Did you mean: 

Internal error -2012 when update OHEM

former_member933888
Active Participant
0 Kudos
138

Dear Experts,

I received this message when trying to update OHEM table (middle name field).

Internal error -2012

Anyone know how to solve this?

Thanks in advance.

nd.Q

View Entire Topic
Former Member
0 Kudos

Hi Andy,

     Can you post your codes?

Regards,

former_member933888
Active Participant
0 Kudos

Hi Bryan,

Something like this. simple one.

  

Dim oOHEM As SAPbobsCOM.EmployeesInfo

oOHEM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oEmployeesInfo)

        oOHEM.GetByKey(12)

        oOHEM.MiddleName = "my middle name"

oOHEM.Update()

nd.Q