Opportunity Product Property

Outlook Developer Reference
Opportunity Product Property

Gets or sets a String value representing the format for the Opportunity product XML. The attribute for this value is read/write.

Syntax

expression.ItemProperties["Opportunity Product"].Value

expression   A variable that represents an Opportunity object.

Remarks

The following code shows the XML format of the Opportunity product.

XML
<ArrayOfBCMOpportunityProduct xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <BCMOpportunityProduct>
     <Guid>962988b5-537a-4295-8d01-d5ccf3679e99</Guid> 
     <Name>product1</Name> 
     <Description>description of product1</Description> 
     <PurchasePrice>10.0000</PurchasePrice> 
     <UnitPrice>10.0000</UnitPrice> 
     <Taxable>true</Taxable> 
     <AdjustedPrice>10.0000</AdjustedPrice> 
     <AdjustedPercent>1</AdjustedPercent> 
     <Quantity>1.0000</Quantity> 
     <Markup>0</Markup> 
     <DiscountAmount>0.0000</DiscountAmount> 
     <DiscountPercent>0</DiscountPercent> 
     <ExtendedAmount>10.0000</ExtendedAmount> 
     <SBAProductID /> 
  </BCMOpportunityProduct>
  <BCMOpportunityProduct>
     <Guid>7bcebb73-6f0d-482a-8324-478ef85b1e6d</Guid> 
     <Name>product2</Name> 
     <Description>desc-of-product2</Description> 
     <PurchasePrice>20.0000</PurchasePrice> 
     <UnitPrice>20.0000</UnitPrice> 
     <Taxable>false</Taxable> 
     <AdjustedPrice>20.0000</AdjustedPrice> 
     <AdjustedPercent>1</AdjustedPercent> 
     <Quantity>1.0000</Quantity> 
     <Markup>0</Markup> 
     <DiscountAmount>0.0000</DiscountAmount> 
     <DiscountPercent>0</DiscountPercent> 
     <ExtendedAmount>20.0000</ExtendedAmount> 
     <SBAProductID /> 
  </BCMOpportunityProduct>
  <BCMOpportunityProduct>
     <Guid>b94e5d7f-cfd5-4d92-9d4c-4724481bda21</Guid> 
     <Name>test3</Name> 
     <Description /> 
     <PurchasePrice>0.0000</PurchasePrice> 
     <UnitPrice>3.0000</UnitPrice> 
     <Taxable>false</Taxable> 
     <AdjustedPrice>3.0000</AdjustedPrice> 
     <AdjustedPercent>1</AdjustedPercent> 
     <Quantity>1.0000</Quantity> 
     <Markup>3</Markup> 
     <DiscountAmount>0.0000</DiscountAmount> 
     <DiscountPercent>0</DiscountPercent> 
     <ExtendedAmount>3.0000</ExtendedAmount> 
     <SBAProductID /> 
  </BCMOpportunityProduct>
</ArrayOfBCMOpportunityProduct>

The Outlook UserProperty type is olText.

See Also

Office Developer Center: Outlook 2007