ZuloOne
English
Sign in
Menu

SalesQuotation

Updated

A sales quotation is an offer to the customer. It does not recognise debt, revenue, tax, or stock reservation. Create sales order adds a draft sales order.

Kind Document
Module CRM
Menu CRM → Documents → Sales quotations

Fields#

Field Caption Points at
ID Number number sequence
Customer Customer Customer
Outlet Outlet CustomerOutlet
Contract Contract SalesContract
Location Ship-from location Location
DeliveryDate Delivery date date
ValidUntil Valid until date
Contact Contact CustomerContact
Agent Agent Employee
PaymentTerm Payment term PaymentTerm
DeliveryTerm Delivery term DeliveryTerm
DiscountPercent Discount, % decimal
Notes Notes string
SourceLead Source lead SalesLead

Customer, Contract, Location, and DeliveryDate are required. ValidUntil is optional. A year before 1902 is stored as 1 January 1900, printed blank, and does not expire the quotation.

Table parts#

SalesQuotationLines, shown on the document as Lines.

Field Caption Points at
Item Item Item
Quantity Quantity decimal
UnitPrice Unit price money
Unit Unit UnitOfMeasure
PriceExplanation Price origin string
BaseQuantity Qty in base unit decimal

BaseQuantity is filled on save from the quantity and the unit. It is hidden and is not edited by hand. The line has no amount, no line discount, and no tax code. The Quotation print form computes the line amount and applies DiscountPercent to the total.

Commands and states#

The stored value and the caption are the same word: Draft, Issued, Converted, Cancelled. Issued, Converted, and Cancelled are read-only.

State Command What happens
Draft Issue quotation Issued, when there is at least one line, every quantity is above zero, and customer, contract, ship-from location, and delivery date are filled. The contract must belong to this customer and outlet and be active on the delivery date. No register is written.
Issued Create sales order Converted, and one SalesOrder is created in Draft. Customer, contract, ship-from location, and lines with a quantity above zero are copied. Outlet, delivery date, contact, agent, payment term, delivery term, a non-zero discount, and notes are copied when they are set. A non-zero price is kept so the draft order does not reprice the line. A past Valid until refuses, and the quotation stays Issued. A second conversion returns the same order, found by Source quotation.
Draft or Issued Cancel quotation Cancelled, after confirmation. The command is not on Converted. It does not change a sales order.

Registers#

This document moves none. SalesQuotationTransactions is attached and its GetTransactions adds no rows. ReservedStock is not written here.

Used by#

Where next#

Was this page helpful?