Skip to content

SelectedReportColumnInput

A column to put in a report, with its settings.

input SelectedReportColumnInput {
aggregation: ColumnAggregationMode
ordering: OrderByDirection
overrideColumnName: String
pivotRole: PivotRole
pivotValueFunction: ColumnAggregationMode
possibleColumnId: String!
}

The aggregate: how the column’s values combine. The report then groups by the columns with none.

The order by: which way the report sorts by the column. At least one column needs one.

The override column name: the column’s header in place of its own.

The pivot role: the part the column plays in the pivot table. Any role but NONE adds a pivot table to an Excel file.

The pivot value function: how a VALUE column combines in the pivot table.

The column to show: one of the report type’s possible columns.

MyReportInput input ● reports.customers.applyTags mutation ● reports.customers.generate mutation ● reports.inventory.generate mutation ● reports.inventory.unlockInventory mutation ● reports.orderLines.generate mutation ● reports.orderLines.generatePrintBatch mutation ● reports.payments.generate mutation ● reports.payouts.generate mutation ● reports.subTransactions.generate mutation ● reports.transactions.generate mutation