Interface QapiCalculationGrid
- All Superinterfaces:
CalculableObjectColumns,Map<String,,SelectableExpression> PersistedObjectColumns,Tables.Columns,Tables.Table
public interface QapiCalculationGrid
extends Tables.Table, PersistedObjectColumns, CalculableObjectColumns
Table of Calculation Grid headers. Each row is one Calculation Grid, not one of its items.
Example:
def q = api.queryApi()
def t = q.tables().calculationGrids()
return q.source(t, [t.id(), t.label(), t.keySize(), t.status(), t.numberOfItems()], t.label().like("%Cost%"))
.stream { it.collect { it } }
- Since:
- 14.3 - Caribou Lou
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the user who created the Calculation Grid.keySize()Returns the number of key fields of the items of the Calculation Grid, from 1 to 6.Returns the name of the user who last updated the Calculation Grid.nodeId()Returns the node ID of the Calculation Grid.Returns the number of approved items of the Calculation Grid.Returns the number of automatically approved items of the Calculation Grid.Returns the number of denied items of the Calculation Grid.Returns the number of open items of the Calculation Grid.Returns the number of items of the Calculation Grid that are submitted for approval.Returns the date and time when only part of the items of the Calculation Grid were last recalculated.Returns the relative target date of the Calculation Grid, as a number of days from the current date.Returns the user group whose members can edit the Calculation Grid.Returns the user group whose members can view the details of the Calculation Grid.Methods inherited from interface CalculableObjectColumns
calculationDate, calculationMessages, calculationStartDate, label, numberOfItems, status, targetDateMethods inherited from interface Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from interface PersistedObjectColumns
createDate, createdBy, id, lastUpdateBy, lastUpdateDate, version
-
Method Details
-
nodeId
SelectableExpression nodeId()Returns the node ID of the Calculation Grid.- Returns:
- the nodeId column as an Integer expression
-
relativeTargetDateDays
SelectableExpression relativeTargetDateDays()Returns the relative target date of the Calculation Grid, as a number of days from the current date.- Returns:
- the relativeTargetDateDays column as an Integer expression
- See Also:
-
userGroupEdit
SelectableExpression userGroupEdit()Returns the user group whose members can edit the Calculation Grid.- Returns:
- the userGroupEdit column as a String expression
- See Also:
-
userGroupViewDetails
SelectableExpression userGroupViewDetails()Returns the user group whose members can view the details of the Calculation Grid.- Returns:
- the userGroupViewDetails column as a String expression
- See Also:
-
numberOfApprovedItems
SelectableExpression numberOfApprovedItems()Returns the number of approved items of the Calculation Grid.- Returns:
- the numberOfApprovedItems column as an Integer expression
-
numberOfOpenItems
SelectableExpression numberOfOpenItems()Returns the number of open items of the Calculation Grid.- Returns:
- the numberOfOpenItems column as an Integer expression
-
numberOfDeniedItems
SelectableExpression numberOfDeniedItems()Returns the number of denied items of the Calculation Grid.- Returns:
- the numberOfDeniedItems column as an Integer expression
-
numberOfSubmittedItems
SelectableExpression numberOfSubmittedItems()Returns the number of items of the Calculation Grid that are submitted for approval.- Returns:
- the numberOfSubmittedItems column as an Integer expression
-
numberOfAutoApprovedItems
SelectableExpression numberOfAutoApprovedItems()Returns the number of automatically approved items of the Calculation Grid.- Returns:
- the numberOfAutoApprovedItems column as an Integer expression
-
partialCalculationDate
SelectableExpression partialCalculationDate()Returns the date and time when only part of the items of the Calculation Grid were last recalculated.A full recalculation updates
calculationDate()instead.- Returns:
- the partialCalculationDate column as a DateTime expression
- See Also:
-
keySize
SelectableExpression keySize()Returns the number of key fields of the items of the Calculation Grid, from 1 to 6.- Returns:
- the keySize column as an Integer expression
-
createdByName
SelectableExpression createdByName()Returns the name of the user who created the Calculation Grid.- Returns:
- the createdByName column as a String expression
- See Also:
-
lastUpdateByName
SelectableExpression lastUpdateByName()Returns the name of the user who last updated the Calculation Grid.- Returns:
- the lastUpdateByName column as a String expression
- See Also:
-