Interface ERPNextNodeParameters

Source
interface ERPNextNodeParameters {
    docType?: string;
    documentName?: string;
    limit?: number;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "delete";
    options?: {
        fields?: unknown[];
        filters?: {
            customProperty: {
                field?: string;
                operator?: | "is"
                | "less"
                | "equalsGreater"
                | "equalsLess"
                | "greater"
                | "isNot";
                value?: string;
            }[];
        };
    };
    properties?: {
        customProperty: { field?: string; value?: string }[];
    };
    resource?: "document";
    returnAll?: boolean;
}

Properties§

Source§

readonly docType?: string

DocType whose documents to retrieve. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getDocTypes"}

Source§

readonly documentName?: string

The name (ID) of document you would like to get

Source§

readonly limit?: number

Max number of results to return Default: 10 Type options: {"minValue":1}

Source§

readonly operation?: "create" | "get" | "getAll" | "update" | "delete"

Default: "create"

Source§

readonly options?: {
    fields?: unknown[];
    filters?: {
        customProperty: {
            field?: string;
            operator?:
                | "is"
                | "less"
                | "equalsGreater"
                | "equalsLess"
                | "greater"
                | "isNot";
            value?: string;
        }[];
    };
}

Default: {}

Source§

readonly properties?: { customProperty: { field?: string; value?: string }[] }

Default: {} Type options: {"multipleValues":true}

Source§

readonly resource?: "document"

Default: "document"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit