Interface ClicColumns
- All Superinterfaces:
CalculableLineItemColumns,InputsColumns,OutputsColumns
- All Known Subinterfaces:
QapiCompensationLineItem,QapiContractLineItem,QapiQuoteLineItem,QapiRebateLineItem
CalculableLineItemColumns, kept for backward compatibility.
The quote, contract, rebate and compensation line item tables still declare this interface, so logic that
only calls column methods such as lineId() or input(String) needs no change.
- Since:
- 13.1 - Rampur
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.UseInputsColumns.InputColumnsinstead.static interfaceDeprecated.UseOutputsColumns.OutputColumnsinstead. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the columns of the input with the given name.Deprecated.Returns the columns of the output with the given name.Methods inherited from interface CalculableLineItemColumns
calculationStatus, dirty, editabilityStatus, label, lineId, parentId
-
Method Details
-
input
Deprecated.Description copied from interface:InputsColumnsReturns the columns of the input with the given name.The name is the name of the input as defined in the logic. Dots in the name are handled the same way as when the input is stored, so you can pass the name unchanged. A name that contains
[or]is rejected with an error. If the row has no input with this name, the columns returnnull.Example:
def q = api.queryApi() def t = q.tables().customForms("MyFormType") return q.source(t, [t.id(), t.input("Region").value().as("Region")]) .stream { it.collect { it } }- Specified by:
inputin interfaceInputsColumns- Parameters:
name- the input name- Returns:
- a reference to the columns of the given input name
- See Also:
-
output
Deprecated.Description copied from interface:OutputsColumnsReturns the columns of the output with the given name.The name is the name of the logic element that produced the output. Dots in the name are handled the same way as when the output is stored, so you can pass the name unchanged. A name that contains
[or]is rejected with an error. If the row has no output with this name, the columns returnnull.Example:
def q = api.queryApi() def t = q.tables().actionItems() return q.source(t, [t.id(), t.output("MyProfitElement").result().as("Element")]) .filter { cols -> cols.Element.castAsReal().greaterThan(5) } .stream { it.collect { it } }- Specified by:
outputin interfaceOutputsColumns- Parameters:
name- the output name- Returns:
- a reference to the columns of the given output name
- See Also:
-
CalculableLineItemColumnsinstead. This interface remains for backward compatibility.