Type mismatch error

1

Good afternoon,

We are testing the "SearchObject" method on purchases and the following error message appears

Using the interops gives the same error.

This id is from a purchasing document. Has anyone had this error? How did you get over it?

Thank you.

    
asked by anonymous 25.09.2018 / 17:09

1 answer

2

The second argument of the ProcuraDocPosteriores method is of type GcpBEDocumentosRastreab and not GcpBEDocumentoRastreab . So it would look like this:

Dim objras As New GcpBEDocumentosRastreab
    
25.09.2018 / 17:55