---
id: object/table/5351
type: object
title: Table 5351 "CRM Quote"
summary: Table 5351 "CRM Quote" in Base Application (Microsoft.Integration.D365Sales). 98 fields. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 55ea04c49d181b5812d6748485196bf3b9f5559b15415920e848586fcc49325b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMQuote.Table.al
    title: src/Layers/W1/BaseApp/Integration/D365Sales/CRMQuote.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5351
name: CRM Quote
namespace: Microsoft.Integration.D365Sales
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 98
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 26
  referenced_by: 4
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5351 "CRM Quote"

> Table 5351 "CRM Quote" in Base Application (Microsoft.Integration.D365Sales). 98 fields. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.

Base Application · Microsoft.Integration.D365Sales · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMQuote.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | CRM Quote |
| TableType | CRM |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | QuoteId | Guid | Quote <small>caption</small> |  |
| 2 | OwningBusinessUnit | Guid | Owning Business Unit <small>caption</small> | TableRelation [Table 5364 "CRM Businessunit"](../table/5364.md) ("CRM Businessunit".BusinessUnitId) |
| 3 | OwningUser | Guid | Owning User <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 4 | PriceLevelId | Guid | Price List <small>caption</small> | TableRelation [Table 5346 "CRM Pricelevel"](../table/5346.md) ("CRM Pricelevel".PriceLevelId) |
| 5 | OpportunityId | Guid | Opportunity <small>caption</small> | TableRelation [Table 5343 "CRM Opportunity"](../table/5343.md) ("CRM Opportunity".OpportunityId) |
| 6 | AccountId | Guid | Account <small>caption</small> | TableRelation [Table 5341 "CRM Account"](../table/5341.md) ("CRM Account".AccountId) |
| 7 | ContactId | Guid | Contact <small>caption</small> | TableRelation [Table 5342 "CRM Contact"](../table/5342.md) ("CRM Contact".ContactId) |
| 8 | QuoteNumber | Text[100] | Quote ID <small>caption</small> |  |
| 9 | RevisionNumber | Integer | Revision ID <small>caption</small> |  |
| 10 | Name | Text[2048] | Specifies the name of the record. |  |
| 11 | PricingErrorCode | Option | Pricing Error <small>caption</small> | OptionCaption: None,Detail Error,Missing Price Level,Inactive Price Level,Missing Quantity,Missing Unit Price,Missing Product,Invalid Product,Missing Pricing Code,Invalid Pricing Code,Missing UOM,Product Not In Price Level,Missing Price Level Amount,Missing Price Level Percentage,Missing Price,Missing Current Cost... |
| 12 | Description | BLOB | — |  |
| 13 | DiscountAmount | Decimal | Quote Discount Amount <small>caption</small> |  |
| 14 | FreightAmount | Decimal | Freight Amount <small>caption</small> |  |
| 15 | TotalAmount | Decimal | Specifies information related to the Dynamics 365 Sales connection. |  |
| 16 | TotalLineItemAmount | Decimal | Total Detail Amount <small>caption</small> |  |
| 17 | TotalLineItemDiscountAmount | Decimal | Total Line Item Discount Amount <small>caption</small> |  |
| 18 | TotalAmountLessFreight | Decimal | Total Pre-Freight Amount <small>caption</small> |  |
| 19 | EffectiveFrom | Date | Specifies which date the sales quote is valid from. |  |
| 20 | TotalTax | Decimal | Total Tax <small>caption</small> |  |
| 21 | TotalDiscountAmount | Decimal | Total Discount Amount <small>caption</small> |  |
| 22 | EffectiveTo | Date | Specifies which date the sales quote is valid to. |  |
| 23 | ExpiresOn | Date | Due By <small>caption</small> |  |
| 24 | ClosedOn | Date | Specifies the date when quote was closed. |  |
| 25 | RequestDeliveryBy | Date | Requested Delivery Date <small>caption</small> |  |
| 29 | CreatedBy | Guid | Created By <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 30 | CreatedOn | DateTime | Created On <small>caption</small> |  |
| 31 | ModifiedBy | Guid | Modified By <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 32 | ModifiedOn | DateTime | Modified On <small>caption</small> |  |
| 33 | StateCode | Option | Specifies information related to the Dynamics 365 Sales connection. | OptionCaption: Draft,Active,Won,Closed |
| 34 | StatusCode | Option | Status Reason <small>caption</small> | OptionCaption: ,In Progress,Open,Won,Lost,Canceled,Revised,In Progress1 |
| 35 | ShipTo_Name | Text[200] | Ship To Name <small>caption</small> |  |
| 36 | VersionNumber | BigInteger | Version Number <small>caption</small> |  |
| 37 | ShipTo_Line1 | Text[250] | Ship To Street 1 <small>caption</small> |  |
| 38 | ShipTo_Line2 | Text[250] | Ship To Street 2 <small>caption</small> |  |
| 39 | ShipTo_Line3 | Text[250] | Ship To Street 3 <small>caption</small> |  |
| 40 | ShipTo_City | Text[80] | Ship To City <small>caption</small> |  |
| 41 | ShipTo_StateOrProvince | Text[50] | Ship To State/Province <small>caption</small> |  |
| 42 | ShipTo_Country | Text[80] | Ship To Country/Region <small>caption</small> |  |
| 43 | ShipTo_PostalCode | Text[20] | Ship To ZIP/Postal Code <small>caption</small> |  |
| 44 | WillCall | Boolean | Ship To <small>caption</small> |  |
| 45 | ShipTo_Telephone | Text[50] | Ship To Phone <small>caption</small> |  |
| 46 | BillTo_Name | Text[200] | Bill To Name <small>caption</small> |  |
| 47 | ShipTo_FreightTermsCode | Option | Ship To Freight Terms <small>caption</small> | OptionCaption: ,Default Value |
| 48 | ShipTo_Fax | Text[50] | Ship To Fax <small>caption</small> |  |
| 49 | BillTo_Line1 | Text[250] | Bill To Street 1 <small>caption</small> |  |
| 50 | BillTo_Line2 | Text[250] | Bill To Street 2 <small>caption</small> |  |
| 51 | BillTo_Line3 | Text[250] | Bill To Street 3 <small>caption</small> |  |
| 52 | BillTo_City | Text[80] | Bill To City <small>caption</small> |  |
| 53 | BillTo_StateOrProvince | Text[50] | Bill To State/Province <small>caption</small> |  |
| 54 | BillTo_Country | Text[80] | Bill To Country/Region <small>caption</small> |  |
| 55 | BillTo_PostalCode | Text[20] | Bill To ZIP/Postal Code <small>caption</small> |  |
| 56 | BillTo_Telephone | Text[50] | Bill To Phone <small>caption</small> |  |
| 57 | BillTo_Fax | Text[50] | Bill To Fax <small>caption</small> |  |
| 58 | DiscountPercentage | Decimal | Quote Discount (%) <small>caption</small> |  |
| 59 | ContactIdName | Text[160] | — | FlowField: lookup("CRM Contact".FullName where(ContactId = field(ContactId))) |
| 60 | AccountIdName | Text[160] | — | FlowField: lookup("CRM Account".Name where(AccountId = field(AccountId))) |
| 61 | OpportunityIdName | Text[2048] | — | FlowField: lookup("CRM Opportunity".Name where(OpportunityId = field(OpportunityId))) |
| 62 | PriceLevelIdName | Text[100] | — | FlowField: lookup("CRM Pricelevel".Name where(PriceLevelId = field(PriceLevelId))) |
| 63 | CreatedByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(CreatedBy))) |
| 64 | ModifiedByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(ModifiedBy))) |
| 65 | CustomerId | Guid | Potential Customer <small>caption</small> | TableRelation [Table 5341 "CRM Account"](../table/5341.md), [Table 5342 "CRM Contact"](../table/5342.md) (if (CustomerIdType = const(account)) "CRM Account".AccountId else if (CustomerIdType = const(contact)) "CRM Contact".ContactId) |
| 66 | CustomerIdType | Option | Potential Customer Type <small>caption</small> | OptionCaption: ,account,contact |
| 67 | OwnerId | Guid | Owner <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md), [Table 5359 "CRM Team"](../table/5359.md) (if (OwnerIdType = const(systemuser)) "CRM Systemuser".SystemUserId else if (OwnerIdType = const(team)) "CRM Team".TeamId) |
| 68 | OwnerIdType | Option | — | OptionCaption: ,systemuser,team |
| 69 | ShipTo_AddressId | Guid | Ship To Address ID <small>caption</small> |  |
| 70 | ShipTo_ContactName | Text[150] | Ship To Contact Name <small>caption</small> |  |
| 71 | BillTo_AddressId | Guid | Bill To Address ID <small>caption</small> |  |
| 72 | BillTo_ContactName | Text[150] | Bill To Contact Name <small>caption</small> |  |
| 73 | TimeZoneRuleVersionNumber | Integer | Time Zone Rule Version Number <small>caption</small> |  |
| 74 | ImportSequenceNumber | Integer | Import Sequence Number <small>caption</small> |  |
| 75 | ExchangeRate | Decimal | Exchange Rate <small>caption</small> |  |
| 76 | OverriddenCreatedOn | Date | Record Created On <small>caption</small> |  |
| 77 | UTCConversionTimeZoneCode | Integer | UTC Conversion Time Zone Code <small>caption</small> |  |
| 78 | TransactionCurrencyId | Guid | Currency <small>caption</small> | TableRelation [Table 5345 "CRM Transactioncurrency"](../table/5345.md) ("CRM Transactioncurrency".TransactionCurrencyId) |
| 79 | TotalLineItemDiscountAmount_Ba | Decimal | Total Line Item Discount Amount (Base) <small>caption</small> |  |
| 80 | TransactionCurrencyIdName | Text[100] | — | FlowField: lookup("CRM Transactioncurrency".CurrencyName where(TransactionCurrencyId = field(TransactionCurrencyId))) |
| 81 | TotalAmountLessFreight_Base | Decimal | Total Pre-Freight Amount (Base) <small>caption</small> |  |
| 82 | DiscountAmount_Base | Decimal | Quote Discount Amount (Base) <small>caption</small> |  |
| 83 | FreightAmount_Base | Decimal | Freight Amount (Base) <small>caption</small> |  |
| 84 | TotalAmount_Base | Decimal | Total Amount (Base) <small>caption</small> |  |
| 85 | TotalDiscountAmount_Base | Decimal | Total Discount Amount (Base) <small>caption</small> |  |
| 86 | TotalTax_Base | Decimal | Total Tax (Base) <small>caption</small> |  |
| 87 | TotalLineItemAmount_Base | Decimal | Total Detail Amount (Base) <small>caption</small> |  |
| 88 | CreatedOnBehalfBy | Guid | Created By (Delegate) <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 89 | CreatedOnBehalfByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(CreatedOnBehalfBy))) |
| 90 | ModifiedOnBehalfBy | Guid | Modified By (Delegate) <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 91 | ModifiedOnBehalfByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(ModifiedOnBehalfBy))) |
| 92 | OwningTeam | Guid | Owning Team <small>caption</small> | TableRelation [Table 5359 "CRM Team"](../table/5359.md) ("CRM Team".TeamId) |
| 93 | BillTo_Composite | BLOB | Bill To Address <small>caption</small> |  |
| 94 | ShipTo_Composite | BLOB | Ship To Address <small>caption</small> |  |
| 95 | ProcessId | Guid | Process <small>caption</small> |  |
| 96 | StageId | Guid | Process Stage <small>caption</small> |  |
| 97 | TraversedPath | Text[250] | Traversed Path <small>caption</small> |  |
| 98 | CompanyId | Guid | Company Id <small>caption</small> | TableRelation [Table 5393 "CDS Company"](../table/5393.md) ("CDS Company".CompanyId) |
| 99 | PaymentTermsCodeEnum | Enum "CDS Payment Terms Code" | Payment Terms <small>caption</small> | enum [Enum 5334 "CDS Payment Terms Code"](../enum/5334.md) |
| 100 | ShippingMethodCodeEnum | Enum "CDS Shipping Agent Code" | Shipping Method <small>caption</small> | enum [Enum 5336 "CDS Shipping Agent Code"](../enum/5336.md) |
| 101 | FreightTermsCodeEnum | Enum "CDS Shipment Method Code" | Freight Terms <small>caption</small> | enum [Enum 5335 "CDS Shipment Method Code"](../enum/5335.md) |

