Skip to main content

Retrieve price lists

NSPriceList GetPriceList(Integer priceListId)

Fetch a specific price list by its ID.

Get multiple price lists from quote connection

You’ve got several variants of GetPriceList(), which all return NSPriceList[] and take the ID of a quote connection as the 1st argument.

Create price list

By default, the new price list will be valid “forever”, with the validity period set using the max and min value of the DateTime type.

Update price list

  1. Fetch the NSPriceList object with the agent.
  2. Call the appropriate set methods.
  3. Call SavePriceList().

Delete price list

Reference

Frequently used price list fields

For a complete list of fields, see the database reference.