Examples of OCValueTable


Examples of com.ipc.oce.OCValueTable

  public OCValueTable getSliceLast(Date endDate, OCStructure structure) throws JIException {
    JIVariant var = callMethodA("SliceLast", new Object[]{
        endDate != null ? new JIVariant(endDate) : null,
        structure != null ? new JIVariant(ocObject2Dispatch(structure)) : null
    })[0];
    OCValueTable vt = null;
   
    if (var.getType() != JIVariant.VT_EMPTY) {
      vt = new OCValueTable(var);
    }
    return vt;
  }
View Full Code Here

Examples of com.ipc.oce.OCValueTable

   * @return OCValueTable В таблице содержатся поля "ОборотДт" и "ОборотКт".
   * @throws JIException
   *             ошибка DCOM
   */
  public OCValueTable getTurnovers(Date startDate, Date endDate, OCArray subkonto, OCArray korSubkonto, OCStructure structure, String dimension, String resouces) throws JIException {
    return new OCValueTable(callMethodA("Turnovers", new Object[]{
        new JIVariant(startDate),
        new JIVariant(endDate),
        subkonto != null ? ocObject2Dispatch(subkonto) : null,
        korSubkonto != null ? ocObject2Dispatch(korSubkonto) : null,
        new JIVariant(dimension),
View Full Code Here

Examples of com.ipc.oce.OCValueTable

   * @return OCValueTable
   * @throws JIException
   *             ошибка обращения к DCOM-серверу
   */
  public OCValueTable getDrCrTurnovers(Date startDate, Date endDate, OCArray subkontoDr, OCArray subkontoCr, OCStructure structure, String dimension, String resouces) throws JIException {
    return new OCValueTable(callMethodA("DrCrTurnovers", new Object[]{
        new JIVariant(startDate),
        new JIVariant(endDate),
        subkontoDr != null ? ocObject2Dispatch(subkontoDr) : null,
        subkontoCr != null ? ocObject2Dispatch(subkontoCr) : null,
        new JIVariant(dimension),
View Full Code Here

Examples of com.ipc.oce.OCValueTable

   *            Неопределено
   * @return В таблице содержатся поля "ОборотДт" и "ОборотКт".
   * @throws JIException
   */
  public OCValueTable getBalance(Date date, OCArray refs, OCStructure structure, String dimensions, String resources) throws JIException {
    return new OCValueTable(callMethodA("Balance", new Object[]{
        new JIVariant(date),
        refs != null ? ocObject2Dispatch(refs) : null,
        ocObject2Dispatch(structure),
        new JIVariant(dimensions),
        new JIVariant(resources)
View Full Code Here

Examples of com.ipc.oce.OCValueTable

   * Получает обороты регистра накопления
   * @return
   * @throws JIException
   */
  public OCValueTable getTurnovers() throws JIException{
    return new OCValueTable(callMethodA("Turnovers"));
  }
View Full Code Here

Examples of com.ipc.oce.OCValueTable

    JIVariant jStruct = new JIVariant((wrapper != null ? wrapper.dispatch() : null));
   
    JIVariant jDimensions = new JIVariant(dimensions);
    JIVariant jResources = new JIVariant(resources);
   
    return new OCValueTable(callMethodA("Turnovers", new Object[]{jStartDate, jEndDate, jStruct, jDimensions, jResources})[0]);
  }
View Full Code Here

Examples of com.ipc.oce.OCValueTable

    }
    JIVariant jStruct = new JIVariant((wrapper != null ? wrapper.dispatch() : null));
    JIVariant jDimensions = new JIVariant(dimensions);
    JIVariant jResources = new JIVariant(resources);
   
    return new OCValueTable(callMethodA("Balance", new Object[]{jDate, jStruct, jDimensions, jResources})[0]);
  }
View Full Code Here

Examples of com.ipc.oce.OCValueTable

   *            выгружены все колонки.
   * @return OCValueTable
   * @throws JIException
   */
  public OCValueTable unload(OCArray array, String columns) throws JIException {
    return new OCValueTable(callMethodA("Unload", new Object[]{
        array != null ? ocObject2Dispatch(array) : null,
        columns != null ? new JIVariant(columns) : null
    })[0]);
  }
View Full Code Here

Examples of com.ipc.oce.OCValueTable

   *            выгружены все колонки.
   * @return OCValueTable
   * @throws JIException
   */
  public OCValueTable unloadColumns(String columns) throws JIException {
    return new OCValueTable(callMethodA("UnloadColumns", new Object[]{
        columns != null ? new JIVariant(columns) : null
    })[0]);
  }
View Full Code Here

Examples of com.ipc.oce.OCValueTable

    JIVariant var = callMethodA("Unload", new Object[]{
        rows != null ? new JIVariant(ocObject2Dispatch(rows)) : null,
        columns != null ? new JIVariant(columns) : null
    })[0];
   
    return var.getType() != JIVariant.VT_EMPTY ? new OCValueTable(var) : null;
  }
View Full Code Here
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.