cancel
Showing results for 
Search instead for 
Did you mean: 

Search records which are not checked out in main table

former_member206107
Active Participant
0 Kudos

Hi,

I want to get list of records from main table which are not checked out using Java API SP06.

Is there any search constraints for that?

Thanks and best regards,

Arun prabhu S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The API does not include functionality for using checkout status as a search constraint. The way to achieve what you require is to loop through a list of records and test each record's checkout status record.getCheckoutStatus() == Record.CheckoutStatus.NONE.

Walter

Former Member
0 Kudos

Hi Arun / Walter,

Does this method Record.getCheckoutStatus() works fine??

I tired using this method but returns -1 (Undefined) for all the records.

Please let me know.

Thanks and Best Regards,

-Prashant.

Answers (2)

Answers (2)

former_member206107
Active Participant
0 Kudos

Hi Prasanth,

Which version of MDM Server you are using?

I am also facing the same problem in MDM SP06 Patch 1 (5.5.61.48)

But this works fine in SP06 Patch 2 (5.5.62.33)

Thanks and best regards,

Arun prabhu S

former_member206107
Active Participant
0 Kudos

Hi Prasanth,

Yes, the record.getcheckoutstatus() cmd is working fine for me.

In your case it is returning -1 (undefined), so the cmd is working for you as well.

Can you please explain your scenario in detail?

Best regards,

Arun prabhu S