Hello,
I'm trying to customize a model driven app and have Copy function to clone selected record values. It works great on all columns apart from 1 which is a lookup to Customers on the Accounts Table.
When I inspect the formula in Command Designer there is an message on Self.Selected.Item.Customer = This data type is unsupported for evaluation yet no error occur with executing, it just doesn't copy the value and record is blank.
What I can't understand, is I have another column 'Factory' which is also a lookup to Accounts table and works perfectly.
The 2 columns are set up slightly differently, with Customer being a lookup to Customer Data Type, and Factory being a lookup to the Accounts Table, then a filter applied to the Form to only show Factories.
i.e...
Factory column which copies data perfectly...
Customer column does not...
Why does this behave differently, and is there a solution, other than re-creating my Customer column as a Lookup?
Thanks for any help!
Hi @BDS1
The Customer column is "special" as it can be either an Account or a Contact. There is a customerid_type field that will identify if the value is an Account or Contact. If you don't need this field to be "either" (i.e. just an Account) then you would want to define the field as an Account table instead.
You might want to look at the following discussion around the Customer field in Power Automate as it might help you here (https://benediktbergmann.eu/2020/02/04/how-to-use-customer-field-in-power-automate/)
stampcoin
17
mmbr1606
15
Super User 2025 Season 1
ankit_singhal
11
Super User 2025 Season 1