All Superinterfaces:
CalculableLineItemColumns, InputsColumns, OutputsColumns
All Known Subinterfaces:
QapiCompensationLineItem, QapiContractLineItem, QapiQuoteLineItem, QapiRebateLineItem

@Deprecated public interface ClicColumns extends CalculableLineItemColumns, InputsColumns, OutputsColumns
Deprecated.
Use CalculableLineItemColumns instead. This interface remains for backward compatibility.
Former name of 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
  • Method Details

    • input

      Deprecated.
      Description copied from interface: InputsColumns
      Returns 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 return null.

      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:
      input in interface InputsColumns
      Parameters:
      name - the input name
      Returns:
      a reference to the columns of the given input name
      See Also:
    • output

      Deprecated.
      Description copied from interface: OutputsColumns
      Returns 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 return null.

      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:
      output in interface OutputsColumns
      Parameters:
      name - the output name
      Returns:
      a reference to the columns of the given output name
      See Also: