Class returned by openConsultObject

Hierarchy

  • RpcObject
    • ConsultObject

Constructors

  • Opens an consult context for the record identified by entity and key.

    Parameters

    • remoteAPI: JsonRpcApi
    • entity: string

      The entity name of the consulted record, e.g. "Comp"

    • key: string

      The key of the consulted record

    Returns ConsultObject

Properties

dataSetList: DataSetList
entity: string

The entity name of the consulted record, e.g. "Comp"

id: string
isDirty: boolean = false
key: string

The key of the consulted record

requestObject: null | RpcNamedOperation
responseObject: {}

Type declaration

    Accessors

    Methods

    • Retrieves the DataSet for category categoryName. Can be null when the category is not available to the current user.

      Parameters

      • categoryName: string

        name of the category, e.g. "DOCU$INVOICING"

      Returns DataSet

    • Retrieves a relation DataSet for the specified detail in the edit context.

      Parameters

      • detail: string

        The detail name, e.g. "Comp"

      • filter: string = ""

        SQL filter expression, e.g. "COMMENT like '%template%'"

      • includeBlobContent: boolean = false

        If true, blob fields (e.g. memo, stream) are returned

      Returns DataSet