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§
§§§§§§§
readonly doc Type?: string§
readonly document Name?: stringThe name (ID) of document you would like to get
readonly limit?: numberMax number of results to return Default: 10 Type options: {"minValue":1}
readonly operation?: "create" | "get" | "getAll" | "update" | "delete"Default: "create"
readonly options?: { ... }Default: {}
readonly properties?: { ... }Default: {} Type options: {"multipleValues":true}
readonly resource?: "document"Default: "document"
readonly return All?: booleanWhether to return all results or only up to a given limit
DocType whose documents to retrieve. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getDocTypes"}