Hi Forum,
I am trying to update the BOM lines with the alternate key "kWHEREUSED" and when i am writing the record i am getting a retVal = -1...
What is the value -1 means... below is the code that i am using.
retVal = oBomItem.oLines.nWrite()
MsgBox "Write retVal = " & retVal & " LineBillNo: " & LineBillNo & " Component: " & bmItemCode
if retVAL <> 0 Then
MsgBox(oBomItem.oLines.sLastErrorMsg & vbCRLF & "Writting lines")
Any ideas?...
Regards,
Manuel Roman