Hi,
I'm trying to create a record in Dynamics 365 F&O using Power Automate
(Fin & Ops connector) from a SharePoint list.
Entity: AssetConditionTableEntity
Field: Object (type: Int64, Nullable=False)
The error I get:
"A null value was found for the property named 'Object',
which has the expected type 'Edm.Int64[Nullable=False]'"
OR:
"Matching record with key 'Object':
5637145417
for the data source 'FunctionalLocationObject' does not exist"
My situation:
- SharePoint has the ObjectID as text (e.g. "SL-30")
- The Object field in the entity requires the RecId (Int64) not the text ID
- I tried using Lists items present in table on AssetsRentPrices
to get FunctionalLocation_FunctionalLocationId
- But I cannot find a way to get the RecId of the Object
Questions:
1. How can I get the RecId of an Asset Object using Power Automate?
2. Which entity should I query to get the RecId by ObjectID?
3. Is there a better approach to populate Object lookup fields
in AssetConditionTableEntity from SharePoint?
Thank you