## Keys

- Key1: QuoteId (clustered)
- Key2: Name

## Relations

- CreatedByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedOnBehalfByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedOnBehalfByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedOnBehalfBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedOnBehalfBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- OwnerId: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) (conditional)
- OwningUser: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- AccountIdName: CalcFormula [Table 5341 "CRM Account"](../table/5341.md)
- AccountId: TableRelation [Table 5341 "CRM Account"](../table/5341.md)
- CustomerId: TableRelation [Table 5341 "CRM Account"](../table/5341.md) (conditional)
- ContactIdName: CalcFormula [Table 5342 "CRM Contact"](../table/5342.md)
- ContactId: TableRelation [Table 5342 "CRM Contact"](../table/5342.md)
- CustomerId: TableRelation [Table 5342 "CRM Contact"](../table/5342.md) (conditional)
- OpportunityIdName: CalcFormula [Table 5343 "CRM Opportunity"](../table/5343.md)
- OpportunityId: TableRelation [Table 5343 "CRM Opportunity"](../table/5343.md)
- TransactionCurrencyIdName: CalcFormula [Table 5345 "CRM Transactioncurrency"](../table/5345.md)
- TransactionCurrencyId: TableRelation [Table 5345 "CRM Transactioncurrency"](../table/5345.md)
- PriceLevelIdName: CalcFormula [Table 5346 "CRM Pricelevel"](../table/5346.md)
- PriceLevelId: TableRelation [Table 5346 "CRM Pricelevel"](../table/5346.md)
- OwnerId: TableRelation [Table 5359 "CRM Team"](../table/5359.md) (conditional)
- OwningTeam: TableRelation [Table 5359 "CRM Team"](../table/5359.md)
- OwningBusinessUnit: TableRelation [Table 5364 "CRM Businessunit"](../table/5364.md)
- CompanyId: TableRelation [Table 5393 "CDS Company"](../table/5393.md)

## Referenced by

4 fields in 3 objects relate to this table (TableRelation or CalcFormula).

- [Table 5353 "CRM Salesorder"](../table/5353.md): QuoteIdName, QuoteId
- [Table 5352 "CRM Quotedetail"](../table/5352.md): QuoteId
- [Table 5385 "CRM Annotation"](../table/5385.md): ObjectId

## Pages and codeunits on this table

- [Page 5351 "CRM Sales Quote List"](../page/5351.md) (source table)
- [Codeunit 5348 "CRM Quote to Sales Quote"](../codeunit/5348.md) (codeunit runs on it)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26, BC28

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "CRM Quote")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
