Interface QapiQuoteLineItem

All Superinterfaces:
CalculableLineItemColumns, ClicColumns, InputsColumns, Map<String,SelectableExpression>, OutputsColumns, PersistedObjectColumns, Tables.Columns, Tables.Table

public interface QapiQuoteLineItem extends Tables.Table, PersistedObjectColumns, ClicColumns
Table of the line items of one Quote. Each row is one line item, which negotiates one product, or one folder.

Example:


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

 return q.source(t, [t.lineId(), t.sku(), t.label(), t.priceRecordId()], t.sku().isNotNull())
         .stream { it.collect { it } }
 
Since:
14.0 - Caribou Lou
See Also:
  • Method Details

    • sku

      Returns the Stock Keeping Unit (SKU) of the product negotiated on the line item.

      Folders have no SKU.

      Returns:
      the sku column as a String expression
    • priceRecordId

      SelectableExpression priceRecordId()
      Returns the ID of the Price Record generated from the line item, or null when none was generated.

      Price Records are generated from the line items when an approved Quote is converted to Price Records.

      Returns:
      the priceRecordId column as an Integer expression