Partekatu honen bidez:


Propiedad MoneyAttributeMetadata.PrecisionSource

Se aplica a: CRM 2015 on-prem, CRM Online

Gets or sets the precision source for the attribute.

Espacio de nombres: Microsoft.Xrm.Sdk.Metadata
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)

Sintaxis

'Declaración
<DataMemberAttribute> _
Public Property PrecisionSource As Nullable(Of Integer)
[DataMemberAttribute] 
public Nullable<int> PrecisionSource { get; set; }

Valor de propiedad

Type: Aceptación de valores NULL<Int32>
The precision source for the attribute.

Comentarios

If this property is not assigned a value, it defaults to 2.

For most money fields the precision comes from the Precision property. However, for money fields related to price, the precision come from the organization.pricingdecimalprecision. For money fields which use another currency the TransactionCurrency. CurrencyPrecision may be used.

Valid values for this property are:

Value Description

0

Precision specified in the MoneyAttributeMetadata. Precision property should be used.

1

Precision specified in Organization. PricingDecimalPrecision attribute should be used.

2

Precision specified in the TransactionCurrency. CurrencyPrecision property of the transaction currency that is associated the current record.

Seguridad de hilo

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows Server 2003 y

Plataformas de destino

Windows Vista,Windows XP

Vea también

Referencia

Clase de MoneyAttributeMetadata
Miembros de MoneyAttributeMetadata
Espacio de nombres de Microsoft.Xrm.Sdk.Metadata

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.