Share via


cdf_QuoteDetail Table

Data in the cdf_QuoteDetail table must meet the migration criteria specified in Data Requirements for Migration. The following table shows all of the attributes in Microsoft CRM that can be migrated from the cdf_QuoteDetail table and the respective attribute names and types in the CDF database. The table also shows whether the attribute is required and whether it is used to create a relationship with other entities. For drop-down lists and Boolean attributes, the table shows the valid values and the default value in Microsoft CRM. The last rows of the table list the Microsoft CRM QuoteDetail attributes that cannot be migrated using the Microsoft CRM Data Migration Framework.

Microsoft CRM tab name and attribute label

CDF attribute name

CDF type
Required or Relationship in CDF
Microsoft CRM values
Default Microsoft CRM value
Not on tab QuoteDetailId int (PK) Required    
  QuoteId   Required, Relationship    
  QuoteStateCode int (state)      
General tab          
Select Product IsProductOverridden bit   0 (Existing)

1 (Write In)

0
Product ProductId int Relationship    
  ProductIdName* nvarchar (100)      
Product Description ProductDescription nvarchar (500)      
Unit UoMId int Relationship    
  UoMIdName* nvarchar (100)      
Pricing IsPriceOverridden bit   0 (Use Default)

1 (Overrride Price)

0
Price Per Unit PricePerUnit money      
Volume Discount ($) VolumeDiscountAmount** money      
Quantity Quantity decimal 9(18,5)      
Amount BaseAmount** money      
Manual Discount ($) ManualDiscountAmount money      
Tax Tax money      
Extended Amount ($) ExtendedAmount** money      
Delivery tab          
Requested Date RequestDeliveryBy*** datetime      
Salesperson SalesRepId int Relationship    
  SalesRepIdName* nvarchar (160)      
Address tab          
Ship To WillCall bit   0 (Address)

1 (Will Call)

0
Name ShipTo_Name nvarchar (200)      
Street 1 ShipTo_Line1 nvarchar (50)      
Street 2 ShipTo_Line2 nvarchar (50)      
Street 3 ShipTo_Line3 nvarchar (50)      
City ShipTo_City nvarchar (50)      
State/Province ShipTo_StateOrProvince nvarchar (50)      
ZIP/Postal Code ShipTo_PostalCode nvarchar (20)      
Country/Region ShipTo_Country nvarchar (50)      
Phone ShipTo_Telephone nvarchar (50)      
Fax ShipTo_Fax nvarchar (20)      
Freight Terms ShipTo_FreightTermsCode int (picklist)      
  ShipTo_FreightTermsCodeName* nvarchar (200) (picklist)   FOB

No Charge

Null
Not on tab by default Description ntext      
  LineItemNumber int      
  Description ntext      
  PricingErrorCode int (picklist)      
  PricingErrorCodeName* nvarchar (200) (picklist)      
  LineItemNumber int      
Not migrated          
  CreatedBy        
  CreatedOn        
  ModifiedBy        
  ModifiedOn        
  DeletionStateCode        

Table Footnotes

*The field is used only in the CDF database; it is not migrated.

**This is a calculated attribute in Microsoft CRM. Because Microsoft CRM calculates the value, data in this attribute is not migrated.

***Values for all attributes of type datetime must be in Coordinated Universal Time (UTC) format CCYY-MM-DD, where CC is the century (00-99), YY is the year (00-99), MM is the month (01-12), and DD is the day of month (01-31), for example, 2003-09-05. If a time is included, it is migrated as the Greenwich Mean Time (GMT) time.

© 2003 Microsoft Corporation. All rights reserved.