Error integrating document into inventory V10

Asked

Viewed 94 times

0

Good afternoon, I have a routine that creates sales documents that already worked on V9 and I recently migrated to V10.

The problem is that when doing the Update and when I have articles with series treatment gives the following error:

Error integrating Document into Inventory. Unrecognized Guid format.

Here is the serial number insertion code:

                For Each dtrow As DataRow In Session("dtNumSerie").Select("IdLinha = '" & idlinha & "'")

                    count = count + 1

                    Dim numeroserie As New BasBENumeroSerie

                    numeroserie.Manual = 1
                    numeroserie.Modulo = "V"
                    numeroserie.NumeroSerie = dtrow("NumSerie")

                    numerosserie.Insere(numeroserie)

                Next

Does anyone have a suggestion of what might be?

Thank you.

1 answer

4


Good afternoon, on the V10 all serial numbers have an identifier, missing indicate it.

numeroserie.ID = "<Guid>"
  • Solved, thank you!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.