Изменить

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


Purchase Order Product (msdyn_purchaseorderproduct) table/entity reference (Microsoft Dynamics 365 Field Service)

Record products to be ordered on purchase order

Messages

The following table lists the messages for the Purchase Order Product (msdyn_purchaseorderproduct) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Assign
Event: True
PATCH /msdyn_purchaseorderproducts(msdyn_purchaseorderproductid)
Update the ownerid property.
AssignRequest
Associate
Event: True
Associate records Associate records
BulkRetain
Event: True
BulkRetain Learn to use messages with the SDK for .NET
Create
Event: True
POST /msdyn_purchaseorderproducts
See Create
Create records
CreateMultiple
Event: True
CreateMultiple CreateMultipleRequest
Delete
Event: True
DELETE /msdyn_purchaseorderproducts(msdyn_purchaseorderproductid)
See Delete
Delete records
Disassociate
Event: True
Disassociate records Disassociate records
GrantAccess
Event: True
GrantAccess GrantAccessRequest
IsValidStateTransition
Event: False
IsValidStateTransition IsValidStateTransitionRequest
ModifyAccess
Event: True
ModifyAccess ModifyAccessRequest
PurgeRetainedContent
Event: True
PurgeRetainedContent Learn to use messages with the SDK for .NET
Restore
Event: True
Restore Learn to use messages with the SDK for .NET
Retain
Event: True
Retain Learn to use messages with the SDK for .NET
Retrieve
Event: True
GET /msdyn_purchaseorderproducts(msdyn_purchaseorderproductid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /msdyn_purchaseorderproducts
See Query data
Query data
RetrievePrincipalAccess
Event: True
RetrievePrincipalAccess RetrievePrincipalAccessRequest
RetrieveSharedPrincipalsAndAccess
Event: True
RetrieveSharedPrincipalsAndAccess RetrieveSharedPrincipalsAndAccessRequest
RevokeAccess
Event: True
RevokeAccess RevokeAccessRequest
RollbackRetain
Event: True
RollbackRetain Learn to use messages with the SDK for .NET
SetState
Event: True
PATCH /msdyn_purchaseorderproducts(msdyn_purchaseorderproductid)
Update the statecode and statuscode properties.
SetStateRequest
Update
Event: True
PATCH /msdyn_purchaseorderproducts(msdyn_purchaseorderproductid)
See Update
Update records
UpdateMultiple
Event: True
UpdateMultiple UpdateMultipleRequest
Upsert
Event: False
PATCH /msdyn_purchaseorderproducts(msdyn_purchaseorderproductid)
See Upsert a table row
UpsertRequest
UpsertMultiple
Event: False
UpsertMultiple UpsertMultipleRequest
ValidateRetentionConfig
Event: True
ValidateRetentionConfig Learn to use messages with the SDK for .NET

Properties

The following table lists selected properties for the Purchase Order Product (msdyn_purchaseorderproduct) table.

Property Value
DisplayName Purchase Order Product
DisplayCollectionName Purchase Order Products
SchemaName msdyn_purchaseorderproduct
CollectionSchemaName msdyn_purchaseorderproducts
EntitySetName msdyn_purchaseorderproducts
LogicalName msdyn_purchaseorderproduct
LogicalCollectionName msdyn_purchaseorderproducts
PrimaryIdAttribute msdyn_purchaseorderproductid
PrimaryNameAttribute msdyn_name
TableType Standard
OwnershipType UserOwned

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

ImportSequenceNumber

Property Value
Description Shows the sequence number of the import that created this record.
DisplayName Import Sequence Number
IsValidForForm False
IsValidForRead True
LogicalName importsequencenumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

msdyn_AssociateToBooking

Property Value
Description Link this product to Booking. If specified and warehouse is not set then product will be added to Resource Booking
DisplayName Associate To Booking
IsValidForForm True
IsValidForRead True
LogicalName msdyn_associatetobooking
RequiredLevel None
Type Lookup
Targets bookableresourcebooking

msdyn_AssociateToWarehouse

Property Value
Description Warehouse to which this product should be received to
DisplayName Associate To Warehouse
IsValidForForm True
IsValidForRead True
LogicalName msdyn_associatetowarehouse
RequiredLevel None
Type Lookup
Targets msdyn_warehouse

msdyn_AssociateToWorkOrder

Property Value
Description Link this product to Work Order. If specified and warehouse is not set then product will be added to work order
DisplayName Associate To Work Order
IsValidForForm True
IsValidForRead True
LogicalName msdyn_associatetoworkorder
RequiredLevel None
Type Lookup
Targets msdyn_workorder

msdyn_DateExpected

Property Value
Description Enter the date you expect this product to arrive to the shipping address. This value defaults to the date set on the PO.
DisplayName Date Expected
IsValidForForm True
IsValidForRead True
LogicalName msdyn_dateexpected
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior True
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Auto
SourceTypeMask 0

msdyn_Description

Property Value
Description Enter the product description to display for the vendor.
DisplayName Description
IsValidForForm True
IsValidForRead True
LogicalName msdyn_description
RequiredLevel None
Type Memo
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 2000

msdyn_InternalFlags

Property Value
Description
DisplayName Internal Flags
IsValidForForm True
IsValidForRead True
LogicalName msdyn_internalflags
RequiredLevel None
Type Memo
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 1048576

msdyn_IsOrdered

Property Value
Description
DisplayName Is Ordered
IsValidForForm True
IsValidForRead True
LogicalName msdyn_isordered
RequiredLevel None
Type Boolean
GlobalChoiceName msdyn_purchaseorderproduct_msdyn_isordered
DefaultValue False
True Label Yes
False Label No

msdyn_ItemStatus

Property Value
Description Enter the current status of this product.
DisplayName Item Status
IsValidForForm True
IsValidForRead True
LogicalName msdyn_itemstatus
RequiredLevel ApplicationRequired
Type Picklist
DefaultFormValue 690970000
GlobalChoiceName msdyn_purchaseorderproductstatus

msdyn_ItemStatus Choices/Options

Value Label
690970000 Pending
690970001 Received
690970002 Canceled

msdyn_LineOrder

Property Value
Description Shows the order of this product within the purchase order.
DisplayName Line Order
IsValidForForm True
IsValidForRead True
LogicalName msdyn_lineorder
RequiredLevel ApplicationRequired
Type Integer
MaxValue 2147483647
MinValue -2147483648

msdyn_name

Property Value
Description Enter the name of the custom entity.
DisplayName Name
IsValidForForm True
IsValidForRead True
LogicalName msdyn_name
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

msdyn_Product

Property Value
Description Product to order
DisplayName Product
IsValidForForm True
IsValidForRead True
LogicalName msdyn_product
RequiredLevel ApplicationRequired
Type Lookup
Targets product

msdyn_PurchaseOrder

Property Value
Description Purchase order this line item relates to
DisplayName Purchase Order
IsValidForForm True
IsValidForRead True
LogicalName msdyn_purchaseorder
RequiredLevel ApplicationRequired
Type Lookup
Targets msdyn_purchaseorder

msdyn_purchaseorderproductId

Property Value
Description Shows the entity instances.
DisplayName Purchase Order Product
IsValidForForm False
IsValidForRead True
LogicalName msdyn_purchaseorderproductid
RequiredLevel SystemRequired
Type Uniqueidentifier

msdyn_QtyBilled

Property Value
Description Enter the quantity currently billed.
DisplayName Quantity Billed
IsValidForForm True
IsValidForRead True
LogicalName msdyn_qtybilled
RequiredLevel None
Type Double
ImeMode Auto
MaxValue 1000000000
MinValue 0
Precision 2

msdyn_QtyReceived

Property Value
Description Enter the quantity currently received.
DisplayName Quantity Received
IsValidForForm True
IsValidForRead True
LogicalName msdyn_qtyreceived
RequiredLevel None
Type Double
ImeMode Auto
MaxValue 1000000000
MinValue 0
Precision 2

msdyn_Quantity

Property Value
Description Enter the quantity ordered.
DisplayName Quantity
IsValidForForm True
IsValidForRead True
LogicalName msdyn_quantity
RequiredLevel ApplicationRequired
Type Double
ImeMode Auto
MaxValue 1000000000
MinValue 0
Precision 2

msdyn_TotalCost

Property Value
Description Shows the total cost of this product. This is calculated by (Unit Cost * Units) + Additional Cost + Commission Costs
DisplayName Total Cost
IsValidForForm True
IsValidForRead True
LogicalName msdyn_totalcost
RequiredLevel None
Type Money
ImeMode Disabled
IsBaseCurrency False
MaxValue 922337203685477
MinValue 0
Precision 2
PrecisionSource 1 (Organization.PricingDecimalPrecision)

msdyn_Unit

Property Value
Description Unit for this product
DisplayName Unit
IsValidForForm True
IsValidForRead True
LogicalName msdyn_unit
RequiredLevel ApplicationRequired
Type Lookup
Targets uom

msdyn_UnitCost

Property Value
Description Enter the cost of this product per unit.
DisplayName Unit Cost
IsValidForForm True
IsValidForRead True
LogicalName msdyn_unitcost
RequiredLevel None
Type Money
ImeMode Auto
IsBaseCurrency False
MaxValue 1000000000
MinValue 0
Precision 2
PrecisionSource 1 (Organization.PricingDecimalPrecision)

OverriddenCreatedOn

Property Value
Description Shows the date and time that the record was migrated.
DisplayName Record Created On
IsValidForForm False
IsValidForRead True
LogicalName overriddencreatedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

OwnerId

Property Value
Description Owner Id
DisplayName Owner
IsValidForForm True
IsValidForRead True
LogicalName ownerid
RequiredLevel SystemRequired
Type Owner
Targets systemuser, team

OwnerIdType

Property Value
Description Owner Id Type
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridtype
RequiredLevel SystemRequired
Type EntityName

statecode

Property Value
Description Status of the Purchase Order Product
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue
GlobalChoiceName msdyn_purchaseorderproduct_statecode

statecode Choices/Options

Value Details
0 Label: Active
DefaultStatus: 1
InvariantName: Active
1 Label: Inactive
DefaultStatus: 2
InvariantName: Inactive

statuscode

Property Value
Description Reason for the status of the Purchase Order Product
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status
DefaultFormValue
GlobalChoiceName msdyn_purchaseorderproduct_statuscode

statuscode Choices/Options

Value Details
1 Label: Active
State:0
TransitionData: None
2 Label: Inactive
State:1
TransitionData: None

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

TransactionCurrencyId

Property Value
Description Unique identifier of the currency associated with the entity.
DisplayName Currency
IsValidForForm True
IsValidForRead True
LogicalName transactioncurrencyid
RequiredLevel ApplicationRequired
Type Lookup
Targets transactioncurrency

UTCConversionTimeZoneCode

Property Value
Description Shows the time zone code that was in use when the record was created.
DisplayName UTC Conversion Time Zone Code
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

CreatedBy

Property Value
Description Unique identifier of the user who created the record.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel None
Type Lookup
Targets systemuser

CreatedOn

Property Value
Description Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

Property Value
Description Shows who created the record on behalf of another user.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

ExchangeRate

Property Value
Description Shows the exchange rate for the currency associated with the entity with respect to the base currency.
DisplayName Exchange Rate
IsValidForForm True
IsValidForRead True
LogicalName exchangerate
RequiredLevel None
Type Decimal
ImeMode Disabled
MaxValue 100000000000
MinValue 1E-10
Precision 10
SourceTypeMask 0

ModifiedBy

Property Value
Description Unique identifier of the user who modified the record.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedOn

Property Value
Description Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.
DisplayName Modified On
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

ModifiedOnBehalfBy

Property Value
Description Shows who last updated the record on behalf of another user.
DisplayName Modified By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

msdyn_totalcost_Base

Property Value
Description Shows the value of the total cost in the base currency.
DisplayName Total Cost (Base)
IsValidForForm True
IsValidForRead True
LogicalName msdyn_totalcost_base
RequiredLevel None
Type Money
ImeMode Disabled
IsBaseCurrency True
MaxValue 922337203685477
MinValue -922337203685477
Precision 2
PrecisionSource 1 (Organization.PricingDecimalPrecision)

msdyn_unitcost_Base

Property Value
Description Shows the value of the unit cost in the base currency.
DisplayName Unit Cost (Base)
IsValidForForm True
IsValidForRead True
LogicalName msdyn_unitcost_base
RequiredLevel None
Type Money
ImeMode Disabled
IsBaseCurrency True
MaxValue 922337203685477
MinValue -922337203685477
Precision 2
PrecisionSource 1 (Organization.PricingDecimalPrecision)

OwnerIdName

Property Value
Description Name of the owner
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridname
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

OwnerIdYomiName

Property Value
Description Yomi name of the owner
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridyominame
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

OwningBusinessUnit

Property Value
Description Unique identifier for the business unit that owns the record
DisplayName Owning Business Unit
IsValidForForm True
IsValidForRead True
LogicalName owningbusinessunit
RequiredLevel None
Type Lookup
Targets businessunit

OwningTeam

Property Value
Description Unique identifier for the team that owns the record.
DisplayName Owning Team
IsValidForForm False
IsValidForRead True
LogicalName owningteam
RequiredLevel None
Type Lookup
Targets team

OwningUser

Property Value
Description Unique identifier for the user that owns the record.
DisplayName Owning User
IsValidForForm False
IsValidForRead True
LogicalName owninguser
RequiredLevel None
Type Lookup
Targets systemuser

VersionNumber

Property Value
Description Version Number
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

msdyn_bookableresourcebooking_msdyn_purchaseorderproduct_AssociateToBooking

One-To-Many Relationship: bookableresourcebooking msdyn_bookableresourcebooking_msdyn_purchaseorderproduct_AssociateToBooking

Property Value
ReferencedEntity bookableresourcebooking
ReferencedAttribute bookableresourcebookingid
ReferencingAttribute msdyn_associatetobooking
ReferencingEntityNavigationPropertyName msdyn_associatetobooking
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

msdyn_msdyn_purchaseorder_msdyn_purchaseorderproduct_PurchaseOrder

One-To-Many Relationship: msdyn_purchaseorder msdyn_msdyn_purchaseorder_msdyn_purchaseorderproduct_PurchaseOrder

Property Value
ReferencedEntity msdyn_purchaseorder
ReferencedAttribute msdyn_purchaseorderid
ReferencingAttribute msdyn_purchaseorder
ReferencingEntityNavigationPropertyName msdyn_purchaseorder
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

msdyn_msdyn_warehouse_msdyn_purchaseorderproduct_AssociateToWarehouse

One-To-Many Relationship: msdyn_warehouse msdyn_msdyn_warehouse_msdyn_purchaseorderproduct_AssociateToWarehouse

Property Value
ReferencedEntity msdyn_warehouse
ReferencedAttribute msdyn_warehouseid
ReferencingAttribute msdyn_associatetowarehouse
ReferencingEntityNavigationPropertyName msdyn_associatetowarehouse
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

msdyn_msdyn_workorder_msdyn_purchaseorderproduct_AssociateToWorkOrder

One-To-Many Relationship: msdyn_workorder msdyn_msdyn_workorder_msdyn_purchaseorderproduct_AssociateToWorkOrder

Property Value
ReferencedEntity msdyn_workorder
ReferencedAttribute msdyn_workorderid
ReferencingAttribute msdyn_associatetoworkorder
ReferencingEntityNavigationPropertyName msdyn_associatetoworkorder
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

msdyn_product_msdyn_purchaseorderproduct_Product

One-To-Many Relationship: product msdyn_product_msdyn_purchaseorderproduct_Product

Property Value
ReferencedEntity product
ReferencedAttribute productid
ReferencingAttribute msdyn_product
ReferencingEntityNavigationPropertyName msdyn_product
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

msdyn_msdyn_purchaseorderproduct_msdyn_inventoryjournal_POProduct

Many-To-One Relationship: msdyn_inventoryjournal msdyn_msdyn_purchaseorderproduct_msdyn_inventoryjournal_POProduct

Property Value
ReferencingEntity msdyn_inventoryjournal
ReferencingAttribute msdyn_purchaseorderproduct
ReferencedEntityNavigationPropertyName msdyn_msdyn_purchaseorderproduct_msdyn_inventoryjournal_POProduct
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_purchaseorderproduct_msdyn_purchaseorderreceiptproduct_POProduct

Many-To-One Relationship: msdyn_purchaseorderreceiptproduct msdyn_msdyn_purchaseorderproduct_msdyn_purchaseorderreceiptproduct_POProduct

Property Value
ReferencingEntity msdyn_purchaseorderreceiptproduct
ReferencingAttribute msdyn_purchaseorderproduct
ReferencedEntityNavigationPropertyName msdyn_msdyn_purchaseorderproduct_msdyn_purchaseorderreceiptproduct_POProduct
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_purchaseorderproduct_msdyn_bookingalerts

Many-To-One Relationship: msdyn_bookingalert msdyn_purchaseorderproduct_msdyn_bookingalerts

Property Value
ReferencingEntity msdyn_bookingalert
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName msdyn_purchaseorderproduct_msdyn_bookingalerts
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference