Edit

Share via


Product Inventory (msdyn_productinventory) table/entity reference (Microsoft Dynamics 365 Field Service)

Inventory Record

Messages

The following table lists the messages for the Product Inventory (msdyn_productinventory) 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
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_productinventories
See Create
Create records
CreateMultiple
Event: True
CreateMultiple CreateMultipleRequest
Delete
Event: True
DELETE /msdyn_productinventories(msdyn_productinventoryid)
See Delete
Delete records
Disassociate
Event: True
Disassociate records Disassociate records
IsValidStateTransition
Event: False
IsValidStateTransition IsValidStateTransitionRequest
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_productinventories(msdyn_productinventoryid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /msdyn_productinventories
See Query data
Query data
RollbackRetain
Event: True
RollbackRetain Learn to use messages with the SDK for .NET
SetState
Event: True
PATCH /msdyn_productinventories(msdyn_productinventoryid)
Update the statecode and statuscode properties.
SetStateRequest
Update
Event: True
PATCH /msdyn_productinventories(msdyn_productinventoryid)
See Update
Update records
UpdateMultiple
Event: True
UpdateMultiple UpdateMultipleRequest
Upsert
Event: False
PATCH /msdyn_productinventories(msdyn_productinventoryid)
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 Product Inventory (msdyn_productinventory) table.

Property Value
DisplayName Product Inventory
DisplayCollectionName Product Inventory
SchemaName msdyn_productinventory
CollectionSchemaName msdyn_productinventories
EntitySetName msdyn_productinventories
LogicalName msdyn_productinventory
LogicalCollectionName msdyn_productinventories
PrimaryIdAttribute msdyn_productinventoryid
PrimaryNameAttribute msdyn_name
TableType Standard
OwnershipType OrganizationOwned

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_Bin

Property Value
Description
DisplayName Bin
IsValidForForm True
IsValidForRead True
LogicalName msdyn_bin
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

msdyn_InternalFlags

Property Value
Description For internal use only.
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_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 Unique identifier for Product/Service associated with Product Inventory.
DisplayName Product
IsValidForForm True
IsValidForRead True
LogicalName msdyn_product
RequiredLevel ApplicationRequired
Type Lookup
Targets product

msdyn_productinventoryId

Property Value
Description Shows the entity instances.
DisplayName Product Inventory
IsValidForForm False
IsValidForRead True
LogicalName msdyn_productinventoryid
RequiredLevel SystemRequired
Type Uniqueidentifier

msdyn_QtyAllocated

Property Value
Description
DisplayName Quantity Allocated
IsValidForForm True
IsValidForRead True
LogicalName msdyn_qtyallocated
RequiredLevel None
Type Double
ImeMode Auto
MaxValue 1000000000
MinValue 0
Precision 2

msdyn_QtyAvailable

Property Value
Description
DisplayName Quantity Available
IsValidForForm True
IsValidForRead True
LogicalName msdyn_qtyavailable
RequiredLevel None
Type Double
ImeMode Auto
MaxValue 1000000000
MinValue -1000000000
Precision 2

msdyn_QtyOnHand

Property Value
Description
DisplayName Quantity On Hand
IsValidForForm True
IsValidForRead True
LogicalName msdyn_qtyonhand
RequiredLevel None
Type Double
ImeMode Auto
MaxValue 1000000000
MinValue -1000000000
Precision 2

msdyn_QtyOnOrder

Property Value
Description
DisplayName Quantity On Order
IsValidForForm True
IsValidForRead True
LogicalName msdyn_qtyonorder
RequiredLevel None
Type Double
ImeMode Auto
MaxValue 1000000000
MinValue 0
Precision 2

msdyn_ReorderPoint

Property Value
Description
DisplayName Reorder Point
IsValidForForm True
IsValidForRead True
LogicalName msdyn_reorderpoint
RequiredLevel None
Type Double
ImeMode Auto
MaxValue 1000000000
MinValue 0
Precision 2

msdyn_Row

Property Value
Description
DisplayName Row
IsValidForForm True
IsValidForRead True
LogicalName msdyn_row
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

msdyn_Unit

Property Value
Description Unique identifier for Unit associated with Product Inventory.
DisplayName Unit
IsValidForForm True
IsValidForRead True
LogicalName msdyn_unit
RequiredLevel ApplicationRequired
Type Lookup
Targets uom

msdyn_Warehouse

Property Value
Description Unique identifier for Warehouse associated with Product Inventory.
DisplayName Warehouse
IsValidForForm True
IsValidForRead True
LogicalName msdyn_warehouse
RequiredLevel ApplicationRequired
Type Lookup
Targets msdyn_warehouse

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

statecode

Property Value
Description Status of the Product Inventory
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue
GlobalChoiceName msdyn_productinventory_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 Product Inventory
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status
DefaultFormValue
GlobalChoiceName msdyn_productinventory_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

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

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

OrganizationId

Property Value
Description Unique identifier for the organization
DisplayName Organization Id
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel None
Type Lookup
Targets organization

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_msdyn_warehouse_msdyn_productinventory_Warehouse

One-To-Many Relationship: msdyn_warehouse msdyn_msdyn_warehouse_msdyn_productinventory_Warehouse

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

msdyn_product_msdyn_productinventory_Product

One-To-Many Relationship: product msdyn_product_msdyn_productinventory_Product

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

One-to-Many relationships

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

msdyn_productinventory_msdyn_bookingalerts

Many-To-One Relationship: msdyn_bookingalert msdyn_productinventory_msdyn_bookingalerts

Property Value
ReferencingEntity msdyn_bookingalert
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName msdyn_productinventory_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