Package com.ipc.oce.junit

Source Code of com.ipc.oce.junit.GetSomeUUID

/**
*
*/
package com.ipc.oce.junit;

import org.jinterop.dcom.common.JIException;
import org.junit.Test;

import com.ipc.oce.objects.OCDocumentManager;
import com.ipc.oce.objects.OCDocumentRef;
import com.ipc.oce.objects.OCDocumentSelection;

/**
* @author Konovalov
*
*/
public class GetSomeUUID extends BasicTest {

  @Test
  public void getDocumentUUID() throws JIException {
    OCDocumentManager manager = app.getDocumentManager("СчетНаОплатуПокупателю");
    OCDocumentSelection selection = manager.select();
    selection.next();
    OCDocumentRef ref = selection.getRef();
    System.out.println(ref.getRefFullName() + " " + ref.getUUID().toString());
  }
 
  public void getCatalogUUID() {
   
  }
}
TOP

Related Classes of com.ipc.oce.junit.GetSomeUUID

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.