Mutations

Guides you on using mutations for inserts, updates, deletes, and running tasks within a GraphQL schema.

You can perform inserts, updates, and deletes on all the company and system tables. This is possible with the mutation operation. Additional mutation operations include running processings and reports as well as executing queries asynchronously.

Mutations are available with the mutation field at the top of the GraphQL schema, as shown in the following image:

VBNXT schema


The Mutation Type

Root Mutation type defines operations on company and system tables, enabling create, update, delete, and asynchronous queries.

Insert operations

GraphQL Insert Operations - Define _create mutation fields, arguments, type structure, and example queries, emphasizing field order and inserting between records.

Update operations

API documentation detailing update operations using GraphQL. Highlights use of filter/value pairs and filters/values pairs, with examples.

Delete operations

Delete table records using _delete(filter), with results shown in affectedRows. Works similarly to update filters. Example provided.

Processings

Backend processings perform tasks like canceling orders or importing data via GraphQL mutations, potentially running long and requiring specific table fields like order_processings.

Reports

Comprehensive guide on executing and customizing report mutations, including parameters and result structures, for generating business documents in software applications.

Last modified September 24, 2024