Skip to content

MyReportInput

A My Report to save or run.

input MyReportInput {
code: String!
columns: [SelectedReportColumnInput!]!
customerFilters: CustomersFilterInput
description: String!
id: Guid
inventoryFilters: InventoryFilterInput
name: String!
optionalFilters: [String!]!
orderLineFilters: OrderLineFilterInput
paymentFilters: PaymentsFilterInput
payoutFilters: PayoutsFilterInput
requiredFilters: [String!]!
subTransactionFilters: SubTransactionsFilterInput
transactionFilters: TransactionsFilterInput
type: BaseReportType!
}

The report’s code. It is unique in the organisation.

The report’s columns, in order.

The filters, when the report type is CUSTOMER.

The report’s description.

The item to update. Omitted: a new item is created.

The filters, when the report type is INVENTORY.

The report’s name.

The filters that are optional runtime parameters, by name. They can change before the report runs.

The filters, when the report type is ORDER_LINE.

The filters, when the report type is PAYMENT.

The filters, when the report type is PAYOUT.

The filters that are required runtime parameters, by name. Each needs a value before the report runs.

The filters, when the report type is SUB_TRANSACTION.

The filters, when the report type is TRANSACTION.

The report type: which report it is built on.

reports.myReports.generate mutation ● reports.myReports.saveMyReport mutation