cancel
Showing results for 
Search instead for 
Did you mean: 

Load DocType from IDocuments/Documents

0 Kudos

Hallo,

Is there a way to extract the DocType from the IDocuments object? I have to do it in java, but I think IDocuments the equivalent of Documents in VB.

On IDocuments there is an a method called getProperty(), but it returns an Integer... I would expected a String with valuse I o S. I would avoid to make specific query like

 SELECT DocType FROM OINV WHERE DocEntry=... 

Is there a way?

Thanks

Giu

Accepted Solutions (1)

Accepted Solutions (1)

former_member185682
Active Contributor
0 Kudos

Hi Giu,

You are correct, the property return an integer, but there is two constants with the values:

0 = 'I' = Items

1 = 'S' = Service

Kind Regards,

Diego Lother

Answers (1)

Answers (1)

0 Kudos

Great,

Thanks Diego