Поделиться через


pricelevel EntityType

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Description: Entity that defines pricing levels.

Entity Set path:[organization URI]/api/data/v8.2/pricelevels

Base Type: crmbaseentity EntityType

Display Name: Price List

Primary Key: pricelevelid

Primary Name Attribute: name

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations bound to pricelevel

Operations using the pricelevel entity type.

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name

Type

Details

begindate

Edm.DateTimeOffset

Description: Date on which the price list becomes effective.

Display Name: Start Date

createdon

Edm.DateTimeOffset

Description: Date and time when the price list was created.

Display Name: Created On

Read-only property

description

Edm.String

Description: Description of the price list.

Display Name: Description

enddate

Edm.DateTimeOffset

Description: Date that is the last day the price list is valid.

Display Name: End Date

exchangerate

Edm.Decimal

Description: Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency.

Display Name: Exchange Rate

Read-only property

freighttermscode

Edm.Int32

Description: Freight terms for the price list.

Default Options:

1 : Default Value

Display Name: Freight Terms

importsequencenumber

Edm.Int32

Description: Unique identifier of the data import or data migration that created this record.

Display Name: Import Sequence Number

modifiedon

Edm.DateTimeOffset

Description: Date and time when the price list was last modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the price list.

Display Name: Name

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

paymentmethodcode

Edm.Int32

Description: Payment terms to use with the price list.

Default Options:

1 : Default Value

Display Name: Payment Method

pricelevelid

Edm.Guid

Description: Unique identifier of the price list.

Display Name: Price List

shippingmethodcode

Edm.Int32

Description: Method of shipment for products in the price list.

Default Options:

1 : Default Value

Display Name: Shipping Method

statecode

Edm.Int32

Description: Status of the price list.

Default Options:

0 : Active
1 : Inactive

Display Name: Status

statuscode

Edm.Int32

Description: Reason for the status of the price list.

Default Options:

100001 : Active
100002 : Inactive

Display Name: Status Reason

timezoneruleversionnumber

Edm.Int32

Description: For internal use only.

Display Name: Time Zone Rule Version Number

utcconversiontimezonecode

Edm.Int32

Description: Time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber

Edm.Int64

Description: Version number of the price level.

Display Name: Version Number

Read-only property

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties

Name

Single-valued navigation property

Description

_createdby_value

createdby

Unique identifier of the user who created the price list.

_createdonbehalfby_value

createdonbehalfby

Unique identifier of the delegate user who created the pricelevel.

_modifiedby_value

modifiedby

Unique identifier of the user who last modified the price list.

_modifiedonbehalfby_value

modifiedonbehalfby

Unique identifier of the delegate user who last modified the pricelevel.

_organizationid_value

organizationid

Unique identifier of the organization associated with the price list.

_transactioncurrencyid_value

transactioncurrencyid

Unique identifier of the currency associated with the price level.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name

Type

Partner

createdby

systemuser EntityType

lk_pricelevelbase_createdby

createdonbehalfby

systemuser EntityType

lk_pricelevel_createdonbehalfby

modifiedby

systemuser EntityType

lk_pricelevelbase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_pricelevel_modifiedonbehalfby

organizationid

organization EntityType

organization_price_levels

transactioncurrencyid

transactioncurrency EntityType

transactioncurrency_pricelevel

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name

Type

Partner

price_level_accounts

account EntityType

defaultpricelevelid

price_level_contacts

contact EntityType

defaultpricelevelid

price_level_invoices

invoice EntityType

pricelevelid

price_level_opportunties

opportunity EntityType

pricelevelid

price_level_orders

salesorder EntityType

pricelevelid

price_level_product_price_levels

productpricelevel EntityType

pricelevelid

price_level_products

product EntityType

pricelevelid

price_level_quotes

quote EntityType

pricelevelid

PriceLevel_AsyncOperations

asyncoperation EntityType

regardingobjectid_pricelevel

PriceLevel_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_pricelevel

pricelevel_connections1

connection EntityType

record1id_pricelevel

pricelevel_connections2

connection EntityType

record2id_pricelevel

PriceLevel_SyncErrors

syncerror EntityType

regardingobjectid_pricelevel_syncerror

PriceList_Campaigns

campaign EntityType

pricelistid

Operations bound to pricelevel

The following operations are bound to the pricelevel entity type.

Name

Bound to

GetDefaultPriceLevel Function

Collection

Operations using the pricelevel entity type.

The following operations use the pricelevel entity type in a parameter or return type.

Name

How used

Description

GetDefaultPriceLevel Function

entityset Parameter

Retrieves the default price level (price list) for the current user based on the user’s territory relationship with the price level.

GetDefaultPriceLevel Function

ReturnType

Retrieves the default price level (price list) for the current user based on the user’s territory relationship with the price level.

See Also

Use the Microsoft Dynamics 365 Web API
Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright