When creating a WT.Part / Wt.Document object, a WT.Part automatically generated (most likely, that is taken from the sequence). Can someone tell me how you can reach the sequence and get the next WT.Part / Wt.Document number using the API. When working, I use Info*Engine and SOAP .

    1 answer 1

    As a temporary solution, I create a new Part, read the number and either use it or delete it.

    Upd1

    If you use Java , you can use the method:

    wt.fc.PersistenceHelper.manager.getNextSequence("SEQUENCE_NUMBER_OF_YOUR_OBJECT")