Orders are immutable once finalized. Changing agreed terms means cancelling the
order and creating a new one, so a proposal can accumulate several Order records
over time. At most one is active - and there may be none, since cancelling
the only order leaves the proposal with no active order at all. Filter on
Veles__Primary__c (Active) whenever you report across orders.Fields at a glance
Field details
Order Name - “Order #” and the order number padded to six digits (e.g.
Order #001042), as Veles labels the order.
Veles External ID — The Veles order ID. All sync writes upsert on this
field; never edit.
Proposal — The Veles proposal this order belongs to. Master-detail: orders
are owned by their proposal and are deleted with it.
Quote — The Veles quote this order was converted from: the option whose
published version the customer accepted. Empty when that quote is not in
Salesforce (never pushed, or since hidden or deleted in Veles), and filled in
again when the quote comes back. Lookup rather
than master-detail, because the order is owned by the proposal and outlives any
later re-quoting.
Contract — The Veles contract
this order created or amended, set when the order is executed. Empty until
then, so an order that is never executed has none. A renewal order points at
the new contract it created; the contract it renewed is that contract’s
Source Contract. Empty while that contract is not in Salesforce, and filled in
once it is.
Active - Whether this is the proposal’s active order: true for the order
that is not Cancelled, false once it is voided. Veles allows one active order
per proposal at a time, and there may be none. Salesforce never holds two:
marking an order active clears the flag on the proposal’s other orders, so a
replacement order is the active one even before its voided predecessor syncs.
Filter on this field when reporting across orders to leave voided orders out.
The API name is
Primary__c, the same as the quote’s flag.Order Number — The sequential order number within the Veles account, and
the number shown on the order document.
Status — Where the order sits in its lifecycle. For any order that is not
Cancelled, the parent proposal’s Stage names the same step (a Draft order’s
proposal is at Draft Order), which makes the two a useful cross-check. Veles
allows one order per proposal that is not Cancelled. Unrestricted so new Veles
statuses never break the sync.Values:
Draft, Finalized, Pending Signature, Signed, Executed,
Cancelled. Executed means the order created or amended a contract and can
no longer be cancelled.Rep — The order’s owner in Veles, as the Salesforce user they connected
Veles with. Empty when the owner has never connected Salesforce. Use this
rather than Created By for rep-level reporting.
Effective On — When the order’s commitment takes effect. Deliberately
separate from Start Date: on an amendment order this is the amendment date,
which falls inside the existing contract’s window rather than at the start of a
new term. For new business the two usually match.
Term (Months) — The order’s term in months, from its Start Date to its End
Date, as the Veles order page shows it.
Phase Count — Number of phases (time-segmented windows, e.g. ramp years).
1 means flat pricing for the whole term.
Signed On — When the order was signed, by whichever route: all signers
completing in the e-signature provider, a rep marking it signed, the offline
sign path, or an externally-signed PDF being recorded. Empty until then. There
is no Signed By field, because on the e-signature path the signer is a customer
contact rather than a Veles user.
Executed On — When the order was executed: the moment it created or
amended a contract, and the point after which it can no longer be cancelled.
This is the booking date for revenue reporting.
Executed By — The Veles user who executed the order, as the Salesforce
user they connected Veles with. Empty until the order is executed, and when
that user has never connected Salesforce.
TCV — Total Contract Value: One-Time TCV + Recurring TCV, everything the
customer pays over the full ordered term, prorated to actual windows. In the
order’s own currency (see Currency Code).
Recurring TCV — The sum of all Recurring Revenue Prorated across the
order’s phases. One-Time TCV + Recurring TCV = TCV.
One-Time TCV — The sum of all One-Time Revenue across the order’s phases.
One-Time TCV + Recurring TCV = TCV.
Currency Code — ISO currency code of the order (e.g. USD, EUR). All amount
fields on this record and its lines are in this currency.
Void Reason — Why the order was cancelled. Only ever set on Cancelled
orders, where Veles requires a reason, so it is the record of why a commitment
fell over. Synced as plain text.
Billing Email — The bill-to contact email, where invoices are sent. Empty
when the address in Veles is not one Salesforce accepts: malformed, or longer
than 80 characters.

