cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CJ-Ahn
New Member

Collect function with a base enum value does not work to D365 FO

Hello,

I have a table in D365 FO cloud and there is a base enum type field in the table

= MyTable: Item(string), Qty(Number), Location(Base enum -> ASite: 0, BSite: 1, CSite: 2

 

When I use the function of Collect in power apps following, There is no error in both the current page and debug page.  

However actually, the record does not save to D365 FO.

= Collect(MyTable, {Item: "Apple", Qty: 5, Location:"ASite"} 

 

Next, when I use the Collect function without enum value following, it works well. 

= Collect(MyTable, {Item: "Apple", Qty: 5}

 

How do I need to save the enum value?

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @CJ-Ahn,

Have you solved your problem?

Do you mean that the enum type filed could not be saved to Dynamics instant?

 

Actually, I don't think Power Apps could recognize the enum type field and save data back.

I think you should go to Dynamics365 forum and check the following thread:

How can I add a value to a column that has an enum type - Microsoft Dynamics AX Forum Community Foru...

 

 

Best Regards,
Qi

View solution in original post

3 REPLIES 3
v-qiaqi-msft
Community Support
Community Support

Hi @CJ-Ahn,

Have you solved your problem?

Do you mean that the enum type filed could not be saved to Dynamics instant?

 

Actually, I don't think Power Apps could recognize the enum type field and save data back.

I think you should go to Dynamics365 forum and check the following thread:

How can I add a value to a column that has an enum type - Microsoft Dynamics AX Forum Community Foru...

 

 

Best Regards,
Qi

View solution in original post

CJ-Ahn
New Member

-

Thank you for your comment. However, I've not solved this issue yet So I just changed the column type from Enum(Int) to String so that I resolved that temporarily.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,042)