Skip to main content
You can either create a quote from scratch or copy an existing quote from another sale.

NSQuoteEntity CreateAndSaveQuote(Integer saleId, Integer connectionId, String firstAlternativeName)

If there’s no external ERP connection, you’re most likely using SuperOffice with ID 1.

NSQuoteEntity CreateAndSaveQuoteFromSale(Integer copyFromSaleId, Integer copyToSaleId)

The quote is copied with its products and alternatives.
The sale you copy the quote from must have the same currency as the sale you are copying it to.

Next