How in outlook BCM 2007 & C# import Opportunity product list XMLinsert a opportunity

  • Thread starter Thread starter Sebastian Ayala
  • Start date Start date
S

Sebastian Ayala

Hello,

I can insert XML pruduct list a the Opportunity in spanish:

if (nuevaOportunidad.UserProperties["Producto de Oportunidades"] ==
null)
{

string listaProductosXml = "<ArrayOfBCMOpportunityProduct xmlns:xsi=
\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://
www.w3.org/2001/XMLSchema\">";
listaProductosXml += "<BCMOpportunityProduct>\n<Guid>e64b43f2-
d8fb-48d2-8779-c39f805386be</Guid>\n<Name>Articulo 1</Name>
\n<Description>description of product1</Description>
\n<PurchasePrice>10.0000</PurchasePrice>\n<UnitPrice>10.0000</
UnitPrice>\n<Taxable>true</Taxable>\n<AdjustedPrice>10.0000</
AdjustedPrice> \n <AdjustedPercent>1</AdjustedPercent>
\n<Quantity>1.0000</Quantity> \n<Markup>0</Markup>
\n<DiscountAmount>0.0000</DiscountAmount> \n<DiscountPercent>0</
DiscountPercent> \n<ExtendedAmount>10.0000</ExtendedAmount>
\n<SBAProductID /> \n</BCMOpportunityProduct>";

userProp = nuevaOportunidad.UserProperties.Add("Productos y
servicios",
Microsoft.Office.Interop.Outlook.OlUserPropertyType.olText, false,
false);
userProp.Value = listaProductosXml; //ItemProperties["Opportunity
Product"].Value
is not work, call into spanish "Opportunity Product" <-- Oportunidades
de producto ?
}
 
Hello,

I can insert XML pruduct list a the Opportunity in spanish:

if (nuevaOportunidad.UserProperties["Producto de Oportunidades"] ==
null)
{

 string listaProductosXml = "<ArrayOfBCMOpportunityProduct xmlns:xsi=
\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">";
listaProductosXml += "<BCMOpportunityProduct>\n<Guid>e64b43f2-
d8fb-48d2-8779-c39f805386be</Guid>\n<Name>Articulo 1</Name>
\n<Description>description of product1</Description>
\n<PurchasePrice>10.0000</PurchasePrice>\n<UnitPrice>10.0000</
UnitPrice>\n<Taxable>true</Taxable>\n<AdjustedPrice>10.0000</
AdjustedPrice> \n <AdjustedPercent>1</AdjustedPercent>
\n<Quantity>1.0000</Quantity> \n<Markup>0</Markup>
\n<DiscountAmount>0.0000</DiscountAmount> \n<DiscountPercent>0</
DiscountPercent> \n<ExtendedAmount>10.0000</ExtendedAmount>
\n<SBAProductID /> \n</BCMOpportunityProduct>";

userProp = nuevaOportunidad.UserProperties.Add("Productos y
servicios",
Microsoft.Office.Interop.Outlook.OlUserPropertyType.olText, false,
false);
userProp.Value = listaProductosXml; //ItemProperties["Opportunity
Product"].Value
is not work, call into spanish "Opportunity Product" <-- Oportunidades
de producto ?



}- Hide quoted text -

- Show quoted text -

En el caso general, los nombres en el Object Model no cambian con el
lenguaje.

Estas usando BCM 2007?

Luther
http://beyng.blogspot.com/
 
I can insert XML pruduct list a the Opportunity in spanish:
if (nuevaOportunidad.UserProperties["Producto de Oportunidades"] ==
null)
{
 string listaProductosXml = "<ArrayOfBCMOpportunityProduct xmlns:xsi=
\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">";
listaProductosXml += "<BCMOpportunityProduct>\n<Guid>e64b43f2-
d8fb-48d2-8779-c39f805386be</Guid>\n<Name>Articulo 1</Name>
\n<Description>description of product1</Description>
\n<PurchasePrice>10.0000</PurchasePrice>\n<UnitPrice>10.0000</
UnitPrice>\n<Taxable>true</Taxable>\n<AdjustedPrice>10.0000</
AdjustedPrice> \n <AdjustedPercent>1</AdjustedPercent>
\n<Quantity>1.0000</Quantity> \n<Markup>0</Markup>
\n<DiscountAmount>0.0000</DiscountAmount> \n<DiscountPercent>0</
DiscountPercent> \n<ExtendedAmount>10.0000</ExtendedAmount>
\n<SBAProductID /> \n</BCMOpportunityProduct>";
userProp = nuevaOportunidad.UserProperties.Add("Productos y
servicios",
Microsoft.Office.Interop.Outlook.OlUserPropertyType.olText, false,
false);
userProp.Value = listaProductosXml; //ItemProperties["Opportunity
Product"].Value
is not work, call into spanish "Opportunity Product" <-- Oportunidades
de producto ?
}- Hide quoted text -
- Show quoted text -

En el caso general, los nombres en el Object Model no cambian con el
lenguaje.

Estas usando BCM 2007?

Lutherhttp://beyng.blogspot.com/- Hide quoted text -

- Show quoted text -

jo, acabo de ver el titulo de tu mensajem. Dejame investigar um poco
en la version castellana, e luego respondo.
 
Hello,
I can insert XML pruduct list a the Opportunity in spanish:
if (nuevaOportunidad.UserProperties["Producto de Oportunidades"] ==
null)
{
 string listaProductosXml = "<ArrayOfBCMOpportunityProduct xmlns:xsi=
\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www..w3.org/2001/XMLSchema\">";
listaProductosXml += "<BCMOpportunityProduct>\n<Guid>e64b43f2-
d8fb-48d2-8779-c39f805386be</Guid>\n<Name>Articulo 1</Name>
\n<Description>description of product1</Description>
\n<PurchasePrice>10.0000</PurchasePrice>\n<UnitPrice>10.0000</
UnitPrice>\n<Taxable>true</Taxable>\n<AdjustedPrice>10.0000</
AdjustedPrice> \n <AdjustedPercent>1</AdjustedPercent>
\n<Quantity>1.0000</Quantity> \n<Markup>0</Markup>
\n<DiscountAmount>0.0000</DiscountAmount> \n<DiscountPercent>0</
DiscountPercent> \n<ExtendedAmount>10.0000</ExtendedAmount>
\n<SBAProductID /> \n</BCMOpportunityProduct>";
userProp = nuevaOportunidad.UserProperties.Add("Productos y
servicios",
Microsoft.Office.Interop.Outlook.OlUserPropertyType.olText, false,
false);
userProp.Value = listaProductosXml; //ItemProperties["Opportunity
Product"].Value
is not work, call into spanish "Opportunity Product" <-- Oportunidades
de producto ?
}- Hide quoted text -
- Show quoted text -
En el caso general, los nombres en el Object Model no cambian con el
lenguaje.
Estas usando BCM 2007?
Lutherhttp://beyng.blogspot.com/-Hide quoted text -
- Show quoted text -

jo, acabo de ver el titulo de tu mensajem. Dejame investigar um poco
en la version castellana, e luego respondo.- Hide quoted text -

- Show quoted text -

Producto de oportunidad

Luther Blissett
http://beyng.blogspot.com/
 
Back
Top