Interface InputsColumns

All Known Subinterfaces:
CalculableLineItemColumns, ClicColumns, QapiCompensationLineItem, QapiContractLineItem, QapiCustomForm, QapiQuoteLineItem, QapiRebateLineItem

public interface InputsColumns
Access to the inputs of the rows of tables whose rows are calculated by a logic with user inputs.

Example:


 def q = api.queryApi()
 def t = q.tables().quoteLineItems("P-1168")

 return q.source(t, [t.lineId(), t.input("Quantity").value().as("Qty")])
         .stream { it.collect { it } }
 
Since:
15.0.6 - Southside
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The columns of one input of a row, as returned by input(String).
  • Method Summary

    Modifier and Type
    Method
    Description
    input(String name)
    Returns the columns of the input with the given name.
  • Method Details

    • input

      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 } }
       
      Parameters:
      name - the input name
      Returns:
      a reference to the columns of the given input name
      See Also: